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.0009727/0.0009728, allocations: 106.9 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.0008895/0.0008895, allocations: 193.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.228/1.228, 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.002013/0.002013, allocations: 289 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8858/0.8858, allocations: 169.3 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 94.95 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1483, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002383/0.1507, allocations: 1.435 MB / 0.683 GB, free: 5.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000607/0.1514, allocations: 383.5 kB / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.1514, allocations: 0 / 0.6834 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.478e-05/0.1514, allocations: 3.938 kB / 0.6834 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.241e-05/0.1515, allocations: 7.984 kB / 0.6834 GB, free: 5.602 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.1518, allocations: 118.5 kB / 0.6835 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.505e-05/0.1519, allocations: 27.86 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.164e-05/0.152, allocations: 4 kB / 0.6835 GB, free: 5.457 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.146e-05/0.152, allocations: 11.98 kB / 0.6835 GB, free: 5.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.1521, allocations: 15.92 kB / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.959e-06/0.1521, allocations: 0 / 0.6836 GB, free: 5.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.1524, allocations: 279.7 kB / 0.6838 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.868e-06/0.1524, allocations: 4 kB / 0.6838 GB, free: 5.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.1525, allocations: 15.92 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.1526, allocations: 107.7 kB / 0.6839 GB, free: 5.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1526, allocations: 3.984 kB / 0.6839 GB, free: 5.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1526, allocations: 0 / 0.6839 GB, free: 5.027 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1527, allocations: 0 / 0.6839 GB, free: 5.027 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.0003873/0.153, allocations: 355.5 kB / 0.6843 GB, free: 4.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1531, allocations: 11.97 kB / 0.6843 GB, free: 4.617 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.571e-05/0.1531, allocations: 12.88 kB / 0.6843 GB, free: 4.605 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.647e-05/0.1532, allocations: 172.3 kB / 0.6845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.1533, allocations: 384 / 0.6845 GB, free: 4.398 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1533, allocations: 4.375 kB / 0.6845 GB, free: 4.395 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1534, allocations: 50.19 kB / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1534, allocations: 192 / 0.6845 GB, free: 4.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1534, allocations: 7.922 kB / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1535, allocations: 0 / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1536, allocations: 31.97 kB / 0.6846 GB, free: 4.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1539, allocations: 256.9 kB / 0.6848 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001109/0.154, allocations: 38.5 kB / 0.6848 GB, free: 3.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.812e-05/0.1541, allocations: 20.91 kB / 0.6849 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006237/0.1547, allocations: 469.4 kB / 0.6853 GB, free: 3.379 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.1547, allocations: 30.56 kB / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1548, allocations: 0 / 0.6853 GB, free: 3.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.00033/0.1551, allocations: 85.64 kB / 0.6854 GB, free: 3.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.507e-05/0.1551, allocations: 51.41 kB / 0.6855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.1552, allocations: 106 kB / 0.6856 GB, free: 3.074 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.1552, allocations: 25.7 kB / 0.6856 GB, free: 3.043 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.326e-05/0.1553, allocations: 80.14 kB / 0.6857 GB, free: 2.961 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.1553, allocations: 11.91 kB / 0.6857 GB, free: 2.949 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1553, allocations: 9.844 kB / 0.6857 GB, free: 2.934 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/0.1554, allocations: 322.8 kB / 0.686 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1555, allocations: 15.98 kB / 0.686 GB, free: 2.594 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.937e-05/0.1556, allocations: 23.98 kB / 0.686 GB, free: 2.57 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1557, allocations: 40.81 kB / 0.6861 GB, free: 2.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1557, allocations: 4.062 kB / 0.6861 GB, free: 2.523 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.1559, allocations: 65.61 kB / 0.6861 GB, free: 2.453 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1559, allocations: 8 kB / 0.6862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.1559, allocations: 0 / 0.6862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.946e-06/0.1559, allocations: 0 / 0.6862 GB, free: 2.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.156, allocations: 7.984 kB / 0.6862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.156, allocations: 0 / 0.6862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1561, allocations: 7.984 kB / 0.6862 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1561, allocations: 11.97 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.908e-05/0.1562, allocations: 117.7 kB / 0.6863 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1562, allocations: 7.906 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.1564, allocations: 69.19 kB / 0.6864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1564, allocations: 0 / 0.6864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1564, allocations: 7.984 kB / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.1564, allocations: 0 / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1566, allocations: 169.6 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1566, allocations: 3.984 kB / 0.6865 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.299e-05/0.1567, allocations: 11.98 kB / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1567, allocations: 0 / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1567, allocations: 0 / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1567, allocations: 0 / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1567, allocations: 0 / 0.6866 GB, free: 1.973 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1569, allocations: 171.4 kB / 0.6867 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.076e-05/0.157, allocations: 81.11 kB / 0.6868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.157, allocations: 0 / 0.6868 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.157, allocations: 7.984 kB / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.1571, allocations: 0 / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-06/0.1571, allocations: 0 / 0.6868 GB, free: 1.684 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.409e-05/0.1571, allocations: 91.27 kB / 0.6869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1571, allocations: 4 kB / 0.6869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.1574, allocations: 23.94 kB / 0.6869 GB, free: 1.566 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.0001357/0.1575, allocations: 103.2 kB / 0.687 GB, free: 1.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.1577, allocations: 39.89 kB / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.1577, allocations: 0 / 0.6871 GB, free: 1.418 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.1578, allocations: 19.98 kB / 0.6871 GB, free: 1.398 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.158, allocations: 14.09 kB / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000224/0.1583, allocations: 117.5 kB / 0.6872 GB, free: 1.246 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1585, allocations: 0.6768 MB / 0.6879 GB, free: 0.543 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.067e-05/0.1585, allocations: 4 kB / 0.6879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/0.1585, allocations: 7.438 kB / 0.6879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1585, allocations: 0 / 0.6879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of Templates: time 0.2332/0.3917, allocations: 0.7124 MB / 0.6886 GB, free: 17.75 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)