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.001359/0.001359, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001577/0.001577, allocations: 194 kB / 16.25 MB, free: 6.625 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.311/1.311, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 290.9 kB / 290.4 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9341/0.9341, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001632/0.001632, allocations: 96.55 kB / 0.5947 GB, free: 28.33 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1405, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002862/0.1434, allocations: 1.5 MB / 0.6811 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006552/0.1441, allocations: 384.8 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.985e-05/0.1442, allocations: 4 kB / 0.6815 GB, free: 15.19 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.1442, allocations: 3.938 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.265e-05/0.1443, allocations: 7.922 kB / 0.6815 GB, free: 15.18 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.1447, allocations: 87.84 kB / 0.6816 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.537e-05/0.1448, allocations: 27.92 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.053e-05/0.1449, allocations: 4.281 kB / 0.6816 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.1449, allocations: 11.94 kB / 0.6816 GB, free: 15.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.512e-05/0.1449, allocations: 19.92 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.145, allocations: 0 / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000353/0.1453, allocations: 283.6 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.1453, allocations: 4 kB / 0.6819 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.1454, allocations: 11.88 kB / 0.6819 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1455, allocations: 107.7 kB / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1456, allocations: 0 / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1456, allocations: 0 / 0.682 GB, free: 14.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.1456, allocations: 0 / 0.682 GB, free: 14.63 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.0004369/0.146, allocations: 365.4 kB / 0.6824 GB, free: 14.22 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1461, allocations: 12.03 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.479e-05/0.1461, allocations: 0.9375 kB / 0.6824 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1462, allocations: 180.2 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1462, allocations: 384 / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.142e-05/0.1463, allocations: 384 / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.1464, allocations: 50.23 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.1464, allocations: 4.188 kB / 0.6826 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1465, allocations: 3.938 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.1465, allocations: 4 kB / 0.6826 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001532/0.1466, allocations: 35.91 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.1469, allocations: 260.9 kB / 0.6829 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00012/0.1471, allocations: 38.5 kB / 0.6829 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.304e-05/0.1471, allocations: 24.89 kB / 0.6829 GB, free: 13.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006566/0.1478, allocations: 457.5 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.1478, allocations: 42.48 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1479, allocations: 0 / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003446/0.1482, allocations: 85.59 kB / 0.6835 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.1482, allocations: 51.41 kB / 0.6835 GB, free: 12.77 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.811e-05/0.1483, allocations: 105.8 kB / 0.6836 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.1483, allocations: 25.83 kB / 0.6837 GB, free: 12.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.741e-05/0.1484, allocations: 84.14 kB / 0.6838 GB, free: 12.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1484, allocations: 11.89 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1484, allocations: 13.72 kB / 0.6838 GB, free: 12.51 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.292e-05/0.1485, allocations: 310.8 kB / 0.6841 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.713e-05/0.1486, allocations: 19.98 kB / 0.6841 GB, free: 12.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.1487, allocations: 15.97 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.1489, allocations: 44.89 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1489, allocations: 7.875 kB / 0.6842 GB, free: 12.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002034/0.1491, allocations: 69.59 kB / 0.6842 GB, free: 12.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1491, allocations: 4 kB / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1491, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1491, allocations: 0 / 0.6842 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.011e-05/0.1492, allocations: 16.02 kB / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.197e-06/0.1492, allocations: 0 / 0.6842 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.1493, allocations: 4 kB / 0.6842 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.1493, allocations: 0 / 0.6842 GB, free: 12.01 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.228e-05/0.1494, allocations: 119.1 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.1494, allocations: 3.906 kB / 0.6844 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002211/0.1496, allocations: 85.11 kB / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1496, allocations: 0 / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1496, allocations: 0 / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1497, allocations: 0 / 0.6844 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.1498, allocations: 165.6 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1498, allocations: 0 / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.519e-05/0.1499, allocations: 4 kB / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1499, allocations: 0 / 0.6846 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.1499, allocations: 4 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1499, allocations: 256 / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1499, allocations: 4.031 kB / 0.6846 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.1501, allocations: 171.4 kB / 0.6848 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.1502, allocations: 88.94 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.1502, allocations: 0 / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.286e-05/0.1503, allocations: 4 kB / 0.6849 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.1503, allocations: 12.02 kB / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.1503, allocations: 0 / 0.6849 GB, free: 11.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.934e-05/0.1504, allocations: 83.28 kB / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1504, allocations: 0 / 0.685 GB, free: 11.18 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1506, allocations: 12 kB / 0.685 GB, free: 11.17 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.0001676/0.1508, allocations: 111.2 kB / 0.6851 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002051/0.151, allocations: 39.97 kB / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.151, allocations: 0 / 0.6851 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.005e-05/0.1511, allocations: 27.91 kB / 0.6851 GB, free: 10.99 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.1514, allocations: 13.84 kB / 0.6852 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002428/0.1517, allocations: 121.5 kB / 0.6853 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.1519, allocations: 0.6769 MB / 0.6859 GB, free: 10.13 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.365e-05/0.1519, allocations: 8 kB / 0.6859 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/0.1519, allocations: 7.438 kB / 0.6859 GB, free: 10.11 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1519, allocations: 3.938 kB / 0.6859 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Templates: time 0.002692/0.1546, allocations: 0.6595 MB / 0.6866 GB, free: 9.453 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)