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.001332/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001228/0.001228, allocations: 193.2 kB / 16.14 MB, free: 6.707 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00196/0.00196, allocations: 286.4 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9432/0.9432, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001634/0.001634, allocations: 98.08 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1547, allocations: 86.99 MB / 0.6794 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.003129/0.1579, allocations: 1.497 MB / 0.6809 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007713/0.1587, allocations: 413.4 kB / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.1587, allocations: 0 / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.646e-05/0.1588, allocations: 0 / 0.6813 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.877e-05/0.1588, allocations: 11.86 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.1591, allocations: 83.14 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.082e-05/0.1592, allocations: 23.88 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.996e-05/0.1593, allocations: 4 kB / 0.6814 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.591e-05/0.1593, allocations: 7.984 kB / 0.6814 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.1594, allocations: 15.92 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1594, allocations: 4.688 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003332/0.1597, allocations: 267.7 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.1598, allocations: 4.875 kB / 0.6817 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.1598, allocations: 11.92 kB / 0.6817 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.16, allocations: 104.8 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.16, allocations: 7.984 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.16, allocations: 1.344 kB / 0.6818 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.207e-06/0.16, allocations: 0 / 0.6818 GB, free: 14.77 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.0004546/0.1605, allocations: 363.4 kB / 0.6822 GB, free: 14.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.1605, allocations: 12.03 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.063e-05/0.1606, allocations: 0.9375 kB / 0.6822 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.1607, allocations: 168.3 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.1607, allocations: 8.297 kB / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.696e-06/0.1607, allocations: 384 / 0.6823 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1609, allocations: 50.19 kB / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1609, allocations: 192 / 0.6824 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1609, allocations: 7.922 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1609, allocations: 4 kB / 0.6824 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.1611, allocations: 31.97 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1614, allocations: 260.9 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1616, allocations: 42.44 kB / 0.6827 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.478e-05/0.1617, allocations: 20.91 kB / 0.6827 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000678/0.1624, allocations: 461.5 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.1624, allocations: 34.56 kB / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.1624, allocations: 0 / 0.6832 GB, free: 13.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003732/0.1628, allocations: 85.64 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.1628, allocations: 51.41 kB / 0.6833 GB, free: 12.92 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.1629, allocations: 109.8 kB / 0.6835 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.1629, allocations: 25.83 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.163, allocations: 92.08 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.163, allocations: 3.906 kB / 0.6836 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.163, allocations: 13.72 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1631, allocations: 318.8 kB / 0.6839 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-05/0.1632, allocations: 15.98 kB / 0.6839 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.083e-05/0.1633, allocations: 15.98 kB / 0.6839 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1635, allocations: 44.88 kB / 0.684 GB, free: 12.26 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1635, allocations: 3.938 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001978/0.1637, allocations: 65.61 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1637, allocations: 4 kB / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1637, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1637, allocations: 0 / 0.684 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.519e-05/0.1638, allocations: 19.95 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1638, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1639, allocations: 7.984 kB / 0.6841 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1639, allocations: 0 / 0.6841 GB, free: 12.15 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 8.366e-05/0.164, allocations: 119.1 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.164, allocations: 7.844 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.1643, allocations: 77.19 kB / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1643, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1643, allocations: 0 / 0.6843 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1643, allocations: 3.984 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.1644, allocations: 161.6 kB / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1645, allocations: 0 / 0.6844 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.1645, allocations: 7.984 kB / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1645, allocations: 0 / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.1645, allocations: 0 / 0.6844 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1645, allocations: 7.938 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1646, allocations: 4.031 kB / 0.6844 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1648, allocations: 163.5 kB / 0.6846 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.211e-05/0.1649, allocations: 81.02 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.1649, allocations: 0 / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.369e-05/0.165, allocations: 7.984 kB / 0.6847 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.165, allocations: 8.031 kB / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.165, allocations: 0 / 0.6847 GB, free: 11.42 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.823e-05/0.1651, allocations: 91.52 kB / 0.6848 GB, free: 11.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1651, allocations: 0 / 0.6848 GB, free: 11.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1653, allocations: 12 kB / 0.6848 GB, free: 11.32 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.0001618/0.1655, allocations: 111.2 kB / 0.6849 GB, free: 11.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1657, allocations: 47.89 kB / 0.6849 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1657, allocations: 0 / 0.6849 GB, free: 11.15 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.1658, allocations: 19.98 kB / 0.6849 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.166, allocations: 3.938 kB / 0.685 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.1663, allocations: 126.1 kB / 0.6851 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.1665, allocations: 0.6772 MB / 0.6857 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.138e-05/0.1666, allocations: 4 kB / 0.6857 GB, free: 10.28 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.83e-05/0.1666, allocations: 11.44 kB / 0.6857 GB, free: 10.27 MB / 494.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1666, allocations: 3.938 kB / 0.6858 GB, free: 10.26 MB / 494.1 MB Notification: Performance of Templates: time 0.002409/0.169, allocations: 0.6485 MB / 0.6864 GB, free: 9.617 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)