Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7345/0.7345, allocations: 128.7 MB / 144.5 MB, free: 1.375 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 186.6 kB / 174.2 MB, free: 5.945 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205 MB / 408.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001088, allocations: 98.28 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 57.02 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1693, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized): time 0.002889/0.1723, allocations: 1.503 MB / 0.6331 GB, free: 31.52 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.1727, allocations: 87.81 kB / 0.6332 GB, free: 31.43 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.584e-05/0.1727, allocations: 7.938 kB / 0.6332 GB, free: 31.42 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.886e-05/0.1728, allocations: 3.938 kB / 0.6332 GB, free: 31.42 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.013e-05/0.1729, allocations: 0 / 0.6332 GB, free: 31.42 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1731, allocations: 11.98 kB / 0.6332 GB, free: 31.41 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.756e-05/0.1732, allocations: 27.92 kB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.1733, allocations: 4 kB / 0.6333 GB, free: 31.38 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.751e-05/0.1734, allocations: 19.91 kB / 0.6333 GB, free: 31.36 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.5e-05/0.1734, allocations: 11.94 kB / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1734, allocations: 0 / 0.6333 GB, free: 31.34 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.888e-05/0.1735, allocations: 11.98 kB / 0.6333 GB, free: 31.33 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.1735, allocations: 7.984 kB / 0.6333 GB, free: 31.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.1736, allocations: 11.88 kB / 0.6333 GB, free: 31.31 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.1737, allocations: 35.89 kB / 0.6334 GB, free: 31.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1737, allocations: 0 / 0.6334 GB, free: 31.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1737, allocations: 4 kB / 0.6334 GB, free: 31.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1737, allocations: 0 / 0.6334 GB, free: 31.27 MB / 442.7 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.0004676/0.1742, allocations: 343.7 kB / 0.6337 GB, free: 30.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.1743, allocations: 8.031 kB / 0.6337 GB, free: 30.88 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1745, allocations: 12.92 kB / 0.6337 GB, free: 30.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1746, allocations: 172.3 kB / 0.6339 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.1746, allocations: 384 / 0.6339 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.1746, allocations: 384 / 0.6339 GB, free: 30.66 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002071/0.1748, allocations: 66.22 kB / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1749, allocations: 192 / 0.6339 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.1749, allocations: 3.938 kB / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1749, allocations: 0 / 0.634 GB, free: 30.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001966/0.1751, allocations: 51.89 kB / 0.634 GB, free: 30.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.1754, allocations: 261 kB / 0.6343 GB, free: 30.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1756, allocations: 54.48 kB / 0.6343 GB, free: 30.17 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.496e-05/0.1757, allocations: 28.89 kB / 0.6343 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.1757, allocations: 0 / 0.6343 GB, free: 30.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.1757, allocations: 38.56 kB / 0.6344 GB, free: 30.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1757, allocations: 0 / 0.6344 GB, free: 30.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.000374/0.1761, allocations: 101.6 kB / 0.6345 GB, free: 29.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.1761, allocations: 51.41 kB / 0.6345 GB, free: 29.92 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.382e-05/0.1762, allocations: 105.8 kB / 0.6346 GB, free: 29.81 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.1762, allocations: 29.64 kB / 0.6346 GB, free: 29.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.1763, allocations: 92.27 kB / 0.6347 GB, free: 29.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.688e-05/0.1763, allocations: 3.906 kB / 0.6347 GB, free: 29.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.977e-05/0.1763, allocations: 13.72 kB / 0.6347 GB, free: 29.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.1764, allocations: 318.8 kB / 0.6351 GB, free: 29.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.329e-05/0.1765, allocations: 19.98 kB / 0.6351 GB, free: 29.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.519e-05/0.1766, allocations: 27.91 kB / 0.6351 GB, free: 29.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1767, allocations: 52.88 kB / 0.6351 GB, free: 29.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1767, allocations: 3.938 kB / 0.6352 GB, free: 29.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002061/0.177, allocations: 85.58 kB / 0.6352 GB, free: 29.14 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.177, allocations: 4 kB / 0.6352 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.177, allocations: 4.031 kB / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.177, allocations: 0 / 0.6352 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.1771, allocations: 11.98 kB / 0.6353 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1771, allocations: 0 / 0.6353 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.574e-05/0.1772, allocations: 11.98 kB / 0.6353 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.483e-06/0.1772, allocations: 0 / 0.6353 GB, free: 29.11 MB / 442.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.1773, allocations: 113.8 kB / 0.6354 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.27e-05/0.1773, allocations: 3.906 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.1773, allocations: 11.53 kB / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1774, allocations: 0 / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1774, allocations: 256 / 0.6354 GB, free: 28.98 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1774, allocations: 3.984 kB / 0.6354 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1775, allocations: 173.6 kB / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.1775, allocations: 0 / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.932e-05/0.1776, allocations: 7.984 kB / 0.6356 GB, free: 28.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1776, allocations: 7.938 kB / 0.6356 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.385e-06/0.1776, allocations: 0 / 0.6356 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1776, allocations: 3.984 kB / 0.6356 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/0.1776, allocations: 7.984 kB / 0.6356 GB, free: 28.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004436/0.1781, allocations: 0.7435 MB / 0.6363 GB, free: 27.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.1781, allocations: 88.98 kB / 0.6364 GB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.295e-05/0.1781, allocations: 0 / 0.6364 GB, free: 27.82 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.304e-05/0.1782, allocations: 7.984 kB / 0.6364 GB, free: 27.81 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1783, allocations: 4 kB / 0.6364 GB, free: 27.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.1783, allocations: 3.938 kB / 0.6364 GB, free: 27.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.407e-05/0.1783, allocations: 91.2 kB / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1783, allocations: 0 / 0.6365 GB, free: 27.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002993/0.1786, allocations: 8 kB / 0.6365 GB, free: 27.71 MB / 442.7 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001192/0.1787, allocations: 99.25 kB / 0.6366 GB, free: 27.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0002392/0.179, allocations: 47.95 kB / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.179, allocations: 0 / 0.6366 GB, free: 27.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.915e-05/0.1791, allocations: 31.91 kB / 0.6367 GB, free: 27.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.1794, allocations: 1.719 kB / 0.6367 GB, free: 27.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.1797, allocations: 230.4 kB / 0.6369 GB, free: 27.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.1799, allocations: 0.6731 MB / 0.6376 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.1799, allocations: 7.922 kB / 0.6376 GB, free: 26.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.888e-05/0.1799, allocations: 11.44 kB / 0.6376 GB, free: 26.54 MB / 442.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1799, allocations: 4 kB / 0.6376 GB, free: 26.53 MB / 442.7 MB Notification: Performance of Templates: time 0.002218/0.1822, allocations: 0.5149 MB / 0.6381 GB, free: 26.02 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)