Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.004783/0.004782, allocations: 107.9 kB / 15.74 MB, free: 6.449 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.001168/0.001168, allocations: 196 kB / 16.67 MB, free: 6.355 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.225/1.225, allocations: 205.1 MB / 222.5 MB, free: 4.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 251.7 MB / 0.5094 GB, free: 3.125 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 68.47 kB / 0.7258 GB, free: 8.965 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 104.7 MB / 0.8281 GB, free: 168 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001392/0.1793, allocations: 0.5942 MB / 0.8287 GB, free: 15.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002552/0.1796, allocations: 95.72 kB / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.376e-05/0.1796, allocations: 7.938 kB / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.056e-05/0.1796, allocations: 0 / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.898e-05/0.1797, allocations: 0 / 0.8288 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1798, allocations: 19.92 kB / 0.8288 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.079e-05/0.1799, allocations: 11.98 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.925e-05/0.1799, allocations: 0 / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.658e-05/0.18, allocations: 4 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.18, allocations: 3.984 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.18, allocations: 0 / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.125e-05/0.1801, allocations: 15.98 kB / 0.8288 GB, free: 15.42 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.1801, allocations: 4 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.761e-05/0.1801, allocations: 3.938 kB / 0.8288 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.199e-05/0.1802, allocations: 19.97 kB / 0.8288 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1802, allocations: 0 / 0.8288 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1802, allocations: 0 / 0.8288 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.1802, allocations: 0 / 0.8288 GB, free: 15.39 MB / 0.6544 GB 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.0003058/0.1805, allocations: 323.8 kB / 0.8291 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1806, allocations: 8.031 kB / 0.8291 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.1807, allocations: 12.92 kB / 0.8292 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.446e-05/0.1808, allocations: 168.3 kB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1808, allocations: 384 / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.1808, allocations: 4.375 kB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.1809, allocations: 38.19 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.181, allocations: 192 / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-06/0.181, allocations: 3.938 kB / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.181, allocations: 0 / 0.8294 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.1811, allocations: 15.98 kB / 0.8294 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001262/0.1812, allocations: 157.7 kB / 0.8295 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.1813, allocations: 46.59 kB / 0.8296 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.1814, allocations: 12.8 kB / 0.8296 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1814, allocations: 7.938 kB / 0.8296 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.1814, allocations: 34.56 kB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1814, allocations: 4 kB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001888/0.1816, allocations: 57.61 kB / 0.8297 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.1817, allocations: 51.41 kB / 0.8297 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.835e-05/0.1817, allocations: 89.86 kB / 0.8298 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.1817, allocations: 25.7 kB / 0.8298 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.89e-05/0.1817, allocations: 80.14 kB / 0.8299 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1818, allocations: 15.89 kB / 0.8299 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.1818, allocations: 17.72 kB / 0.83 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.1819, allocations: 310.8 kB / 0.8303 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.792e-05/0.1819, allocations: 11.94 kB / 0.8303 GB, free: 13.71 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.763e-05/0.182, allocations: 7.984 kB / 0.8303 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.909e-05/0.1821, allocations: 21.12 kB / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1821, allocations: 0 / 0.8303 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001031/0.1822, allocations: 49.67 kB / 0.8303 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.507e-06/0.1822, allocations: 4 kB / 0.8303 GB, free: 13.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.1822, allocations: 8 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1822, allocations: 3.938 kB / 0.8304 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/0.1825, allocations: 43.92 kB / 0.8304 GB, free: 13.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.1837, allocations: 1.4 MB / 0.8318 GB, free: 12.02 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.1837, allocations: 8.016 kB / 0.8318 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.1837, allocations: 0 / 0.8318 GB, free: 12.01 MB / 0.6544 GB 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 6.696e-05/0.1838, allocations: 113.8 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.1838, allocations: 4 kB / 0.8319 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.1838, allocations: 7.562 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.1838, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1839, allocations: 0 / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.1839, allocations: 3.938 kB / 0.8319 GB, free: 11.88 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.327e-05/0.184, allocations: 161.5 kB / 0.832 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.184, allocations: 0 / 0.832 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003104/0.1843, allocations: 51.92 kB / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1843, allocations: 0 / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1843, allocations: 0 / 0.8321 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001017/0.1853, allocations: 1.404 MB / 0.8335 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1853, allocations: 0 / 0.8335 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001148/0.1855, allocations: 77.22 kB / 0.8335 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.1855, allocations: 85.11 kB / 0.8336 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-06/0.1855, allocations: 3.938 kB / 0.8336 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.625e-05/0.1855, allocations: 3.984 kB / 0.8336 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.1856, allocations: 0 / 0.8336 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.1856, allocations: 4 kB / 0.8336 GB, free: 9.867 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.014e-05/0.1856, allocations: 83.22 kB / 0.8337 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.1856, allocations: 0 / 0.8337 GB, free: 9.785 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001809/0.1858, allocations: 4 kB / 0.8337 GB, free: 9.781 MB / 0.6544 GB 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 9.732e-05/0.1859, allocations: 95.25 kB / 0.8338 GB, free: 9.676 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003962/0.1863, allocations: 71.84 kB / 0.8339 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.1863, allocations: 0 / 0.8339 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.1865, allocations: 39.95 kB / 0.8339 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001207/0.1867, allocations: 9.203 kB / 0.8339 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002401/0.1869, allocations: 108 kB / 0.834 GB, free: 9.434 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002035/0.1871, allocations: 0.669 MB / 0.8347 GB, free: 8.738 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.1872, allocations: 7.984 kB / 0.8347 GB, free: 8.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.1872, allocations: 7.438 kB / 0.8347 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.1872, allocations: 0 / 0.8347 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of Templates: time 0.002/0.1892, allocations: 428.3 kB / 0.8351 GB, free: 8.305 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)