Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004618/0.004618, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.00105/0.00105, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00232/0.00232, allocations: 282.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9315/0.9315, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001751/0.001751, allocations: 99.86 kB / 0.6815 GB, free: 15.43 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 86.98 MB / 0.7664 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001591/0.1637, allocations: 0.6226 MB / 0.767 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.1644, allocations: 350.7 kB / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.1644, allocations: 0 / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.197e-05/0.1644, allocations: 0 / 0.7674 GB, free: 7.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 2.949e-05/0.1645, allocations: 3.938 kB / 0.7674 GB, free: 7.406 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004559/0.1649, allocations: 123 kB / 0.7675 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.47e-05/0.165, allocations: 19.98 kB / 0.7675 GB, free: 7.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.568e-05/0.165, allocations: 8 kB / 0.7675 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.876e-05/0.1651, allocations: 15.92 kB / 0.7675 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.1651, allocations: 11.92 kB / 0.7676 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.1652, allocations: 4 kB / 0.7676 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.1655, allocations: 275.6 kB / 0.7678 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.1655, allocations: 4 kB / 0.7678 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.604e-05/0.1656, allocations: 11.92 kB / 0.7678 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.1658, allocations: 107.7 kB / 0.7679 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1658, allocations: 4 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1658, allocations: 0 / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.1658, allocations: 4 kB / 0.7679 GB, free: 6.832 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004232/0.1662, allocations: 359.4 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.1663, allocations: 8.031 kB / 0.7683 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.1663, allocations: 4.938 kB / 0.7683 GB, free: 6.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.1664, allocations: 164.3 kB / 0.7685 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.1665, allocations: 8.375 kB / 0.7685 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.1665, allocations: 4.375 kB / 0.7685 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.1666, allocations: 46.23 kB / 0.7685 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1666, allocations: 16.12 kB / 0.7685 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.1666, allocations: 7.922 kB / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1667, allocations: 0 / 0.7685 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.995e-05/0.1667, allocations: 19.94 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1669, allocations: 169.6 kB / 0.7687 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 9.919e-05/0.167, allocations: 58.5 kB / 0.7688 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.915e-05/0.167, allocations: 24.84 kB / 0.7688 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/0.1677, allocations: 461.5 kB / 0.7692 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.1678, allocations: 34.55 kB / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1678, allocations: 0 / 0.7693 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.001219/0.169, allocations: 0.595 MB / 0.7699 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.169, allocations: 59.41 kB / 0.7699 GB, free: 4.461 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.1691, allocations: 93.86 kB / 0.77 GB, free: 4.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1691, allocations: 29.7 kB / 0.77 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.1692, allocations: 84.14 kB / 0.7701 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.82e-05/0.1692, allocations: 39.39 kB / 0.7701 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.1693, allocations: 29.8 kB / 0.7702 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1694, allocations: 318.8 kB / 0.7705 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.384e-05/0.1694, allocations: 27.98 kB / 0.7705 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.375e-05/0.1694, allocations: 16 kB / 0.7705 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.785e-05/0.1695, allocations: 56.84 kB / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.1695, allocations: 0 / 0.7706 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001578/0.1697, allocations: 105.6 kB / 0.7707 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.1697, allocations: 4 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1697, allocations: 0.5469 kB / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1698, allocations: 0 / 0.7707 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.1699, allocations: 27.98 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1699, allocations: 0 / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.288e-05/0.1699, allocations: 0 / 0.7707 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1699, allocations: 8 kB / 0.7707 GB, free: 3.594 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 (13): * Single equations (assignments): 13 * 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.442e-05/0.17, allocations: 110.5 kB / 0.7708 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.1701, allocations: 19.83 kB / 0.7708 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.1702, allocations: 109.5 kB / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.1703, allocations: 0 / 0.7709 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.1706, allocations: 362.4 kB / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1707, allocations: 0 / 0.7713 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.1708, allocations: 19.98 kB / 0.7713 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.1708, allocations: 4 kB / 0.7713 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-06/0.1708, allocations: 0 / 0.7713 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1708, allocations: 4 kB / 0.7713 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1708, allocations: 0 / 0.7713 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1711, allocations: 227.6 kB / 0.7715 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1711, allocations: 89.12 kB / 0.7716 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1711, allocations: 0 / 0.7716 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.86e-05/0.1712, allocations: 0 / 0.7716 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.1712, allocations: 11.98 kB / 0.7716 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1713, allocations: 4 kB / 0.7716 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.899e-05/0.1713, allocations: 87.28 kB / 0.7717 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1713, allocations: 3.938 kB / 0.7717 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002733/0.1716, allocations: 43.98 kB / 0.7718 GB, free: 2.414 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002286/0.1718, allocations: 139.2 kB / 0.7719 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001418/0.172, allocations: 66.72 kB / 0.772 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.172, allocations: 0 / 0.772 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.172, allocations: 35.92 kB / 0.772 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.1723, allocations: 8 kB / 0.772 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.1726, allocations: 185.7 kB / 0.7722 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.1728, allocations: 0.6849 MB / 0.7728 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.922e-05/0.1729, allocations: 7.984 kB / 0.7729 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.512e-05/0.1729, allocations: 15.44 kB / 0.7729 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of SimCode: time 2.61e-07/0.1729, allocations: 4 kB / 0.7729 GB, free: 1.215 MB / 0.5606 GB Notification: Performance of Templates: time 0.313/0.4859, allocations: 1.416 MB / 0.7743 GB, free: 14.5 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)