Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 285.6 MB / 293.1 MB, free: 10.14 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001508, allocations: 176.4 kB / 361.4 MB, free: 6.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.3 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009942/0.000994, allocations: 96.84 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.105e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7142/0.7142, allocations: 115.3 MB / 0.9645 GB, free: 78.7 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2874/1.002, allocations: 138.4 MB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.002, allocations: 91.94 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007167/1.009, allocations: 2.402 MB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.472e-06/1.009, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.009, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005644/1.01, allocations: 418.5 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/1.01, allocations: 12.03 kB / 1.102 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/1.01, allocations: 12.94 kB / 1.103 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/1.01, allocations: 177.9 kB / 1.103 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.01, allocations: 8 kB / 1.103 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/1.01, allocations: 8 kB / 1.103 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001126/1.01, allocations: 31.94 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/1.01, allocations: 64.23 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/1.01, allocations: 0 / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.01, allocations: 2.938 kB / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/1.01, allocations: 0 / 1.103 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/1.011, allocations: 359.3 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/1.011, allocations: 38.58 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/1.011, allocations: 20.8 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/1.011, allocations: 0 / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/1.011, allocations: 71.48 kB / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/1.011, allocations: 0 / 1.103 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0002137/1.012, allocations: 77.48 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/1.012, allocations: 51.41 kB / 1.103 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/1.012, allocations: 116.9 kB / 1.103 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/1.012, allocations: 29.7 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-05/1.012, allocations: 100 kB / 1.104 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.782e-05/1.012, allocations: 11.91 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.23e-05/1.012, allocations: 4 kB / 1.104 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.012, allocations: 322.8 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.352e-05/1.012, allocations: 29.69 kB / 1.104 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.75e-05/1.012, allocations: 63.42 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/1.012, allocations: 35.97 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/1.012, allocations: 7.969 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003304/1.013, allocations: 133.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/1.013, allocations: 38.95 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/1.013, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/1.013, allocations: 4 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/1.013, allocations: 15.92 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/1.013, allocations: 1.641 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/1.013, allocations: 59.91 kB / 1.104 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/1.013, allocations: 7.984 kB / 1.104 GB, free: 12.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,conEquSta.onBoi,$PRE.conEquSta.hys.y,conEquSta.hys.y,$PRE.onSys.y,onSys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001071/1.013, allocations: 117 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001034/1.013, allocations: 65.59 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.214e-05/1.014, allocations: 10.81 kB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/1.014, allocations: 8.625 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.014, allocations: 7.891 kB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.014, allocations: 7.922 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.014, allocations: 4 kB / 1.105 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/1.014, allocations: 162.2 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/1.014, allocations: 1.781 kB / 1.105 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.919e-05/1.014, allocations: 19.92 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/1.014, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.557e-06/1.014, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/1.014, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.014, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/1.014, allocations: 96.98 kB / 1.105 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/1.014, allocations: 81.09 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/1.014, allocations: 4 kB / 1.105 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.657e-05/1.014, allocations: 15.98 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/1.014, allocations: 11.98 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/1.014, allocations: 4 kB / 1.105 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.806e-05/1.014, allocations: 91.27 kB / 1.105 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.014, allocations: 3.938 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002363/1.015, allocations: 32.08 kB / 1.105 GB, free: 11.58 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004853/1.015, allocations: 0.6434 MB / 1.106 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000223/1.015, allocations: 139.3 kB / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.015, allocations: 0 / 1.106 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/1.015, allocations: 24 kB / 1.106 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/1.016, allocations: 8.641 kB / 1.106 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004213/1.016, allocations: 152.3 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/1.016, allocations: 0.697 MB / 1.107 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.874e-05/1.016, allocations: 192 / 1.107 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/1.016, allocations: 24.55 kB / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of SimCode: time 3e-07/1.016, allocations: 0 / 1.107 GB, free: 9.797 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/1.037, allocations: 1.998 MB / 1.109 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/1.037, allocations: 170.2 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.804, allocations: 5.547 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)