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.779/1.779, allocations: 288.2 MB / 303.2 MB, free: 8.199 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.001258/0.001258, allocations: 185 kB / 371.8 MB, free: 10.29 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.126/2.126, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001382/0.001382, allocations: 106.8 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004741, allocations: 20.02 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3363, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.011/1.347, allocations: 139.2 MB / 1.115 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/1.348, allocations: 87.86 kB / 1.115 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007393/1.355, allocations: 2.418 MB / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/1.355, allocations: 0 / 1.118 GB, free: 31.88 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.076e-05/1.355, allocations: 3.812 kB / 1.118 GB, free: 31.88 MB / 0.698 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.000723/1.356, allocations: 432 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.861e-05/1.356, allocations: 11.5 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.609e-05/1.356, allocations: 37.3 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/1.356, allocations: 11.66 kB / 1.118 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/1.356, allocations: 170.8 kB / 1.118 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/1.356, allocations: 7.125 kB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.373e-05/1.356, allocations: 13.88 kB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002603/1.356, allocations: 94.38 kB / 1.119 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.356, allocations: 0 / 1.119 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/1.356, allocations: 0 / 1.119 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.356, allocations: 3.875 kB / 1.119 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002145/1.357, allocations: 65.36 kB / 1.119 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006894/1.357, allocations: 388.2 kB / 1.119 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/1.358, allocations: 67.83 kB / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.358, allocations: 0 / 1.119 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002542/1.358, allocations: 91.31 kB / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/1.358, allocations: 0 / 1.119 GB, free: 30.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=6): time 0.0004442/1.358, allocations: 143.9 kB / 1.119 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/1.358, allocations: 55.22 kB / 1.119 GB, free: 30.72 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/1.359, allocations: 119 kB / 1.119 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.359, allocations: 29.55 kB / 1.12 GB, free: 30.59 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/1.359, allocations: 105.8 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.708e-05/1.359, allocations: 11 kB / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/1.359, allocations: 0 / 1.12 GB, free: 30.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.359, allocations: 320.7 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/1.359, allocations: 53.44 kB / 1.12 GB, free: 30.18 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/1.359, allocations: 94 kB / 1.12 GB, free: 30.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/1.359, allocations: 81.44 kB / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.359, allocations: 0 / 1.12 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003932/1.36, allocations: 205.6 kB / 1.12 GB, free: 30.04 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.036e-05/1.36, allocations: 39.75 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.36, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/1.36, allocations: 0 / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/1.36, allocations: 18.62 kB / 1.12 GB, free: 30 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/1.36, allocations: 11.88 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/1.36, allocations: 48.62 kB / 1.12 GB, free: 29.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/1.36, allocations: 11.69 kB / 1.12 GB, free: 29.98 MB / 0.698 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 0.0001222/1.36, allocations: 120.4 kB / 1.121 GB, free: 29.87 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.233e-05/1.36, allocations: 7.781 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/1.36, allocations: 14.78 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/1.36, allocations: 0 / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/1.36, allocations: 3.953 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/1.36, allocations: 3.062 kB / 1.121 GB, free: 29.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/1.361, allocations: 186.5 kB / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/1.361, allocations: 0 / 1.121 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/1.361, allocations: 14.45 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/1.361, allocations: 0 / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/1.361, allocations: 3.969 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/1.361, allocations: 0 / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.361, allocations: 2.438 kB / 1.121 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/1.361, allocations: 141.2 kB / 1.121 GB, free: 29.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.881e-05/1.361, allocations: 80.92 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/1.361, allocations: 2.953 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/1.361, allocations: 17.97 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/1.361, allocations: 9.828 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-06/1.361, allocations: 4 kB / 1.121 GB, free: 29.49 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.676e-05/1.361, allocations: 98.92 kB / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.361, allocations: 0 / 1.121 GB, free: 29.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002167/1.362, allocations: 34.83 kB / 1.121 GB, free: 29.4 MB / 0.698 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.0006669/1.362, allocations: 0.6741 MB / 1.122 GB, free: 28.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003886/1.363, allocations: 192.3 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.363, allocations: 3.938 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/1.363, allocations: 43.3 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001744/1.363, allocations: 11.06 kB / 1.122 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000809/1.364, allocations: 0.7049 MB / 1.123 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/1.364, allocations: 0.6961 MB / 1.123 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.583e-05/1.364, allocations: 3.969 kB / 1.123 GB, free: 27.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/1.364, allocations: 26.11 kB / 1.123 GB, free: 27.35 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/1.364, allocations: 0 / 1.123 GB, free: 27.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/1.379, allocations: 2.381 MB / 1.126 GB, free: 27.11 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/1.379, allocations: 216 kB / 1.126 GB, free: 26.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/3.179, allocations: 0 / 1.126 GB, free: 26.87 MB / 0.698 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)