Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.865/1.865, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.002017/0.002017, allocations: 177 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.232/2.232, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.001069/0.00107, allocations: 89.84 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004119/0.0004117, allocations: 8 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3389, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.983/1.322, allocations: 140.2 MB / 1.125 GB, free: 34.78 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/1.322, allocations: 87.05 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006328/1.329, allocations: 2.419 MB / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.085e-06/1.329, allocations: 0 / 1.128 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.329, allocations: 0.5625 kB / 1.128 GB, free: 32.97 MB / 0.7292 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.0005751/1.329, allocations: 435.6 kB / 1.128 GB, free: 32.51 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.329, allocations: 16.02 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.594e-05/1.329, allocations: 42.53 kB / 1.128 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/1.33, allocations: 14.47 kB / 1.128 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/1.33, allocations: 163.1 kB / 1.128 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/1.33, allocations: 8.656 kB / 1.128 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.101e-05/1.33, allocations: 15.38 kB / 1.128 GB, free: 32.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/1.33, allocations: 94.72 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.33, allocations: 0.7969 kB / 1.129 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/1.33, allocations: 4 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/1.33, allocations: 0.6875 kB / 1.129 GB, free: 32.13 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002317/1.33, allocations: 73.53 kB / 1.129 GB, free: 32.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005605/1.331, allocations: 380.6 kB / 1.129 GB, free: 31.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/1.331, allocations: 61.69 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/1.331, allocations: 0.7031 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/1.331, allocations: 86.14 kB / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/1.331, allocations: 0 / 1.129 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=6): time 0.0004284/1.332, allocations: 151 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/1.332, allocations: 55.41 kB / 1.129 GB, free: 31.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.497e-05/1.332, allocations: 113.2 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/1.332, allocations: 37.17 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/1.332, allocations: 103.9 kB / 1.13 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/1.332, allocations: 15.33 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.195e-05/1.332, allocations: 0 / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/1.332, allocations: 318.8 kB / 1.13 GB, free: 30.78 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/1.332, allocations: 54.41 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/1.332, allocations: 82.69 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/1.333, allocations: 80.55 kB / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.333, allocations: 0 / 1.13 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003818/1.333, allocations: 211.9 kB / 1.13 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/1.333, allocations: 29.7 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/1.333, allocations: 4.562 kB / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.333, allocations: 0 / 1.13 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.333, allocations: 23.48 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/1.333, allocations: 0.75 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/1.333, allocations: 57.83 kB / 1.13 GB, free: 30.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/1.333, allocations: 4.562 kB / 1.13 GB, free: 30.27 MB / 0.7292 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 () * Number of clocked 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 9.462e-05/1.333, allocations: 122.9 kB / 1.13 GB, free: 30.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/1.334, allocations: 7.906 kB / 1.13 GB, free: 30.14 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/1.334, allocations: 16.31 kB / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/1.334, allocations: 0 / 1.131 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.334, allocations: 3.953 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/1.334, allocations: 2.531 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001396/1.334, allocations: 188.2 kB / 1.131 GB, free: 29.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/1.334, allocations: 4 kB / 1.131 GB, free: 29.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/1.334, allocations: 16 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/1.334, allocations: 0 / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/1.334, allocations: 7.516 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/1.334, allocations: 0 / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.334, allocations: 0.875 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/1.334, allocations: 139.9 kB / 1.131 GB, free: 29.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/1.334, allocations: 77.11 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/1.334, allocations: 4.812 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.961e-05/1.334, allocations: 15.42 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/1.334, allocations: 14.84 kB / 1.131 GB, free: 29.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/1.334, allocations: 4 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.676e-05/1.334, allocations: 95.41 kB / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.334, allocations: 0 / 1.131 GB, free: 29.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002345/1.335, allocations: 39.27 kB / 1.131 GB, free: 29.5 MB / 0.7292 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) * Number of clocked states: 0 () * 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.0005225/1.335, allocations: 0.6781 MB / 1.132 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003511/1.336, allocations: 180.9 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.336, allocations: 0 / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.336, allocations: 43.77 kB / 1.132 GB, free: 28.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/1.336, allocations: 5.609 kB / 1.132 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007288/1.337, allocations: 0.7222 MB / 1.133 GB, free: 27.85 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/1.337, allocations: 0.6948 MB / 1.133 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.11e-05/1.337, allocations: 9.047 kB / 1.133 GB, free: 27.13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.417e-05/1.337, allocations: 22.62 kB / 1.133 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.337, allocations: 0 / 1.133 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/1.353, allocations: 2.369 MB / 1.136 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001813/1.353, allocations: 192 kB / 1.136 GB, free: 25.61 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/3.262, allocations: 0 / 1.136 GB, free: 25.61 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.fmu > Buildings_8_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1)