Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.004877/0.004877, allocations: 101.7 kB / 15.73 MB, free: 5.992 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.001248/0.001248, allocations: 195.9 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.282/1.282, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.81/0.81, allocations: 143 MB / 433.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 61.09 kB / 0.5956 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1673, allocations: 82.03 MB / 0.6757 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001807/0.1692, allocations: 0.6008 MB / 0.6763 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000294/0.1695, allocations: 91.72 kB / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.714e-05/0.1695, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.1695, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.1696, allocations: 0 / 0.6763 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1698, allocations: 23.92 kB / 0.6764 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.462e-05/0.1699, allocations: 4 kB / 0.6764 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.1699, allocations: 3.984 kB / 0.6764 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.28e-05/0.17, allocations: 8 kB / 0.6764 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1701, allocations: 7.922 kB / 0.6764 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1701, allocations: 0 / 0.6764 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.892e-05/0.1702, allocations: 15.98 kB / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.1702, allocations: 0 / 0.6764 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1702, allocations: 4 kB / 0.6764 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.1703, allocations: 15.92 kB / 0.6764 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1703, allocations: 0 / 0.6764 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.625e-06/0.1703, allocations: 4 kB / 0.6764 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.1703, allocations: 3.938 kB / 0.6764 GB, free: 9.559 MB / 0.5137 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.0003803/0.1707, allocations: 319.9 kB / 0.6767 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1708, allocations: 8.031 kB / 0.6767 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001688/0.1709, allocations: 8.922 kB / 0.6767 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.1711, allocations: 160.4 kB / 0.6769 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.183e-05/0.1711, allocations: 12.36 kB / 0.6769 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.1711, allocations: 4.375 kB / 0.6769 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1712, allocations: 42.23 kB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1712, allocations: 4.125 kB / 0.677 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1713, allocations: 3.938 kB / 0.677 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1713, allocations: 4 kB / 0.677 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.74e-05/0.1714, allocations: 11.98 kB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1716, allocations: 149.7 kB / 0.6771 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.1718, allocations: 50.59 kB / 0.6772 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.381e-05/0.1718, allocations: 8.922 kB / 0.6772 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.1719, allocations: 7.969 kB / 0.6772 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.1719, allocations: 38.5 kB / 0.6772 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1719, allocations: 0 / 0.6772 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0002599/0.1721, allocations: 53.62 kB / 0.6773 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.1722, allocations: 59.39 kB / 0.6773 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.582e-05/0.1722, allocations: 89.86 kB / 0.6774 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.1724, allocations: 29.7 kB / 0.6774 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.779e-05/0.1724, allocations: 80.14 kB / 0.6775 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.1724, allocations: 11.84 kB / 0.6775 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.1725, allocations: 13.72 kB / 0.6775 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1727, allocations: 310.8 kB / 0.6778 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.061e-05/0.1727, allocations: 11.98 kB / 0.6779 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.1728, allocations: 8 kB / 0.6779 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001758/0.1729, allocations: 24.78 kB / 0.6779 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1729, allocations: 0 / 0.6779 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.1731, allocations: 53.58 kB / 0.6779 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.1731, allocations: 8 kB / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1731, allocations: 0 / 0.6779 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1731, allocations: 3.938 kB / 0.6779 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003715/0.1735, allocations: 43.94 kB / 0.678 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.1747, allocations: 1.405 MB / 0.6794 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.364e-05/0.1747, allocations: 8.031 kB / 0.6794 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.1747, allocations: 0 / 0.6794 GB, free: 6.184 MB / 0.5137 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.993e-05/0.1748, allocations: 114.4 kB / 0.6795 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.148e-06/0.1748, allocations: 8 kB / 0.6795 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.1749, allocations: 3.5 kB / 0.6795 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1749, allocations: 0 / 0.6795 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1749, allocations: 3.984 kB / 0.6795 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1749, allocations: 0 / 0.6795 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.175, allocations: 157.6 kB / 0.6796 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.175, allocations: 0 / 0.6796 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003349/0.1753, allocations: 51.92 kB / 0.6797 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.1753, allocations: 0 / 0.6797 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.1754, allocations: 3.938 kB / 0.6797 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.1766, allocations: 1.404 MB / 0.6811 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1766, allocations: 0 / 0.6811 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.1767, allocations: 73.17 kB / 0.6811 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.1767, allocations: 85.11 kB / 0.6812 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.512e-06/0.1767, allocations: 3.938 kB / 0.6812 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.1768, allocations: 4 kB / 0.6812 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.1768, allocations: 4 kB / 0.6812 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.1768, allocations: 0 / 0.6812 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.408e-05/0.1768, allocations: 75.28 kB / 0.6813 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1768, allocations: 0 / 0.6813 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001816/0.177, allocations: 4 kB / 0.6813 GB, free: 3.965 MB / 0.5137 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 0.0001371/0.1772, allocations: 105.7 kB / 0.6814 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.1777, allocations: 67.89 kB / 0.6815 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1777, allocations: 0 / 0.6815 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002172/0.1779, allocations: 39.95 kB / 0.6815 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001334/0.1781, allocations: 5.719 kB / 0.6815 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003148/0.1784, allocations: 96.92 kB / 0.6816 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.1786, allocations: 0.6729 MB / 0.6823 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.97e-05/0.1787, allocations: 11.94 kB / 0.6823 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.1787, allocations: 7.438 kB / 0.6823 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1787, allocations: 0 / 0.6823 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of Templates: time 0.002211/0.1809, allocations: 420.4 kB / 0.6827 GB, free: 2.492 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)