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.005718/0.005718, allocations: 103.6 kB / 15.73 MB, free: 6.035 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.001019/0.001019, allocations: 195.6 kB / 16.67 MB, free: 5.969 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 279 kB / 290.8 MB, free: 1.77 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9418/0.9418, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 99.84 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1543, allocations: 86.97 MB / 0.7664 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.002512/0.1568, allocations: 1.441 MB / 0.7678 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.1576, allocations: 379.6 kB / 0.7682 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.1577, allocations: 4 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.1577, allocations: 7.922 kB / 0.7682 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.438e-05/0.1578, allocations: 3.938 kB / 0.7682 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000517/0.1584, allocations: 118.3 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.206e-05/0.1585, allocations: 23.92 kB / 0.7683 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.1586, allocations: 11.94 kB / 0.7683 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.92e-05/0.1586, allocations: 11.94 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.134e-05/0.1587, allocations: 7.984 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.1587, allocations: 7.938 kB / 0.7683 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.1591, allocations: 275.6 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.825e-05/0.1591, allocations: 4 kB / 0.7686 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1591, allocations: 11.94 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1594, allocations: 115.7 kB / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1594, allocations: 0 / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1594, allocations: 0 / 0.7687 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.1594, allocations: 0 / 0.7687 GB, free: 6.012 MB / 0.5606 GB 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.0005189/0.1599, allocations: 363.5 kB / 0.7691 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.16, allocations: 8.031 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.122e-05/0.1601, allocations: 8.844 kB / 0.7691 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.1602, allocations: 172.3 kB / 0.7693 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.1602, allocations: 4.375 kB / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.1602, allocations: 384 / 0.7693 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.1604, allocations: 50.23 kB / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.1604, allocations: 192 / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1605, allocations: 7.938 kB / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-06/0.1605, allocations: 0 / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.1606, allocations: 35.95 kB / 0.7694 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.161, allocations: 245 kB / 0.7696 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000125/0.1611, allocations: 50.42 kB / 0.7696 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.319e-05/0.1612, allocations: 24.91 kB / 0.7697 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006497/0.1619, allocations: 457.5 kB / 0.7701 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.1619, allocations: 34.56 kB / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 2.625e-06/0.1619, allocations: 0 / 0.7701 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000369/0.1623, allocations: 89.48 kB / 0.7702 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.1623, allocations: 55.34 kB / 0.7703 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.732e-05/0.1624, allocations: 101.9 kB / 0.7704 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1624, allocations: 33.81 kB / 0.7704 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.1625, allocations: 88.14 kB / 0.7705 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.1625, allocations: 3.906 kB / 0.7705 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.1625, allocations: 9.719 kB / 0.7705 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1627, allocations: 318.8 kB / 0.7708 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.5e-05/0.1628, allocations: 15.97 kB / 0.7708 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.449e-05/0.1628, allocations: 19.98 kB / 0.7708 GB, free: 3.551 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.163, allocations: 36.89 kB / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.163, allocations: 0 / 0.7709 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.1632, allocations: 77.53 kB / 0.7709 GB, free: 3.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1632, allocations: 10.19 kB / 0.771 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1633, allocations: 0 / 0.771 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1633, allocations: 4.031 kB / 0.771 GB, free: 3.418 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.886e-05/0.1634, allocations: 11.98 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.1634, allocations: 0 / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.536e-05/0.1634, allocations: 4 kB / 0.771 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1634, allocations: 3.984 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB 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.48e-05/0.1635, allocations: 110.4 kB / 0.7711 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1636, allocations: 11.92 kB / 0.7711 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.1638, allocations: 77.19 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1638, allocations: 0 / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1638, allocations: 0 / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1638, allocations: 0 / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.164, allocations: 165.6 kB / 0.7713 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.164, allocations: 0 / 0.7713 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1641, allocations: 16.17 kB / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1641, allocations: 0 / 0.7713 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1641, allocations: 4 kB / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1641, allocations: 32 / 0.7713 GB, free: 2.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1641, allocations: 4 kB / 0.7713 GB, free: 2.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.1644, allocations: 171.4 kB / 0.7715 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.1644, allocations: 77.11 kB / 0.7716 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.1645, allocations: 0 / 0.7716 GB, free: 2.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.279e-05/0.1645, allocations: 11.92 kB / 0.7716 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.625e-05/0.1646, allocations: 8.031 kB / 0.7716 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1646, allocations: 4 kB / 0.7716 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.1646, allocations: 79.28 kB / 0.7717 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 0.7717 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002308/0.1649, allocations: 15.98 kB / 0.7717 GB, free: 2.559 MB / 0.5606 GB 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.0001869/0.1651, allocations: 115.2 kB / 0.7718 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.1653, allocations: 43.95 kB / 0.7718 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1653, allocations: 0 / 0.7718 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.549e-05/0.1654, allocations: 19.98 kB / 0.7719 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.1657, allocations: 3.938 kB / 0.7719 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.166, allocations: 109.5 kB / 0.772 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/0.1663, allocations: 0.6768 MB / 0.7726 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.874e-05/0.1663, allocations: 8.125 kB / 0.7726 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.261e-05/0.1664, allocations: 7.438 kB / 0.7727 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1664, allocations: 3.938 kB / 0.7727 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of Templates: time 0.003128/0.1695, allocations: 0.7342 MB / 0.7734 GB, free: 0.7852 MB / 0.5606 GB 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)