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.001185/0.001185, allocations: 103.1 kB / 16.41 MB, free: 6.457 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.00124/0.00124, allocations: 189.7 kB / 17.34 MB, free: 5.715 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.14 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.537/2.537, allocations: 437 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 63.91 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9101/0.9117, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002057/0.9138, allocations: 0.6333 MB / 1.168 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.9145, allocations: 346.8 kB / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.513e-05/0.9146, allocations: 0 / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.9146, allocations: 0 / 1.168 GB, free: 2.871 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.754e-05/0.9147, allocations: 7.938 kB / 1.168 GB, free: 2.863 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005482/0.9152, allocations: 121.5 kB / 1.168 GB, free: 2.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.47e-05/0.9153, allocations: 19.98 kB / 1.168 GB, free: 2.727 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.9154, allocations: 7.938 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.256e-05/0.9154, allocations: 8 kB / 1.168 GB, free: 2.711 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.983e-05/0.9155, allocations: 23.84 kB / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.9155, allocations: 0 / 1.168 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.9159, allocations: 275.6 kB / 1.169 GB, free: 2.418 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.916, allocations: 12 kB / 1.169 GB, free: 2.406 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.511e-05/0.916, allocations: 11.94 kB / 1.169 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.9162, allocations: 104.2 kB / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9162, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9162, allocations: 0 / 1.169 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.274e-06/0.9162, allocations: 0 / 1.169 GB, free: 2.297 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.000492/0.9167, allocations: 363.1 kB / 1.169 GB, free: 1.891 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9168, allocations: 16.02 kB / 1.169 GB, free: 1.875 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.9169, allocations: 4.891 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001312/0.917, allocations: 168.4 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.917, allocations: 384 / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.9171, allocations: 8.375 kB / 1.169 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9172, allocations: 46.25 kB / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.9172, allocations: 192 / 1.169 GB, free: 1.609 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.9172, allocations: 3.938 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9172, allocations: 0 / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.9173, allocations: 23.92 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001963/0.9175, allocations: 173.6 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.9176, allocations: 58.56 kB / 1.17 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.9177, allocations: 32.84 kB / 1.17 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007004/0.9184, allocations: 453.5 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.9184, allocations: 38.56 kB / 1.17 GB, free: 0.6797 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 6.692e-06/0.9184, allocations: 3.984 kB / 1.17 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001311/0.9198, allocations: 0.5956 MB / 1.171 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.9198, allocations: 55.34 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.815e-05/0.9199, allocations: 97.86 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.9199, allocations: 25.7 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.571e-05/0.9199, allocations: 80.14 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.48e-05/0.92, allocations: 51.58 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.92, allocations: 25.7 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/0.9201, allocations: 314.8 kB / 1.171 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/0.9202, allocations: 23.98 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-05/0.9202, allocations: 26.47 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.869e-05/0.9203, allocations: 58.34 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.9203, allocations: 4 kB / 1.171 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001564/0.9205, allocations: 97.56 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9205, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.9205, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9206, allocations: 4 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.9207, allocations: 19.98 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.9207, allocations: 3.938 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.9207, allocations: 8 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.9207, allocations: 4 kB / 1.172 GB, free: 15.05 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 8.525e-05/0.9208, allocations: 117.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.9209, allocations: 11.89 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001978/0.9211, allocations: 105.7 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.9211, allocations: 0 / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9211, allocations: 4 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.9211, allocations: 0 / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.9215, allocations: 362.5 kB / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9215, allocations: 0 / 1.172 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.9216, allocations: 23.98 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.9216, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.9216, allocations: 4 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.9216, allocations: 0 / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9216, allocations: 4 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.9219, allocations: 224.8 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.597e-05/0.922, allocations: 93.14 kB / 1.173 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.922, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.9221, allocations: 4 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.329e-05/0.9221, allocations: 7.984 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.9221, allocations: 0 / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.494e-05/0.9222, allocations: 83.28 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9222, allocations: 0 / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000274/0.9224, allocations: 39.94 kB / 1.173 GB, free: 13.87 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.0002608/0.9227, allocations: 147.4 kB / 1.173 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.9229, allocations: 63.86 kB / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9229, allocations: 0 / 1.173 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.996e-05/0.9229, allocations: 35.92 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.9232, allocations: 7.062 kB / 1.173 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003649/0.9235, allocations: 206.8 kB / 1.173 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.9238, allocations: 0.6846 MB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.9238, allocations: 23.44 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/0.9238, allocations: 0 / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of Templates: time 0.0031/0.9269, allocations: 1.216 MB / 1.175 GB, free: 11.44 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)