Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.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: "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 103.3 kB / 15.98 MB, free: 6.344 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: 195.6 kB / 16.91 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.23/1.23, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6617/0.6617, allocations: 115.3 MB / 406.1 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.89 kB / 493.2 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2688, allocations: 76.17 MB / 0.556 GB, free: 36.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002258/0.2711, allocations: 1.521 MB / 0.5575 GB, free: 35.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005326/0.2717, allocations: 449.4 kB / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.77e-05/0.2717, allocations: 0 / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.838e-05/0.2718, allocations: 0.8906 kB / 0.5579 GB, free: 34.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.664e-05/0.2719, allocations: 8.109 kB / 0.5579 GB, free: 34.98 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.272, allocations: 16.77 kB / 0.558 GB, free: 34.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.645e-05/0.2721, allocations: 56.98 kB / 0.558 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.2722, allocations: 15.56 kB / 0.558 GB, free: 34.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.473e-05/0.2722, allocations: 21.02 kB / 0.558 GB, free: 34.93 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.585e-05/0.2723, allocations: 19.06 kB / 0.5581 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2723, allocations: 3.906 kB / 0.5581 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.2723, allocations: 4.219 kB / 0.5581 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.2723, allocations: 13.61 kB / 0.5581 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.955e-05/0.2724, allocations: 24.5 kB / 0.5581 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.2724, allocations: 45.25 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2725, allocations: 0 / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2725, allocations: 1.031 kB / 0.5581 GB, free: 34.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.2725, allocations: 0 / 0.5581 GB, free: 34.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003724/0.2728, allocations: 366.6 kB / 0.5585 GB, free: 34.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.308e-05/0.2729, allocations: 10.88 kB / 0.5585 GB, free: 34.51 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.36e-05/0.2729, allocations: 35.34 kB / 0.5585 GB, free: 34.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.2729, allocations: 11.28 kB / 0.5586 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.463e-05/0.273, allocations: 170.2 kB / 0.5587 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.2731, allocations: 2.938 kB / 0.5587 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.2731, allocations: 3.906 kB / 0.5587 GB, free: 34.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.2732, allocations: 68.42 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.2732, allocations: 0 / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2732, allocations: 1.078 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.2732, allocations: 6.594 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.393e-05/0.2733, allocations: 23.48 kB / 0.5588 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.2736, allocations: 307.2 kB / 0.5591 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.2737, allocations: 59.31 kB / 0.5592 GB, free: 33.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.2738, allocations: 22.14 kB / 0.5592 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.145e-06/0.2738, allocations: 1 kB / 0.5592 GB, free: 33.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.2739, allocations: 74.09 kB / 0.5593 GB, free: 33.8 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.2739, allocations: 4.5 kB / 0.5593 GB, free: 33.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001877/0.2741, allocations: 98.38 kB / 0.5594 GB, free: 33.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.2742, allocations: 56.69 kB / 0.5594 GB, free: 33.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.833e-05/0.2742, allocations: 109.9 kB / 0.5595 GB, free: 33.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.2742, allocations: 28.89 kB / 0.5595 GB, free: 33.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.2743, allocations: 90.75 kB / 0.5596 GB, free: 33.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.82e-05/0.2743, allocations: 22.03 kB / 0.5596 GB, free: 33.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.2743, allocations: 26.97 kB / 0.5597 GB, free: 33.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.579e-05/0.2744, allocations: 320.4 kB / 0.56 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.004e-05/0.2744, allocations: 19.62 kB / 0.56 GB, free: 33.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.2745, allocations: 43.52 kB / 0.56 GB, free: 33.06 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.52e-05/0.2745, allocations: 70.58 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2745, allocations: 1.969 kB / 0.5601 GB, free: 33.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001178/0.2747, allocations: 97.14 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2747, allocations: 5.625 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2747, allocations: 2 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.2747, allocations: 1.594 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.371e-05/0.2748, allocations: 16.03 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2748, allocations: 1.562 kB / 0.5602 GB, free: 32.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.287e-05/0.2748, allocations: 14.95 kB / 0.5602 GB, free: 32.94 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2749, allocations: 12.25 kB / 0.5603 GB, free: 32.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.161e-05/0.2749, allocations: 121.6 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.095e-05/0.2749, allocations: 6.188 kB / 0.5604 GB, free: 32.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.455e-05/0.275, allocations: 9.125 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.275, allocations: 1.406 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.275, allocations: 0.75 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.275, allocations: 3.938 kB / 0.5604 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002878/0.2753, allocations: 361.6 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2753, allocations: 2.031 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.2753, allocations: 4.406 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.125e-06/0.2753, allocations: 1.656 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.2753, allocations: 1.375 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.2753, allocations: 4.641 kB / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2753, allocations: 0 / 0.5607 GB, free: 32.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.2755, allocations: 183.2 kB / 0.5609 GB, free: 32.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.2755, allocations: 85.42 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.2755, allocations: 0.6562 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.2756, allocations: 15.3 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.2756, allocations: 6.891 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.2757, allocations: 4.219 kB / 0.561 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.196e-05/0.2757, allocations: 84.84 kB / 0.5611 GB, free: 32.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2757, allocations: 1.188 kB / 0.5611 GB, free: 32.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2759, allocations: 12.09 kB / 0.5611 GB, free: 32.13 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002425/0.2762, allocations: 0.7197 MB / 0.5618 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.2763, allocations: 59.89 kB / 0.5619 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2763, allocations: 1.219 kB / 0.5619 GB, free: 31.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.2764, allocations: 23.7 kB / 0.5619 GB, free: 31.42 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2766, allocations: 19.59 kB / 0.5619 GB, free: 31.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.2774, allocations: 1.379 MB / 0.5633 GB, free: 30.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.343e-05/0.2775, allocations: 0.6856 MB / 0.5639 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.642e-05/0.2775, allocations: 5.781 kB / 0.5639 GB, free: 29.42 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.744e-05/0.2776, allocations: 18.33 kB / 0.564 GB, free: 29.41 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2776, allocations: 0 / 0.564 GB, free: 29.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.076/1.353, allocations: 1.6 MB / 0.5655 GB, free: 29.2 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001504/1.354, allocations: 207.3 kB / 0.5657 GB, free: 28.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/3.456, allocations: 3.719 kB / 0.5657 GB, free: 28.95 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart_fmu --startTime=-1 --stopTime=0 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Validation_OffTimerNonZeroStart.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart.pipe 2>&1)