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.001181/0.001181, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.282/1.282, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001976/0.001976, allocations: 286.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.3 MB / 0.4982 GB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 97.34 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1495, allocations: 86.99 MB / 0.6802 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001792/0.1514, allocations: 0.6097 MB / 0.6808 GB, free: 48 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006814/0.1521, allocations: 354.7 kB / 0.6811 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.1521, allocations: 0 / 0.6811 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.213e-05/0.1521, allocations: 0 / 0.6811 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.199e-05/0.1522, allocations: 3.938 kB / 0.6811 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.1527, allocations: 123.6 kB / 0.6813 GB, free: 15.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.556e-05/0.1527, allocations: 19.98 kB / 0.6813 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.1528, allocations: 0 / 0.6813 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.203e-05/0.1528, allocations: 23.84 kB / 0.6813 GB, free: 15.53 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.939e-05/0.1529, allocations: 11.94 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.1529, allocations: 4 kB / 0.6813 GB, free: 15.52 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.1533, allocations: 271.6 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1533, allocations: 4 kB / 0.6816 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.1533, allocations: 19.91 kB / 0.6816 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1535, allocations: 103.8 kB / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1536, allocations: 0 / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1536, allocations: 0 / 0.6817 GB, free: 15.12 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1536, allocations: 0 / 0.6817 GB, free: 15.12 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004452/0.154, allocations: 359.8 kB / 0.682 GB, free: 14.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1541, allocations: 8.031 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.1541, allocations: 8.844 kB / 0.682 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1543, allocations: 164.4 kB / 0.6822 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1543, allocations: 4.375 kB / 0.6822 GB, free: 14.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.1543, allocations: 12.31 kB / 0.6822 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.1544, allocations: 54.22 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.1544, allocations: 192 / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.1545, allocations: 7.938 kB / 0.6823 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1545, allocations: 3.938 kB / 0.6823 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.987e-05/0.1545, allocations: 19.98 kB / 0.6823 GB, free: 14.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001639/0.1547, allocations: 169.5 kB / 0.6825 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.46e-05/0.1548, allocations: 58.56 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.1548, allocations: 28.84 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006603/0.1555, allocations: 457.5 kB / 0.683 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.1555, allocations: 34.56 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.1556, allocations: 3.938 kB / 0.683 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.001229/0.1568, allocations: 0.5878 MB / 0.6836 GB, free: 12.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.1568, allocations: 55.41 kB / 0.6836 GB, free: 12.76 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.684e-05/0.1569, allocations: 93.86 kB / 0.6837 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1569, allocations: 33.7 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.118e-05/0.157, allocations: 84.14 kB / 0.6838 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.928e-05/0.157, allocations: 35.45 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.157, allocations: 29.7 kB / 0.6839 GB, free: 12.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1572, allocations: 318.8 kB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.1572, allocations: 23.98 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.1572, allocations: 26.86 kB / 0.6843 GB, free: 12.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.292e-05/0.1573, allocations: 52.86 kB / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.1573, allocations: 0 / 0.6843 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001569/0.1575, allocations: 101.5 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1575, allocations: 8 kB / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.1575, allocations: 0 / 0.6844 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1576, allocations: 3.984 kB / 0.6844 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.873e-05/0.1577, allocations: 16 kB / 0.6844 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1577, allocations: 8 kB / 0.6844 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.41e-05/0.1577, allocations: 4 kB / 0.6844 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.1577, allocations: 8 kB / 0.6845 GB, free: 11.89 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 (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 7.615e-05/0.1578, allocations: 119.1 kB / 0.6846 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.1578, allocations: 8.125 kB / 0.6846 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.158, allocations: 113.5 kB / 0.6847 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.1581, allocations: 4 kB / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1581, allocations: 0 / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1581, allocations: 0 / 0.6847 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003703/0.1584, allocations: 362.3 kB / 0.685 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1585, allocations: 7.984 kB / 0.685 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.1586, allocations: 16 kB / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1586, allocations: 0 / 0.6851 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1586, allocations: 8 kB / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1586, allocations: 0 / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1586, allocations: 0 / 0.6851 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1589, allocations: 223.7 kB / 0.6853 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.781e-05/0.1589, allocations: 85 kB / 0.6854 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1589, allocations: 8.094 kB / 0.6854 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.909e-05/0.159, allocations: 7.938 kB / 0.6854 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.1591, allocations: 7.984 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.1591, allocations: 4 kB / 0.6854 GB, free: 10.83 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.1591, allocations: 75.28 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1591, allocations: 4 kB / 0.6855 GB, free: 10.75 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1594, allocations: 47.98 kB / 0.6855 GB, free: 10.7 MB / 494.1 MB 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.0002079/0.1596, allocations: 139.2 kB / 0.6856 GB, free: 10.56 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1598, allocations: 74.98 kB / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1598, allocations: 0 / 0.6857 GB, free: 10.49 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.834e-05/0.1598, allocations: 31.92 kB / 0.6857 GB, free: 10.46 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.16, allocations: 10.03 kB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003468/0.1604, allocations: 182.3 kB / 0.6859 GB, free: 10.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.1606, allocations: 0.6923 MB / 0.6866 GB, free: 9.527 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.599e-05/0.1607, allocations: 11.92 kB / 0.6866 GB, free: 9.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.1607, allocations: 11.44 kB / 0.6866 GB, free: 9.504 MB / 494.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1607, allocations: 4 kB / 0.6866 GB, free: 9.5 MB / 494.1 MB Notification: Performance of Templates: time 0.003664/0.1644, allocations: 1.408 MB / 0.688 GB, free: 8.125 MB / 494.1 MB 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)