Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001123/0.001123, allocations: 106.5 kB / 16.41 MB, free: 6.484 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.001179/0.001179, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.481/2.481, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.91 kB / 1.019 GB, free: 9.328 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8088/0.8102, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001612/0.8119, allocations: 0.6179 MB / 1.168 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0006578/0.8126, allocations: 350.7 kB / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.594e-05/0.8126, allocations: 0 / 1.168 GB, free: 2.988 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.8126, allocations: 3.938 kB / 1.168 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.8126, allocations: 8 kB / 1.168 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.8131, allocations: 117.2 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.945e-05/0.8132, allocations: 27.97 kB / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.392e-05/0.8132, allocations: 0 / 1.168 GB, free: 2.836 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.898e-05/0.8133, allocations: 15.92 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.514e-05/0.8133, allocations: 15.92 kB / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.8133, allocations: 0 / 1.168 GB, free: 2.805 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.8137, allocations: 279.6 kB / 1.169 GB, free: 2.531 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.8137, allocations: 4 kB / 1.169 GB, free: 2.527 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.449e-05/0.8138, allocations: 15.92 kB / 1.169 GB, free: 2.512 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.8139, allocations: 95.78 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8139, allocations: 3.984 kB / 1.169 GB, free: 2.414 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8139, allocations: 7.938 kB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.618e-06/0.814, allocations: 0 / 1.169 GB, free: 2.406 MB / 0.8887 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.0004032/0.8144, allocations: 359 kB / 1.169 GB, free: 2.008 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.8144, allocations: 12.03 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.944e-05/0.8145, allocations: 4.922 kB / 1.169 GB, free: 1.992 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001097/0.8146, allocations: 176.3 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.8146, allocations: 384 / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.8146, allocations: 8.375 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.8147, allocations: 46.23 kB / 1.169 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.8148, allocations: 4.188 kB / 1.169 GB, free: 1.719 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.8148, allocations: 11.88 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.8148, allocations: 0 / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.271e-05/0.8148, allocations: 19.98 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001826/0.815, allocations: 165.6 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.8151, allocations: 62.5 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.8152, allocations: 28.84 kB / 1.17 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/0.8159, allocations: 461.5 kB / 1.17 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.8159, allocations: 30.56 kB / 1.17 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.8159, allocations: 4 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001231/0.8172, allocations: 0.5875 MB / 1.171 GB, free: 112 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.8172, allocations: 55.41 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.069e-05/0.8173, allocations: 101.8 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.8173, allocations: 25.7 kB / 1.171 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 2.967e-05/0.8174, allocations: 84.14 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.8174, allocations: 35.45 kB / 1.171 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.8175, allocations: 25.72 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.8176, allocations: 322.8 kB / 1.171 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.155e-05/0.8176, allocations: 27.98 kB / 1.171 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.8176, allocations: 18.47 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.8177, allocations: 58.09 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.8177, allocations: 0 / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.8179, allocations: 105.5 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.8179, allocations: 6.188 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.8179, allocations: 0 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.818, allocations: 192 / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8181, allocations: 31.92 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.8181, allocations: 0 / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.345e-05/0.8181, allocations: 4 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.8181, allocations: 4 kB / 1.172 GB, free: 15.17 MB / 0.9044 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 7.458e-05/0.8182, allocations: 113.8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.8182, allocations: 11.83 kB / 1.172 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001852/0.8184, allocations: 113.5 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.8184, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.8184, allocations: 96 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.8185, allocations: 3.938 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.8188, allocations: 354.5 kB / 1.172 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.8188, allocations: 3.938 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001062/0.8189, allocations: 27.92 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.819, allocations: 4 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.819, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.819, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.819, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.8192, allocations: 224.9 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.623e-05/0.8193, allocations: 89.19 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.8193, allocations: 4 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.8194, allocations: 4 kB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.8194, allocations: 0 / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.8194, allocations: 11.98 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.313e-05/0.8195, allocations: 79.28 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.433e-06/0.8195, allocations: 3.938 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002667/0.8198, allocations: 43.94 kB / 1.173 GB, free: 13.99 MB / 0.9044 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.0002441/0.82, allocations: 147.2 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.8202, allocations: 59.92 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8202, allocations: 0 / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.655e-05/0.8202, allocations: 31.92 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8204, allocations: 8.562 kB / 1.173 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.8208, allocations: 207.9 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.8211, allocations: 0.6846 MB / 1.174 GB, free: 12.79 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.085e-05/0.8211, allocations: 19.44 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.8211, allocations: 0 / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of Templates: time 0.003442/0.8246, allocations: 1.219 MB / 1.175 GB, free: 11.56 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)