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.752/1.752, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.001347/0.001347, allocations: 188.2 kB / 371.6 MB, free: 3.402 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.79/1.79, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0009591/0.0009591, allocations: 87.44 kB / 0.745 GB, free: 54.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.262e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3149/0.315, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9723/1.287, allocations: 140.1 MB / 1.117 GB, free: 43.89 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/1.288, allocations: 88.72 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006198/1.294, allocations: 2.409 MB / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.263e-06/1.294, allocations: 0 / 1.119 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.668e-06/1.294, allocations: 4 kB / 1.119 GB, free: 42.45 MB / 0.7448 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.0005528/1.294, allocations: 417.1 kB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/1.294, allocations: 8.031 kB / 1.12 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/1.295, allocations: 37.66 kB / 1.12 GB, free: 41.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/1.295, allocations: 14.41 kB / 1.12 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.295, allocations: 171.9 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/1.295, allocations: 11.2 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/1.295, allocations: 11.42 kB / 1.12 GB, free: 41.74 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/1.295, allocations: 80.33 kB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/1.295, allocations: 0 / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/1.295, allocations: 0 / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/1.295, allocations: 4 kB / 1.12 GB, free: 41.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.797e-05/1.295, allocations: 35.56 kB / 1.12 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/1.296, allocations: 377.3 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/1.296, allocations: 46.81 kB / 1.12 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.59e-05/1.296, allocations: 16.8 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/1.296, allocations: 7.828 kB / 1.12 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001284/1.296, allocations: 73.89 kB / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/1.296, allocations: 0 / 1.12 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0002062/1.296, allocations: 77.39 kB / 1.12 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/1.296, allocations: 55.41 kB / 1.121 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/1.296, allocations: 117.6 kB / 1.121 GB, free: 40.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/1.296, allocations: 33.58 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/1.296, allocations: 96.06 kB / 1.121 GB, free: 40.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.979e-05/1.296, allocations: 15.83 kB / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.134e-05/1.296, allocations: 0 / 1.121 GB, free: 40.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/1.296, allocations: 322 kB / 1.121 GB, free: 40.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/1.297, allocations: 39.25 kB / 1.121 GB, free: 40.48 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/1.297, allocations: 70.27 kB / 1.121 GB, free: 40.42 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.91e-05/1.297, allocations: 64.28 kB / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.297, allocations: 0 / 1.121 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002518/1.297, allocations: 164.3 kB / 1.121 GB, free: 40.23 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.297, allocations: 33.17 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.297, allocations: 4.656 kB / 1.121 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/1.297, allocations: 3.953 kB / 1.121 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.297, allocations: 19.89 kB / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.297, allocations: 0 / 1.121 GB, free: 40.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/1.297, allocations: 61.48 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/1.297, allocations: 4.75 kB / 1.122 GB, free: 40.13 MB / 0.7448 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 7.585e-05/1.298, allocations: 114 kB / 1.122 GB, free: 40.02 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/1.298, allocations: 8.469 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/1.298, allocations: 12.44 kB / 1.122 GB, free: 40.01 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/1.298, allocations: 4 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.298, allocations: 3.953 kB / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/1.298, allocations: 0 / 1.122 GB, free: 40 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/1.298, allocations: 190.5 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.298, allocations: 5.469 kB / 1.122 GB, free: 39.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.116e-05/1.298, allocations: 11.28 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/1.298, allocations: 3.938 kB / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/1.298, allocations: 0 / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/1.298, allocations: 0 / 1.122 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.298, allocations: 4.5 kB / 1.122 GB, free: 39.77 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/1.298, allocations: 107.4 kB / 1.122 GB, free: 39.67 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/1.298, allocations: 86.7 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/1.298, allocations: 7.469 kB / 1.122 GB, free: 39.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/1.298, allocations: 11.47 kB / 1.122 GB, free: 39.56 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/1.298, allocations: 11.16 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/1.298, allocations: 8.094 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.541e-05/1.298, allocations: 92.16 kB / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.298, allocations: 0 / 1.122 GB, free: 39.46 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002179/1.299, allocations: 31.75 kB / 1.122 GB, free: 39.44 MB / 0.7448 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.0003859/1.299, allocations: 0.6428 MB / 1.123 GB, free: 38.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002161/1.299, allocations: 145.2 kB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.299, allocations: 0 / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/1.299, allocations: 24.44 kB / 1.123 GB, free: 38.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/1.299, allocations: 16.86 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/1.3, allocations: 147.5 kB / 1.123 GB, free: 38.49 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/1.3, allocations: 0.6949 MB / 1.124 GB, free: 37.78 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.797e-05/1.3, allocations: 11 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/1.3, allocations: 27.25 kB / 1.124 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of SimCode: time 4.4e-07/1.3, allocations: 0 / 1.124 GB, free: 37.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01628/1.316, allocations: 2.384 MB / 1.126 GB, free: 36.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002064/1.317, allocations: 179.1 kB / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.843/3.16, allocations: 0 / 1.126 GB, free: 36.26 MB / 0.7448 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)