Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.649/1.649, allocations: 287.5 MB / 302.6 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 184.4 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 0.6298 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008085/0.0008085, allocations: 96.55 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004749, allocations: 13.38 kB / 0.8661 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2557, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007723/0.2565, allocations: 351.4 kB / 0.979 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.257, allocations: 319.3 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.257, allocations: 0 / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.2571, allocations: 3.938 kB / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.022e-05/0.2571, allocations: 0 / 0.9793 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003542/0.2575, allocations: 80.59 kB / 0.9794 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.184e-05/0.2575, allocations: 23.92 kB / 0.9794 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.511e-05/0.2576, allocations: 7.969 kB / 0.9794 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.312e-05/0.2576, allocations: 8 kB / 0.9794 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.065e-05/0.2577, allocations: 11.92 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.2577, allocations: 4 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.258, allocations: 259.7 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.258, allocations: 8 kB / 0.9797 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.258, allocations: 37.58 kB / 0.9798 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.2581, allocations: 71.88 kB / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2582, allocations: 0 / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2582, allocations: 0 / 0.9798 GB, free: 27 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.516e-06/0.2582, allocations: 0 / 0.9798 GB, free: 27 MB / 0.6198 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.0003691/0.2585, allocations: 351.7 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.2586, allocations: 8.031 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.068e-05/0.2587, allocations: 4.938 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.743e-05/0.2588, allocations: 164.4 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.2588, allocations: 4.375 kB / 0.9803 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.598e-05/0.2588, allocations: 8.359 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.2589, allocations: 50.25 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.259, allocations: 4.094 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.259, allocations: 7.922 kB / 0.9804 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.259, allocations: 4 kB / 0.9804 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.259, allocations: 19.92 kB / 0.9804 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001473/0.2592, allocations: 165.6 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.124e-05/0.2593, allocations: 66.55 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.2593, allocations: 24.86 kB / 0.9807 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.2599, allocations: 457.7 kB / 0.9811 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.2599, allocations: 42.55 kB / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.2599, allocations: 0 / 0.9811 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001132/0.2611, allocations: 0.5876 MB / 0.9817 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.39e-05/0.2611, allocations: 59.41 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.729e-05/0.2612, allocations: 93.86 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.2612, allocations: 29.7 kB / 0.9819 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.559e-05/0.2612, allocations: 80.14 kB / 0.982 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.2613, allocations: 39.53 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.2613, allocations: 7.938 kB / 0.982 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.2614, allocations: 318.8 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/0.2614, allocations: 20 kB / 0.9823 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.2614, allocations: 25.61 kB / 0.9824 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.556e-05/0.2615, allocations: 60.78 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2615, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001259/0.2617, allocations: 106.7 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.2617, allocations: 4 kB / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2617, allocations: 0 / 0.9825 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.2617, allocations: 4 kB / 0.9825 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.2618, allocations: 19.98 kB / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2618, allocations: 0 / 0.9825 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/0.2619, allocations: 4 kB / 0.9826 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.2619, allocations: 4 kB / 0.9826 GB, free: 23.8 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.345e-05/0.2619, allocations: 121.8 kB / 0.9827 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.262, allocations: 15.78 kB / 0.9827 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.2621, allocations: 97.62 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.2621, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.2622, allocations: 4 kB / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2622, allocations: 0 / 0.9828 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003181/0.2625, allocations: 358.6 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.2625, allocations: 4 kB / 0.9831 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2626, allocations: 23.98 kB / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2626, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.2626, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2626, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2626, allocations: 0 / 0.9832 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002131/0.2629, allocations: 223.4 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2629, allocations: 93.11 kB / 0.9835 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.2629, allocations: 8.047 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.536e-05/0.263, allocations: 0 / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.263, allocations: 8 kB / 0.9835 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.263, allocations: 7.938 kB / 0.9835 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.7e-05/0.2631, allocations: 83.27 kB / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2631, allocations: 0 / 0.9836 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002461/0.2633, allocations: 40 kB / 0.9836 GB, free: 22.64 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002045/0.2635, allocations: 143.2 kB / 0.9837 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000137/0.2637, allocations: 72.66 kB / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2637, allocations: 0 / 0.9838 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.2637, allocations: 35.98 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000205/0.264, allocations: 1.547 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.2643, allocations: 198.7 kB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.2645, allocations: 0.6888 MB / 0.9847 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.37e-05/0.2645, allocations: 7.984 kB / 0.9847 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.055e-05/0.2646, allocations: 15.44 kB / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2646, allocations: 0 / 0.9847 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.003644/0.2682, allocations: 1.346 MB / 0.986 GB, free: 20.09 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)