Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|y|der.x.|der.y.",fileNamePrefix="Buildings_latest_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.001087/0.001087, allocations: 100.4 kB / 16.41 MB, free: 5.977 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.001102/0.001102, allocations: 192.8 kB / 17.34 MB, free: 5.586 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.623/2.623, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 67.89 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9158/0.9174, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001945/0.9194, allocations: 0.632 MB / 1.209 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0007742/0.9202, allocations: 346.7 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.9202, allocations: 4 kB / 1.209 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.112e-05/0.9202, allocations: 3.938 kB / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.069e-05/0.9203, allocations: 0 / 1.209 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006307/0.9209, allocations: 126.7 kB / 1.21 GB, free: 12.48 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 7.899e-05/0.921, allocations: 23.97 kB / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.452e-05/0.9211, allocations: 0 / 1.21 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.424e-05/0.9211, allocations: 11.94 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.72e-05/0.9212, allocations: 15.92 kB / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.9212, allocations: 0 / 1.21 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.9217, allocations: 279.6 kB / 1.21 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/0.9217, allocations: 4 kB / 1.21 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.031e-05/0.9218, allocations: 19.91 kB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.922, allocations: 91.78 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.922, allocations: 8 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.394e-06/0.922, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.9221, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 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.0005392/0.9226, allocations: 367.2 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.84e-05/0.9227, allocations: 12.03 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.596e-05/0.9228, allocations: 0.9375 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001409/0.9229, allocations: 164.4 kB / 1.21 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.923, allocations: 12.25 kB / 1.211 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.923, allocations: 4.375 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.9231, allocations: 54.23 kB / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.9231, allocations: 192 / 1.211 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.9232, allocations: 11.88 kB / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9232, allocations: 0 / 1.211 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.922e-05/0.9232, allocations: 19.98 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002091/0.9235, allocations: 165.6 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.9236, allocations: 54.5 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.9236, allocations: 32.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007124/0.9244, allocations: 461.5 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.9244, allocations: 38.56 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.383e-06/0.9244, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.001457/0.9259, allocations: 0.5857 MB / 1.212 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001274/0.926, allocations: 55.41 kB / 1.212 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.9261, allocations: 102 kB / 1.212 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.9261, allocations: 29.64 kB / 1.212 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.9262, allocations: 84.14 kB / 1.212 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.9262, allocations: 35.45 kB / 1.212 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-05/0.9263, allocations: 33.7 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001116/0.9264, allocations: 310.8 kB / 1.213 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.317e-05/0.9264, allocations: 23.98 kB / 1.213 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.314e-05/0.9265, allocations: 19.98 kB / 1.213 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.208e-05/0.9266, allocations: 56.8 kB / 1.213 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.9266, allocations: 4 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001605/0.9268, allocations: 105.5 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.9268, allocations: 6.031 kB / 1.213 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.9268, allocations: 3.984 kB / 1.213 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.9268, allocations: 4 kB / 1.213 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.9269, allocations: 23.94 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.9269, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.927, allocations: 0 / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.927, allocations: 4 kB / 1.213 GB, free: 8.801 MB / 0.9356 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.283e-05/0.9271, allocations: 121.8 kB / 1.213 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.9271, allocations: 11.84 kB / 1.213 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001935/0.9273, allocations: 101.6 kB / 1.213 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.9273, allocations: 3.938 kB / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9273, allocations: 0 / 1.213 GB, free: 8.543 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.9273, allocations: 3.984 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004008/0.9278, allocations: 362.6 kB / 1.213 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.9278, allocations: 3.984 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.9279, allocations: 20 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.9279, allocations: 7.938 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.9279, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.9279, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9279, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.9282, allocations: 220.9 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.78e-05/0.9283, allocations: 89.12 kB / 1.214 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.9283, allocations: 3.938 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.242e-05/0.9284, allocations: 4 kB / 1.214 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/0.9285, allocations: 19.98 kB / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.9285, allocations: 0 / 1.214 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.9285, allocations: 79.28 kB / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9285, allocations: 0 / 1.214 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002929/0.9288, allocations: 43.98 kB / 1.214 GB, free: 7.613 MB / 0.9356 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.0003942/0.9292, allocations: 147.2 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.9294, allocations: 59.92 kB / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.9294, allocations: 0 / 1.214 GB, free: 7.402 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.9295, allocations: 39.92 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.9297, allocations: 4 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003714/0.9301, allocations: 199.9 kB / 1.214 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002548/0.9303, allocations: 0.6884 MB / 1.215 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/0.9304, allocations: 15.44 kB / 1.215 GB, free: 6.398 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.9304, allocations: 3.938 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.003056/0.9334, allocations: 1.216 MB / 1.216 GB, free: 5.184 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)