Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 107.8 kB / 16.36 MB, free: 6.285 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.001092/0.001092, allocations: 193.2 kB / 17.29 MB, free: 5.863 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002015/0.002015, allocations: 285.2 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9192/0.9192, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 98.56 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1617, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002554/0.1643, allocations: 1.445 MB / 0.683 GB, free: 6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006533/0.165, allocations: 387.5 kB / 0.6834 GB, free: 5.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.165, allocations: 4 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.165, allocations: 7.922 kB / 0.6834 GB, free: 5.605 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.469e-05/0.1651, allocations: 3.938 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003888/0.1655, allocations: 115.7 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.814e-05/0.1656, allocations: 19.92 kB / 0.6835 GB, free: 5.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.257e-05/0.1656, allocations: 8 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.1657, allocations: 11.94 kB / 0.6835 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.863e-05/0.1657, allocations: 15.92 kB / 0.6835 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.1657, allocations: 0 / 0.6835 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.1661, allocations: 279.6 kB / 0.6838 GB, free: 5.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.1661, allocations: 8 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.2e-05/0.1661, allocations: 11.92 kB / 0.6838 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1663, allocations: 107.7 kB / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1664, allocations: 0 / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1664, allocations: 0 / 0.6839 GB, free: 5.035 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1664, allocations: 4 kB / 0.6839 GB, free: 5.031 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.0004384/0.1668, allocations: 363.5 kB / 0.6843 GB, free: 4.625 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1669, allocations: 8.031 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.871e-05/0.1669, allocations: 0.9375 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.734e-05/0.167, allocations: 168.3 kB / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/0.167, allocations: 384 / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.167, allocations: 384 / 0.6845 GB, free: 4.414 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.1672, allocations: 58.11 kB / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.1672, allocations: 192 / 0.6845 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1673, allocations: 3.938 kB / 0.6845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1673, allocations: 8 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1674, allocations: 31.95 kB / 0.6845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.1677, allocations: 252.9 kB / 0.6848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1679, allocations: 46.42 kB / 0.6848 GB, free: 3.957 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.671e-05/0.1679, allocations: 36.83 kB / 0.6849 GB, free: 3.918 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006298/0.1686, allocations: 453.5 kB / 0.6853 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.093e-05/0.1686, allocations: 34.56 kB / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1686, allocations: 4 kB / 0.6853 GB, free: 3.336 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003217/0.169, allocations: 81.64 kB / 0.6854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.169, allocations: 51.41 kB / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.247e-05/0.1691, allocations: 101.9 kB / 0.6856 GB, free: 3.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1691, allocations: 25.83 kB / 0.6856 GB, free: 3.047 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.1691, allocations: 92.12 kB / 0.6857 GB, free: 2.953 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.1692, allocations: 7.891 kB / 0.6857 GB, free: 2.945 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.1692, allocations: 17.66 kB / 0.6857 GB, free: 2.922 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.645e-05/0.1693, allocations: 314.8 kB / 0.686 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.285e-05/0.1694, allocations: 19.97 kB / 0.686 GB, free: 2.586 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.178e-05/0.1694, allocations: 15.98 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1696, allocations: 40.89 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1696, allocations: 0 / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001817/0.1698, allocations: 69.59 kB / 0.6861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.1698, allocations: 4 kB / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1698, allocations: 0 / 0.6861 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1698, allocations: 4 kB / 0.6861 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.44e-05/0.1699, allocations: 12.02 kB / 0.6862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1699, allocations: 3.938 kB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.1699, allocations: 8.25 kB / 0.6862 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.17, allocations: 4 kB / 0.6862 GB, free: 2.418 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.538e-05/0.17, allocations: 117.8 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.1701, allocations: 3.906 kB / 0.6863 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.1703, allocations: 77.19 kB / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1703, allocations: 0 / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1703, allocations: 0 / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.1703, allocations: 0 / 0.6864 GB, free: 2.207 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001411/0.1705, allocations: 165.6 kB / 0.6865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1705, allocations: 0 / 0.6865 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.1705, allocations: 7.984 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1705, allocations: 0 / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.1705, allocations: 7.938 kB / 0.6865 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1705, allocations: 3.938 kB / 0.6865 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1706, allocations: 7.969 kB / 0.6865 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.1708, allocations: 163.5 kB / 0.6867 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.02e-05/0.1708, allocations: 77.11 kB / 0.6868 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.1708, allocations: 4 kB / 0.6868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.672e-05/0.1709, allocations: 3.984 kB / 0.6868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1709, allocations: 8.031 kB / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.171, allocations: 0 / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.392e-05/0.171, allocations: 83.28 kB / 0.6869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.171, allocations: 0 / 0.6869 GB, free: 1.602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.1712, allocations: 19.91 kB / 0.6869 GB, free: 1.582 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.0001458/0.1714, allocations: 111.2 kB / 0.687 GB, free: 1.465 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1716, allocations: 47.89 kB / 0.687 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1716, allocations: 0 / 0.687 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.367e-05/0.1717, allocations: 15.98 kB / 0.6871 GB, free: 1.402 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1719, allocations: 14.28 kB / 0.6871 GB, free: 1.391 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002403/0.1722, allocations: 113.5 kB / 0.6872 GB, free: 1.254 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.1724, allocations: 0.6768 MB / 0.6878 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.053e-05/0.1724, allocations: 128 / 0.6878 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1725, allocations: 15.44 kB / 0.6879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1725, allocations: 0 / 0.6879 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of Templates: time 0.2402/0.4127, allocations: 0.712 MB / 0.6886 GB, free: 17.78 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)