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.001183/0.001183, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001216/0.001216, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.247/1.247, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002113/0.002113, allocations: 284 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8963/0.8963, allocations: 169.3 MB / 0.4988 GB, free: 4.516 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 94.2 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.15, allocations: 86.97 MB / 0.6808 GB, free: 8.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002563/0.1526, allocations: 1.435 MB / 0.6822 GB, free: 6.75 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006725/0.1533, allocations: 391.4 kB / 0.6826 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.1533, allocations: 0 / 0.6826 GB, free: 6.363 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.1534, allocations: 11.92 kB / 0.6826 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.1534, allocations: 0 / 0.6826 GB, free: 6.352 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.1538, allocations: 115.6 kB / 0.6827 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.661e-05/0.1539, allocations: 27.92 kB / 0.6828 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.51e-05/0.154, allocations: 4.281 kB / 0.6828 GB, free: 6.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.081e-05/0.1541, allocations: 11.94 kB / 0.6828 GB, free: 6.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.503e-05/0.1541, allocations: 15.91 kB / 0.6828 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.084e-05/0.1541, allocations: 8 kB / 0.6828 GB, free: 6.172 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.1545, allocations: 271.6 kB / 0.6831 GB, free: 5.906 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.1545, allocations: 4 kB / 0.6831 GB, free: 5.902 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.131e-05/0.1545, allocations: 11.94 kB / 0.6831 GB, free: 5.891 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1547, allocations: 111.7 kB / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1547, allocations: 0 / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1547, allocations: 0 / 0.6832 GB, free: 5.781 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1547, allocations: 0 / 0.6832 GB, free: 5.781 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.0004182/0.1551, allocations: 355.5 kB / 0.6835 GB, free: 5.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.1552, allocations: 16.03 kB / 0.6835 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.1552, allocations: 4.922 kB / 0.6835 GB, free: 5.363 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001076/0.1553, allocations: 172.3 kB / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.1554, allocations: 384 / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.1554, allocations: 384 / 0.6837 GB, free: 5.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.1555, allocations: 50.23 kB / 0.6837 GB, free: 5.102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.1556, allocations: 4.125 kB / 0.6837 GB, free: 5.098 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1556, allocations: 7.938 kB / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1556, allocations: 0 / 0.6838 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001574/0.1558, allocations: 35.97 kB / 0.6838 GB, free: 5.055 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.156, allocations: 252.9 kB / 0.684 GB, free: 4.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.1562, allocations: 42.48 kB / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.1563, allocations: 24.91 kB / 0.6841 GB, free: 4.68 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006185/0.1569, allocations: 453.5 kB / 0.6845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1569, allocations: 46.42 kB / 0.6846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1569, allocations: 0 / 0.6846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003401/0.1573, allocations: 81.66 kB / 0.6847 GB, free: 4.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1573, allocations: 55.39 kB / 0.6847 GB, free: 3.938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.302e-05/0.1574, allocations: 101.9 kB / 0.6848 GB, free: 3.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.144e-05/0.1574, allocations: 25.7 kB / 0.6848 GB, free: 3.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.1575, allocations: 88.27 kB / 0.6849 GB, free: 3.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.1575, allocations: 7.891 kB / 0.6849 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.1575, allocations: 17.72 kB / 0.6849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.744e-05/0.1576, allocations: 314.8 kB / 0.6852 GB, free: 3.359 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.1577, allocations: 15.98 kB / 0.6852 GB, free: 3.344 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.153e-05/0.1578, allocations: 23.91 kB / 0.6853 GB, free: 3.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1579, allocations: 40.89 kB / 0.6853 GB, free: 3.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1579, allocations: 0 / 0.6853 GB, free: 3.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002015/0.1581, allocations: 73.59 kB / 0.6854 GB, free: 3.199 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.1582, allocations: 4 kB / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1582, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1582, allocations: 0 / 0.6854 GB, free: 3.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.582e-05/0.1583, allocations: 11.98 kB / 0.6854 GB, free: 3.184 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1583, allocations: 4.031 kB / 0.6854 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.368e-05/0.1583, allocations: 4 kB / 0.6854 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-06/0.1583, allocations: 256 / 0.6854 GB, free: 3.176 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.642e-05/0.1584, allocations: 113.8 kB / 0.6855 GB, free: 3.055 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.1584, allocations: 11.83 kB / 0.6855 GB, free: 3.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002145/0.1587, allocations: 73.19 kB / 0.6856 GB, free: 2.965 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1587, allocations: 8.031 kB / 0.6856 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1587, allocations: 0 / 0.6856 GB, free: 2.957 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1587, allocations: 3.984 kB / 0.6856 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1588, allocations: 165.6 kB / 0.6858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1588, allocations: 0 / 0.6858 GB, free: 2.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.1589, allocations: 4 kB / 0.6858 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1589, allocations: 0 / 0.6858 GB, free: 2.738 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.1589, allocations: 4 kB / 0.6858 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.1589, allocations: 4 kB / 0.6858 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1589, allocations: 3.984 kB / 0.6858 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.1592, allocations: 163.4 kB / 0.6859 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.1592, allocations: 85.03 kB / 0.686 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.1592, allocations: 0 / 0.686 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1593, allocations: 8 kB / 0.686 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.1594, allocations: 7.984 kB / 0.686 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.1594, allocations: 4.031 kB / 0.686 GB, free: 2.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.558e-05/0.1594, allocations: 79.28 kB / 0.6861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1594, allocations: 0 / 0.6861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002225/0.1596, allocations: 19.91 kB / 0.6861 GB, free: 2.332 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.0001682/0.1598, allocations: 114.1 kB / 0.6862 GB, free: 2.215 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.16, allocations: 35.97 kB / 0.6863 GB, free: 2.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.16, allocations: 8 kB / 0.6863 GB, free: 2.172 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.288e-05/0.1601, allocations: 23.97 kB / 0.6863 GB, free: 2.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002609/0.1604, allocations: 5.484 kB / 0.6863 GB, free: 2.145 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002669/0.1607, allocations: 143.2 kB / 0.6864 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1609, allocations: 0.6768 MB / 0.6871 GB, free: 1.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.1609, allocations: 7.5 kB / 0.6871 GB, free: 1.262 MB / 494.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1609, allocations: 4 kB / 0.6871 GB, free: 1.258 MB / 494.1 MB Notification: Performance of Templates: time 0.001829/0.1628, allocations: 0.709 MB / 0.6878 GB, free: 0.5547 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)