Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") translateModel(BuildingSystems.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 108 kB / 16.37 MB, free: 6.477 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.001214/0.001214, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.286/1.286, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002107/0.002107, allocations: 269.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.932/0.932, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 101.1 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1491, allocations: 86.97 MB / 0.6816 GB, free: 7.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002394/0.1516, allocations: 1.427 MB / 0.683 GB, free: 6.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002736/0.1518, allocations: 88.64 kB / 0.6831 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.1519, allocations: 0 / 0.6831 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.1519, allocations: 3.938 kB / 0.6831 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.635e-05/0.152, allocations: 11.92 kB / 0.6831 GB, free: 5.926 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001998/0.1522, allocations: 15.98 kB / 0.6831 GB, free: 5.91 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.402e-05/0.1523, allocations: 27.86 kB / 0.6831 GB, free: 5.883 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1524, allocations: 8 kB / 0.6831 GB, free: 5.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.117e-05/0.1524, allocations: 11.98 kB / 0.6832 GB, free: 5.863 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.1525, allocations: 7.938 kB / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1525, allocations: 8 kB / 0.6832 GB, free: 5.848 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.1526, allocations: 15.98 kB / 0.6832 GB, free: 5.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.1526, allocations: 7.984 kB / 0.6832 GB, free: 5.824 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.1526, allocations: 15.92 kB / 0.6832 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.1527, allocations: 27.89 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1527, allocations: 4 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1527, allocations: 0 / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1528, allocations: 0 / 0.6832 GB, free: 5.777 MB / 494.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.0004318/0.1532, allocations: 343.4 kB / 0.6836 GB, free: 5.391 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.1532, allocations: 15.97 kB / 0.6836 GB, free: 5.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.1534, allocations: 12.92 kB / 0.6836 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1535, allocations: 160.4 kB / 0.6838 GB, free: 5.168 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1536, allocations: 4.375 kB / 0.6838 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.1536, allocations: 4.375 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.1538, allocations: 58.22 kB / 0.6838 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1538, allocations: 4.172 kB / 0.6838 GB, free: 5.094 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1538, allocations: 7.875 kB / 0.6838 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1538, allocations: 4 kB / 0.6838 GB, free: 5.082 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001839/0.154, allocations: 47.95 kB / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1544, allocations: 264.8 kB / 0.6841 GB, free: 4.727 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.1546, allocations: 58.48 kB / 0.6842 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.704e-05/0.1547, allocations: 32.89 kB / 0.6842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.1547, allocations: 0 / 0.6842 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.1547, allocations: 30.56 kB / 0.6842 GB, free: 4.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1547, allocations: 0 / 0.6842 GB, free: 4.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003918/0.1551, allocations: 113.5 kB / 0.6844 GB, free: 4.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.1552, allocations: 51.41 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.563e-05/0.1552, allocations: 105.8 kB / 0.6845 GB, free: 4.293 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.1553, allocations: 25.7 kB / 0.6845 GB, free: 4.262 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/0.1553, allocations: 88.08 kB / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.1553, allocations: 7.906 kB / 0.6846 GB, free: 4.164 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.1554, allocations: 9.719 kB / 0.6846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1555, allocations: 319 kB / 0.6849 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.216e-05/0.1556, allocations: 23.98 kB / 0.685 GB, free: 3.805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.223e-05/0.1557, allocations: 23.97 kB / 0.685 GB, free: 3.781 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.1558, allocations: 52.81 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1558, allocations: 4.062 kB / 0.685 GB, free: 3.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.1561, allocations: 85.52 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.1561, allocations: 8 kB / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1561, allocations: 0 / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.1561, allocations: 0 / 0.6851 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.519e-05/0.1562, allocations: 11.98 kB / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.1562, allocations: 0 / 0.6851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.74e-05/0.1563, allocations: 12.02 kB / 0.6851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.1563, allocations: 0 / 0.6851 GB, free: 3.602 MB / 494.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 (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 6.907e-05/0.1564, allocations: 113.8 kB / 0.6853 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1564, allocations: 7.906 kB / 0.6853 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.1564, allocations: 3.531 kB / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.1564, allocations: 0 / 0.6853 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1564, allocations: 4 kB / 0.6853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.1564, allocations: 0 / 0.6853 GB, free: 3.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.1566, allocations: 165.6 kB / 0.6854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1566, allocations: 7.938 kB / 0.6854 GB, free: 3.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.531e-05/0.1567, allocations: 15.98 kB / 0.6854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1567, allocations: 0 / 0.6854 GB, free: 3.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.937e-06/0.1567, allocations: 4.25 kB / 0.6855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1567, allocations: 3.984 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1567, allocations: 7.984 kB / 0.6855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.157, allocations: 179.4 kB / 0.6856 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.157, allocations: 77.11 kB / 0.6857 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.157, allocations: 3.984 kB / 0.6857 GB, free: 2.926 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.053e-05/0.1571, allocations: 4 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1572, allocations: 7.984 kB / 0.6857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.1572, allocations: 0 / 0.6857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.734e-05/0.1572, allocations: 83.28 kB / 0.6858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1572, allocations: 0 / 0.6858 GB, free: 2.832 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002058/0.1574, allocations: 8.031 kB / 0.6858 GB, free: 2.824 MB / 494.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 (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 8.733e-05/0.1575, allocations: 99.19 kB / 0.6859 GB, free: 2.719 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.1578, allocations: 59.88 kB / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1578, allocations: 0 / 0.686 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.385e-05/0.1579, allocations: 28.05 kB / 0.686 GB, free: 2.633 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002157/0.1581, allocations: 7.922 kB / 0.686 GB, free: 2.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1584, allocations: 129.5 kB / 0.6861 GB, free: 2.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1586, allocations: 0.6768 MB / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.458e-05/0.1586, allocations: 0 / 0.6868 GB, free: 1.77 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.1587, allocations: 15.5 kB / 0.6868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1587, allocations: 0 / 0.6868 GB, free: 1.754 MB / 494.1 MB Notification: Performance of Templates: time 0.002183/0.1609, allocations: 0.5793 MB / 0.6874 GB, free: 1.188 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)