Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008394/0.008394, allocations: 103.1 kB / 15.73 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 191.3 kB / 16.67 MB, free: 5.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.696/1.696, allocations: 205.1 MB / 222.5 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6953/0.6953, allocations: 95.48 MB / 365.4 MB, free: 9.684 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.91 kB / 0.5036 GB, free: 13.47 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1446, allocations: 69.09 MB / 0.5711 GB, free: 8.316 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001864/0.1465, allocations: 0.5397 MB / 0.5716 GB, free: 7.777 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000294/0.1469, allocations: 91.73 kB / 0.5717 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.1469, allocations: 0 / 0.5717 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.1469, allocations: 0 / 0.5717 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.147, allocations: 4 kB / 0.5717 GB, free: 7.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002395/0.1472, allocations: 19.91 kB / 0.5717 GB, free: 7.664 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.791e-05/0.1473, allocations: 15.97 kB / 0.5718 GB, free: 7.648 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.097e-05/0.1474, allocations: 4 kB / 0.5718 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.476e-05/0.1474, allocations: 0 / 0.5718 GB, free: 7.645 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1475, allocations: 7.938 kB / 0.5718 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1476, allocations: 0 / 0.5718 GB, free: 7.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.1476, allocations: 15.98 kB / 0.5718 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.1477, allocations: 0 / 0.5718 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.1477, allocations: 0 / 0.5718 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.1478, allocations: 27.89 kB / 0.5718 GB, free: 7.594 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1478, allocations: 4 kB / 0.5718 GB, free: 7.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1478, allocations: 0 / 0.5718 GB, free: 7.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.1478, allocations: 3.938 kB / 0.5718 GB, free: 7.586 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003987/0.1482, allocations: 311.6 kB / 0.5721 GB, free: 7.234 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.1483, allocations: 19.97 kB / 0.5721 GB, free: 7.215 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.1484, allocations: 8.922 kB / 0.5721 GB, free: 7.207 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.1486, allocations: 168.3 kB / 0.5723 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.1486, allocations: 7.938 kB / 0.5723 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.312e-05/0.1486, allocations: 0 / 0.5723 GB, free: 6.996 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/0.1488, allocations: 41.97 kB / 0.5724 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1488, allocations: 0 / 0.5724 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.1488, allocations: 0 / 0.5724 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1488, allocations: 0 / 0.5724 GB, free: 6.949 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.306e-05/0.1489, allocations: 15.98 kB / 0.5724 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.1491, allocations: 161.6 kB / 0.5725 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1493, allocations: 38.61 kB / 0.5726 GB, free: 6.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.947e-05/0.1493, allocations: 16.84 kB / 0.5726 GB, free: 6.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.1494, allocations: 8 kB / 0.5726 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.1494, allocations: 30.56 kB / 0.5726 GB, free: 6.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1494, allocations: 0 / 0.5726 GB, free: 6.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002416/0.1496, allocations: 57.67 kB / 0.5727 GB, free: 6.551 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.1497, allocations: 51.41 kB / 0.5727 GB, free: 6.488 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.827e-05/0.1498, allocations: 89.86 kB / 0.5728 GB, free: 6.391 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.1498, allocations: 25.7 kB / 0.5728 GB, free: 6.359 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.116e-05/0.1498, allocations: 80.14 kB / 0.5729 GB, free: 6.277 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.1499, allocations: 11.81 kB / 0.5729 GB, free: 6.266 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.1499, allocations: 21.7 kB / 0.5729 GB, free: 6.238 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1501, allocations: 310.8 kB / 0.5732 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.343e-05/0.1501, allocations: 15.94 kB / 0.5732 GB, free: 5.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.1501, allocations: 7.984 kB / 0.5733 GB, free: 5.902 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.1502, allocations: 24.84 kB / 0.5733 GB, free: 5.875 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1502, allocations: 3.938 kB / 0.5733 GB, free: 5.871 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000108/0.1504, allocations: 45.69 kB / 0.5733 GB, free: 5.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1504, allocations: 4 kB / 0.5733 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1504, allocations: 0 / 0.5733 GB, free: 5.816 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.1504, allocations: 4 kB / 0.5733 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.1508, allocations: 40.27 kB / 0.5734 GB, free: 5.773 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.1522, allocations: 1.42 MB / 0.5748 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.548e-05/0.1522, allocations: 0 / 0.5748 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1522, allocations: 4.031 kB / 0.5748 GB, free: 4.207 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.384e-05/0.1523, allocations: 113.8 kB / 0.5749 GB, free: 4.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.1523, allocations: 3.938 kB / 0.5749 GB, free: 4.082 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.447e-05/0.1524, allocations: 3.5 kB / 0.5749 GB, free: 4.078 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1524, allocations: 7.938 kB / 0.5749 GB, free: 4.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1524, allocations: 4.062 kB / 0.5749 GB, free: 4.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1524, allocations: 3.938 kB / 0.5749 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.1525, allocations: 153.7 kB / 0.575 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1525, allocations: 0 / 0.575 GB, free: 3.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.1528, allocations: 39.94 kB / 0.5751 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1528, allocations: 4 kB / 0.5751 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1529, allocations: 7.984 kB / 0.5751 GB, free: 3.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.154, allocations: 1.404 MB / 0.5765 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1541, allocations: 0 / 0.5765 GB, free: 2.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.1542, allocations: 81.14 kB / 0.5765 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.1542, allocations: 77.11 kB / 0.5766 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.761e-06/0.1543, allocations: 0 / 0.5766 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.56e-05/0.1543, allocations: 4 kB / 0.5766 GB, free: 2.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1543, allocations: 8.016 kB / 0.5766 GB, free: 2.066 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1543, allocations: 0 / 0.5766 GB, free: 2.066 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.1544, allocations: 75.28 kB / 0.5767 GB, free: 1.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1544, allocations: 0 / 0.5767 GB, free: 1.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0001919/0.1546, allocations: 8 kB / 0.5767 GB, free: 1.984 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.1547, allocations: 99.25 kB / 0.5768 GB, free: 1.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000437/0.1552, allocations: 63.84 kB / 0.5769 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1552, allocations: 4 kB / 0.5769 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.1554, allocations: 39.95 kB / 0.5769 GB, free: 1.77 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1556, allocations: 3.938 kB / 0.5769 GB, free: 1.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003925/0.156, allocations: 92.91 kB / 0.577 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.1563, allocations: 0.6729 MB / 0.5777 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.132e-05/0.1563, allocations: 11.94 kB / 0.5777 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.1563, allocations: 11.42 kB / 0.5777 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1563, allocations: 0 / 0.5777 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of Templates: time 0.0028/0.1591, allocations: 412.4 kB / 0.5781 GB, free: 0.5234 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)