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.001015/0.001015, allocations: 102.8 kB / 16.36 MB, free: 6.469 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.00102/0.00102, allocations: 191.8 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 284.9 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.8891/0.8891, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 95.78 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1506, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.PowerLinearized): time 0.002457/0.1531, allocations: 1.439 MB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002452/0.1534, allocations: 84.66 kB / 0.6831 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.1534, allocations: 0 / 0.6831 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.1535, allocations: 3.938 kB / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.836e-05/0.1535, allocations: 11.92 kB / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1537, allocations: 11.98 kB / 0.6831 GB, free: 5.879 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.916e-05/0.1538, allocations: 27.92 kB / 0.6831 GB, free: 5.852 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1539, allocations: 8 kB / 0.6831 GB, free: 5.844 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.512e-05/0.1539, allocations: 15.92 kB / 0.6832 GB, free: 5.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.302e-05/0.154, allocations: 7.984 kB / 0.6832 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.154, allocations: 7.938 kB / 0.6832 GB, free: 5.812 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.533e-05/0.1541, allocations: 15.98 kB / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1541, allocations: 0 / 0.6832 GB, free: 5.797 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1541, allocations: 19.92 kB / 0.6832 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.872e-05/0.1542, allocations: 31.89 kB / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1542, allocations: 0 / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1542, allocations: 0 / 0.6832 GB, free: 5.746 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1542, allocations: 4 kB / 0.6832 GB, free: 5.742 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.0003832/0.1546, allocations: 339.4 kB / 0.6836 GB, free: 5.359 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.1547, allocations: 12.03 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001466/0.1548, allocations: 8.922 kB / 0.6836 GB, free: 5.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.585e-05/0.1549, allocations: 172.4 kB / 0.6838 GB, free: 5.133 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.224e-05/0.155, allocations: 8.297 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.155, allocations: 4.312 kB / 0.6838 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.1551, allocations: 58.23 kB / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.1552, allocations: 192 / 0.6838 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.1552, allocations: 3.938 kB / 0.6838 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1552, allocations: 4 kB / 0.6838 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001878/0.1554, allocations: 47.94 kB / 0.6839 GB, free: 5.004 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00039/0.1558, allocations: 264.9 kB / 0.6841 GB, free: 4.695 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001612/0.156, allocations: 54.42 kB / 0.6842 GB, free: 4.633 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.1561, allocations: 28.89 kB / 0.6842 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.1561, allocations: 4 kB / 0.6842 GB, free: 4.598 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1561, allocations: 34.56 kB / 0.6842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.1561, allocations: 0 / 0.6842 GB, free: 4.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003829/0.1565, allocations: 97.62 kB / 0.6843 GB, free: 4.453 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.1565, allocations: 63.47 kB / 0.6844 GB, free: 4.379 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.1566, allocations: 101.8 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1567, allocations: 29.7 kB / 0.6845 GB, free: 4.234 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.982e-05/0.1567, allocations: 88.08 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.1567, allocations: 3.906 kB / 0.6846 GB, free: 4.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.1568, allocations: 21.64 kB / 0.6846 GB, free: 4.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.1569, allocations: 314.8 kB / 0.6849 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.991e-05/0.157, allocations: 27.97 kB / 0.685 GB, free: 3.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.1571, allocations: 23.98 kB / 0.685 GB, free: 3.746 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.1573, allocations: 44.81 kB / 0.685 GB, free: 3.699 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1573, allocations: 0 / 0.685 GB, free: 3.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002209/0.1575, allocations: 89.64 kB / 0.6851 GB, free: 3.605 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.1575, allocations: 7.938 kB / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1575, allocations: 0 / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1575, allocations: 0 / 0.6851 GB, free: 3.598 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1576, allocations: 11.98 kB / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1577, allocations: 0 / 0.6851 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.778e-05/0.1577, allocations: 11.98 kB / 0.6851 GB, free: 3.574 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.1577, allocations: 0 / 0.6851 GB, free: 3.574 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 7.161e-05/0.1578, allocations: 117.8 kB / 0.6853 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.558e-05/0.1578, allocations: 7.906 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.1579, allocations: 7.516 kB / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1579, allocations: 0 / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1579, allocations: 0 / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.834e-06/0.1579, allocations: 0 / 0.6853 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001566/0.158, allocations: 177.6 kB / 0.6854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1581, allocations: 0 / 0.6854 GB, free: 3.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.472e-05/0.1581, allocations: 11.98 kB / 0.6855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1581, allocations: 4.25 kB / 0.6855 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1582, allocations: 3.938 kB / 0.6855 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.1582, allocations: 4 kB / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1582, allocations: 0 / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1584, allocations: 175.4 kB / 0.6856 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.1585, allocations: 81.09 kB / 0.6857 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.1585, allocations: 8.031 kB / 0.6857 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.1586, allocations: 7.984 kB / 0.6857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.1586, allocations: 4 kB / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.1586, allocations: 0 / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.693e-05/0.1587, allocations: 83.28 kB / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1587, allocations: 0 / 0.6858 GB, free: 2.801 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002094/0.1589, allocations: 4 kB / 0.6858 GB, free: 2.797 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 0.0001381/0.159, allocations: 111.2 kB / 0.6859 GB, free: 2.68 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.1593, allocations: 43.95 kB / 0.686 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1593, allocations: 0 / 0.686 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.745e-05/0.1594, allocations: 31.91 kB / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.1596, allocations: 15.88 kB / 0.686 GB, free: 2.59 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002881/0.1599, allocations: 125.6 kB / 0.6861 GB, free: 2.441 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1602, allocations: 0.6807 MB / 0.6868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.738e-05/0.1602, allocations: 0 / 0.6868 GB, free: 1.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.1602, allocations: 7.438 kB / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1602, allocations: 0 / 0.6868 GB, free: 1.727 MB / 494.1 MB Notification: Performance of Templates: time 0.002302/0.1625, allocations: 0.5823 MB / 0.6874 GB, free: 1.156 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 cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.PowerLinearized.pipe 2>&1)