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.001141/0.001141, allocations: 101.2 kB / 16.27 MB, free: 5.98 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.001193/0.001193, allocations: 195 kB / 17.2 MB, free: 5.609 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.186/1.186, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6762/0.6762, allocations: 122.8 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.264, allocations: 77.92 MB / 0.5673 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Validation.OffTimerNonZeroStart): time 0.002105/0.2661, allocations: 1.459 MB / 0.5687 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004891/0.2667, allocations: 444.8 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.481e-05/0.2667, allocations: 0.5625 kB / 0.5691 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.297e-05/0.2667, allocations: 7.047 kB / 0.5691 GB, free: 31.47 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.2668, allocations: 8.922 kB / 0.5691 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001167/0.2669, allocations: 17.91 kB / 0.5692 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.34e-05/0.267, allocations: 55.33 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.595e-05/0.2671, allocations: 13.14 kB / 0.5692 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.018e-05/0.2671, allocations: 23.94 kB / 0.5692 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.2672, allocations: 23.42 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.2672, allocations: 4.062 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.079e-05/0.2672, allocations: 4.344 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.2673, allocations: 9.359 kB / 0.5693 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.2673, allocations: 31.22 kB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 7.387e-05/0.2674, allocations: 44.55 kB / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2674, allocations: 0 / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2674, allocations: 0 / 0.5694 GB, free: 31.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.2674, allocations: 0 / 0.5694 GB, free: 31.36 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.0003543/0.2678, allocations: 361.8 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.2678, allocations: 10.28 kB / 0.5697 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.338e-05/0.2678, allocations: 38.17 kB / 0.5697 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.259e-05/0.2679, allocations: 8.281 kB / 0.5698 GB, free: 30.95 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.293e-05/0.2679, allocations: 164.4 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.437e-06/0.2679, allocations: 9.422 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.268, allocations: 3.344 kB / 0.5699 GB, free: 30.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.2681, allocations: 63.72 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2681, allocations: 0.75 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.2681, allocations: 1.156 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2681, allocations: 2.5 kB / 0.57 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.338e-05/0.2681, allocations: 29.38 kB / 0.57 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.2685, allocations: 317.9 kB / 0.5703 GB, free: 30.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.2686, allocations: 50.36 kB / 0.5704 GB, free: 30.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.2686, allocations: 27.88 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.2687, allocations: 2.031 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.2688, allocations: 76.61 kB / 0.5705 GB, free: 30.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.2688, allocations: 0 / 0.5705 GB, free: 30.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0001736/0.269, allocations: 102.6 kB / 0.5706 GB, free: 30.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.13e-05/0.269, allocations: 55.08 kB / 0.5706 GB, free: 30.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.569e-05/0.269, allocations: 109.8 kB / 0.5707 GB, free: 30.05 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.808e-06/0.269, allocations: 27.25 kB / 0.5708 GB, free: 30.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.2691, allocations: 95.64 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.2691, allocations: 16.41 kB / 0.5709 GB, free: 29.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.2691, allocations: 26.03 kB / 0.5709 GB, free: 29.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.2692, allocations: 323.5 kB / 0.5712 GB, free: 29.58 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.212e-05/0.2692, allocations: 15.58 kB / 0.5712 GB, free: 29.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.015e-05/0.2693, allocations: 48.98 kB / 0.5713 GB, free: 29.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.2693, allocations: 70.22 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2693, allocations: 0.5938 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001153/0.2695, allocations: 98.27 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2695, allocations: 5.312 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2695, allocations: 1.844 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.2695, allocations: 1.094 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.207e-05/0.2696, allocations: 16.03 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.2696, allocations: 1.062 kB / 0.5714 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.2696, allocations: 10.69 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.2697, allocations: 8.625 kB / 0.5715 GB, free: 29.41 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 4.857e-05/0.2697, allocations: 121 kB / 0.5716 GB, free: 29.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.2697, allocations: 12.25 kB / 0.5716 GB, free: 29.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.984e-05/0.2697, allocations: 8.422 kB / 0.5716 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2698, allocations: 2.219 kB / 0.5716 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2698, allocations: 1.688 kB / 0.5716 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2698, allocations: 0 / 0.5716 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002745/0.27, allocations: 364.7 kB / 0.5719 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2701, allocations: 4.062 kB / 0.5719 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.412e-05/0.2701, allocations: 4.781 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2701, allocations: 0.7812 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.2701, allocations: 0.6562 kB / 0.572 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.2701, allocations: 5.766 kB / 0.572 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.2701, allocations: 1 kB / 0.572 GB, free: 28.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001098/0.2702, allocations: 183 kB / 0.5721 GB, free: 28.78 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.607e-05/0.2703, allocations: 81.27 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.246e-05/0.2703, allocations: 1.906 kB / 0.5722 GB, free: 28.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.2704, allocations: 9.484 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.2704, allocations: 15.14 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.2704, allocations: 5.016 kB / 0.5722 GB, free: 28.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.076e-05/0.2704, allocations: 83.94 kB / 0.5723 GB, free: 28.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2704, allocations: 3.938 kB / 0.5723 GB, free: 28.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2707, allocations: 18.77 kB / 0.5723 GB, free: 28.59 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.000227/0.2709, allocations: 0.7146 MB / 0.573 GB, free: 27.91 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001209/0.271, allocations: 56.41 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.271, allocations: 0 / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.393e-05/0.2711, allocations: 27.67 kB / 0.5731 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.2713, allocations: 14.03 kB / 0.5731 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.2721, allocations: 1.36 MB / 0.5745 GB, free: 26.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.392e-05/0.2722, allocations: 0.6857 MB / 0.5751 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.344e-05/0.2722, allocations: 5.844 kB / 0.5751 GB, free: 25.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.2723, allocations: 21.75 kB / 0.5752 GB, free: 25.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2723, allocations: 0 / 0.5752 GB, free: 25.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.965/3.237, allocations: 1.738 MB / 0.5769 GB, free: 25.56 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.786/12.02, allocations: 4.906 kB / 0.5769 GB, free: 25.56 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)