Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.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.0008214/0.0008213, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.005919/0.005919, allocations: 171.8 kB / 16.26 MB, free: 6.613 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.407/1.407, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.801/2.801, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003802/0.0003802, allocations: 9.812 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3492, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008005/0.3501, allocations: 366.1 kB / 1.074 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.3509, allocations: 377 kB / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.351, allocations: 0 / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.351, allocations: 0 / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.351, allocations: 0 / 1.075 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004606/0.3515, allocations: 83.78 kB / 1.075 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.759e-05/0.3516, allocations: 19.98 kB / 1.075 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.81e-05/0.3516, allocations: 4 kB / 1.075 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.411e-05/0.3517, allocations: 11.92 kB / 1.075 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.118e-05/0.3518, allocations: 19.86 kB / 1.075 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.3518, allocations: 4 kB / 1.075 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004423/0.3523, allocations: 275.6 kB / 1.075 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.3523, allocations: 4 kB / 1.075 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.282e-05/0.3523, allocations: 41.62 kB / 1.075 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.3526, allocations: 99.77 kB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3526, allocations: 4 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3526, allocations: 0 / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3526, allocations: 0 / 1.075 GB, free: 6.238 MB / 0.8262 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.0004853/0.3531, allocations: 351.8 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.3531, allocations: 12.03 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.133e-05/0.3532, allocations: 4.844 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3534, allocations: 172.3 kB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.3534, allocations: 384 / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.3535, allocations: 12.38 kB / 1.076 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.3536, allocations: 54.22 kB / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.3537, allocations: 192 / 1.076 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.3537, allocations: 7.938 kB / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3537, allocations: 0 / 1.076 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.436e-05/0.3538, allocations: 19.98 kB / 1.076 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.354, allocations: 161.6 kB / 1.076 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.3542, allocations: 62.48 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.455e-05/0.3543, allocations: 36.84 kB / 1.076 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009018/0.3552, allocations: 461.5 kB / 1.077 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3553, allocations: 38.56 kB / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.3553, allocations: 0 / 1.077 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11): time 0.001685/0.357, allocations: 0.5878 MB / 1.077 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.357, allocations: 55.41 kB / 1.077 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.838e-05/0.3571, allocations: 101.8 kB / 1.077 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3572, allocations: 25.7 kB / 1.077 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.3e-05/0.3572, allocations: 84.14 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.014e-05/0.3573, allocations: 39.45 kB / 1.078 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.963e-05/0.3574, allocations: 13.72 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001906/0.3576, allocations: 318.8 kB / 1.078 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.434e-05/0.3577, allocations: 20 kB / 1.078 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.3577, allocations: 23.92 kB / 1.078 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.3578, allocations: 56.86 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3578, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002232/0.3581, allocations: 113 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3581, allocations: 4 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.3581, allocations: 0 / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3581, allocations: 0 / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.3583, allocations: 27.92 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3583, allocations: 3.984 kB / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.831e-05/0.3583, allocations: 0 / 1.078 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.3584, allocations: 7.938 kB / 1.078 GB, free: 3.008 MB / 0.8262 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 0.0001278/0.3585, allocations: 121.8 kB / 1.078 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.184e-05/0.3585, allocations: 3.938 kB / 1.078 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.3588, allocations: 109.6 kB / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3588, allocations: 0 / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3588, allocations: 0 / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.3588, allocations: 0 / 1.078 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.3593, allocations: 362.4 kB / 1.079 GB, free: 2.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3593, allocations: 4.188 kB / 1.079 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.3594, allocations: 23.92 kB / 1.079 GB, free: 2.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3594, allocations: 4 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3594, allocations: 3.984 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3595, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3598, allocations: 215.7 kB / 1.079 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.875e-05/0.3599, allocations: 93.03 kB / 1.079 GB, free: 1.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.3599, allocations: 4.062 kB / 1.079 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.594e-05/0.36, allocations: 4 kB / 1.079 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.36, allocations: 7.984 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.36, allocations: 4 kB / 1.079 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.182e-05/0.3601, allocations: 83.27 kB / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.3601, allocations: 0 / 1.079 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003103/0.3604, allocations: 40 kB / 1.079 GB, free: 1.836 MB / 0.8262 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.0002912/0.3607, allocations: 143.2 kB / 1.079 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001563/0.3609, allocations: 71.95 kB / 1.079 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3609, allocations: 0 / 1.079 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.178e-05/0.3609, allocations: 35.92 kB / 1.079 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.3612, allocations: 4 kB / 1.079 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003995/0.3616, allocations: 198.8 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.3619, allocations: 0.6926 MB / 1.08 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.984e-05/0.3619, allocations: 11.94 kB / 1.08 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.362, allocations: 15.42 kB / 1.08 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of SimCode: time 7.02e-07/0.362, allocations: 0 / 1.08 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of Templates: time 0.004548/0.3665, allocations: 1.377 MB / 1.082 GB, free: 15.24 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)