Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005873/0.005873, allocations: 102.4 kB / 15.73 MB, free: 6.438 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.001231/0.001232, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 290.9 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 99.84 kB / 0.6815 GB, free: 15.41 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1713, allocations: 86.97 MB / 0.7664 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001568/0.1729, allocations: 0.5838 MB / 0.767 GB, free: 7.773 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002756/0.1732, allocations: 87.72 kB / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.1732, allocations: 0 / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.133e-05/0.1732, allocations: 0 / 0.7671 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.139e-05/0.1733, allocations: 4 kB / 0.7671 GB, free: 7.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1735, allocations: 27.84 kB / 0.7671 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.69e-05/0.1735, allocations: 7.938 kB / 0.7671 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.385e-05/0.1736, allocations: 8 kB / 0.7671 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.797e-05/0.1736, allocations: 7.984 kB / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.1737, allocations: 0 / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1737, allocations: 0 / 0.7671 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 5.495e-05/0.1737, allocations: 15.98 kB / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.113e-05/0.1738, allocations: 0 / 0.7672 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1738, allocations: 11.94 kB / 0.7672 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.008e-05/0.1739, allocations: 15.97 kB / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1739, allocations: 0 / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1739, allocations: 0 / 0.7672 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1739, allocations: 0 / 0.7672 GB, free: 7.59 MB / 0.5606 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.0003182/0.1742, allocations: 319.6 kB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1743, allocations: 8.031 kB / 0.7675 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.1744, allocations: 8.922 kB / 0.7675 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.729e-05/0.1745, allocations: 164.3 kB / 0.7677 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/0.1746, allocations: 12.38 kB / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.1746, allocations: 384 / 0.7677 GB, free: 7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.1747, allocations: 42.17 kB / 0.7677 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1747, allocations: 4.172 kB / 0.7677 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1747, allocations: 3.938 kB / 0.7677 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1747, allocations: 4 kB / 0.7677 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.1748, allocations: 11.98 kB / 0.7677 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001407/0.175, allocations: 153.6 kB / 0.7679 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.1751, allocations: 46.59 kB / 0.7679 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.1752, allocations: 8.922 kB / 0.7679 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1752, allocations: 0 / 0.7679 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.1752, allocations: 42.48 kB / 0.768 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 2.104e-06/0.1753, allocations: 0 / 0.768 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0001988/0.1755, allocations: 61.56 kB / 0.768 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.1755, allocations: 51.41 kB / 0.7681 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/0.1755, allocations: 93.84 kB / 0.7682 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1756, allocations: 29.7 kB / 0.7682 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.156e-05/0.1756, allocations: 80.14 kB / 0.7683 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/0.1756, allocations: 7.906 kB / 0.7683 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-05/0.1757, allocations: 13.72 kB / 0.7683 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.1758, allocations: 314.8 kB / 0.7686 GB, free: 5.922 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.598e-05/0.1758, allocations: 11.98 kB / 0.7686 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.1758, allocations: 7.938 kB / 0.7686 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.614e-05/0.1759, allocations: 20.84 kB / 0.7686 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1759, allocations: 3.938 kB / 0.7686 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001099/0.1761, allocations: 45.69 kB / 0.7687 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1761, allocations: 8 kB / 0.7687 GB, free: 5.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1761, allocations: 3.984 kB / 0.7687 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1761, allocations: 7.938 kB / 0.7687 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.1765, allocations: 39.94 kB / 0.7687 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.1777, allocations: 1.405 MB / 0.7701 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.1778, allocations: 3.984 kB / 0.7701 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1778, allocations: 4 kB / 0.7701 GB, free: 4.219 MB / 0.5606 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.788e-05/0.1779, allocations: 114.4 kB / 0.7702 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-06/0.1779, allocations: 4 kB / 0.7702 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.1779, allocations: 3.5 kB / 0.7702 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1779, allocations: 0 / 0.7702 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.1779, allocations: 4.062 kB / 0.7702 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1779, allocations: 3.984 kB / 0.7702 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.202e-05/0.178, allocations: 153.6 kB / 0.7704 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.178, allocations: 0 / 0.7704 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003712/0.1784, allocations: 51.86 kB / 0.7704 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1784, allocations: 4 kB / 0.7704 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1784, allocations: 0 / 0.7704 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.1795, allocations: 1.405 MB / 0.7718 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1795, allocations: 0 / 0.7718 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.1796, allocations: 73.19 kB / 0.7719 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.1797, allocations: 85.09 kB / 0.772 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.1797, allocations: 7.938 kB / 0.772 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.654e-05/0.1797, allocations: 3.938 kB / 0.772 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.724e-05/0.1798, allocations: 4 kB / 0.772 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.1798, allocations: 0 / 0.772 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.183e-05/0.1798, allocations: 75.28 kB / 0.7721 GB, free: 2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1798, allocations: 0 / 0.7721 GB, free: 2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000194/0.18, allocations: 8 kB / 0.7721 GB, free: 1.992 MB / 0.5606 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.0001074/0.1801, allocations: 99.23 kB / 0.7722 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.1806, allocations: 71.77 kB / 0.7722 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.1806, allocations: 0 / 0.7722 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.1808, allocations: 39.95 kB / 0.7723 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.181, allocations: 0 / 0.7723 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003107/0.1813, allocations: 95.42 kB / 0.7724 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.1815, allocations: 0.6847 MB / 0.773 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.1815, allocations: 3.984 kB / 0.773 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.1816, allocations: 7.438 kB / 0.773 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.1816, allocations: 0 / 0.773 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Templates: time 0.002114/0.1837, allocations: 433 kB / 0.7734 GB, free: 0.5156 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1)