Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008341/0.0008342, allocations: 92.7 kB / 16.67 MB, free: 6.594 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.001015/0.001016, allocations: 182.3 kB / 17.58 MB, free: 6.188 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.326/1.326, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 115.5 MB / 408.2 MB, free: 7.172 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003336, allocations: 16 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3498, allocations: 77.52 MB / 0.5606 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0006257/0.3505, allocations: 357.9 kB / 0.5609 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006284/0.3511, allocations: 365.6 kB / 0.5613 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.3512, allocations: 0 / 0.5613 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.181e-05/0.3512, allocations: 1.656 kB / 0.5613 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.043e-05/0.3512, allocations: 0 / 0.5613 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003352/0.3516, allocations: 86.83 kB / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.174e-05/0.3516, allocations: 19.23 kB / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.243e-05/0.3517, allocations: 6.375 kB / 0.5614 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.3517, allocations: 9.25 kB / 0.5614 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.3518, allocations: 16.66 kB / 0.5614 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3518, allocations: 1.469 kB / 0.5614 GB, free: 34.86 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003512/0.3522, allocations: 271.4 kB / 0.5617 GB, free: 34.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.3522, allocations: 10.94 kB / 0.5617 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.3522, allocations: 38.14 kB / 0.5617 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.3524, allocations: 69.2 kB / 0.5618 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.3524, allocations: 0 / 0.5618 GB, free: 34.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3524, allocations: 0 / 0.5618 GB, free: 34.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.3524, allocations: 2.562 kB / 0.5618 GB, free: 34.73 MB / 446.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.0003227/0.3527, allocations: 347.3 kB / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3528, allocations: 9.562 kB / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.3528, allocations: 7.5 kB / 0.5621 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.596e-05/0.3529, allocations: 166.6 kB / 0.5623 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3529, allocations: 4.703 kB / 0.5623 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.353, allocations: 7.281 kB / 0.5623 GB, free: 34.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.3531, allocations: 47.17 kB / 0.5624 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.3531, allocations: 1.344 kB / 0.5624 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3531, allocations: 4.453 kB / 0.5624 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3531, allocations: 1.281 kB / 0.5624 GB, free: 34.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.09e-05/0.3532, allocations: 21.34 kB / 0.5624 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001401/0.3533, allocations: 167 kB / 0.5625 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.564e-05/0.3534, allocations: 61.16 kB / 0.5626 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.3535, allocations: 29.92 kB / 0.5626 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.3541, allocations: 461.8 kB / 0.5631 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.3541, allocations: 38.2 kB / 0.5631 GB, free: 33.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.813e-06/0.3541, allocations: 0 / 0.5631 GB, free: 33.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001177/0.3553, allocations: 0.5941 MB / 0.5637 GB, free: 32.83 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.3553, allocations: 53.59 kB / 0.5637 GB, free: 32.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.729e-05/0.3554, allocations: 101 kB / 0.5638 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.3554, allocations: 26.77 kB / 0.5639 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.877e-05/0.3554, allocations: 86.91 kB / 0.5639 GB, free: 32.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.3555, allocations: 47.41 kB / 0.564 GB, free: 32.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-05/0.3555, allocations: 15.47 kB / 0.564 GB, free: 32.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.3556, allocations: 327.5 kB / 0.5643 GB, free: 32.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.005e-05/0.3556, allocations: 21.25 kB / 0.5643 GB, free: 32.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.616e-05/0.3557, allocations: 23.61 kB / 0.5644 GB, free: 32.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.857e-05/0.3557, allocations: 55.98 kB / 0.5644 GB, free: 32.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.3558, allocations: 1.375 kB / 0.5644 GB, free: 32.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001696/0.3559, allocations: 100 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.356, allocations: 4.844 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.356, allocations: 1.062 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.356, allocations: 1.984 kB / 0.5645 GB, free: 32.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.3561, allocations: 28.8 kB / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3561, allocations: 4.922 kB / 0.5645 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.319e-05/0.3561, allocations: 2.844 kB / 0.5646 GB, free: 32.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.3562, allocations: 3.297 kB / 0.5646 GB, free: 32.06 MB / 446.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 5.7e-05/0.3562, allocations: 113.9 kB / 0.5647 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.672e-05/0.3562, allocations: 8.906 kB / 0.5647 GB, free: 31.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3564, allocations: 111.9 kB / 0.5648 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.3565, allocations: 2.812 kB / 0.5648 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3565, allocations: 0 / 0.5648 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.3565, allocations: 0.7031 kB / 0.5648 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003223/0.3568, allocations: 350.5 kB / 0.5651 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3568, allocations: 4 kB / 0.5651 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.3569, allocations: 25.03 kB / 0.5651 GB, free: 31.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3569, allocations: 4.5 kB / 0.5651 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.3569, allocations: 8.141 kB / 0.5652 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.357, allocations: 0.9375 kB / 0.5652 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.357, allocations: 0 / 0.5652 GB, free: 31.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.3572, allocations: 219 kB / 0.5654 GB, free: 31.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.3572, allocations: 87.67 kB / 0.5654 GB, free: 31.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.3573, allocations: 5.844 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.957e-05/0.3573, allocations: 1.875 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.3574, allocations: 6.812 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.3574, allocations: 8.734 kB / 0.5655 GB, free: 31.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.014e-05/0.3574, allocations: 77.92 kB / 0.5655 GB, free: 31.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3574, allocations: 4.625 kB / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.3577, allocations: 43.97 kB / 0.5656 GB, free: 31.17 MB / 446.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.0002259/0.3579, allocations: 140.7 kB / 0.5657 GB, free: 31.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3581, allocations: 68.42 kB / 0.5658 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3581, allocations: 1.344 kB / 0.5658 GB, free: 31.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.019e-05/0.3582, allocations: 35.22 kB / 0.5658 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.3584, allocations: 8.344 kB / 0.5658 GB, free: 31.04 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.3587, allocations: 213.8 kB / 0.566 GB, free: 30.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.3588, allocations: 0.6885 MB / 0.5667 GB, free: 30.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.3589, allocations: 17.88 kB / 0.5667 GB, free: 30.15 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3589, allocations: 0 / 0.5667 GB, free: 30.15 MB / 446.1 MB Notification: Performance of Templates: time 0.002913/0.3618, allocations: 1.209 MB / 0.5679 GB, free: 30.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)