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.SystemOnOff.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.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.859/1.859, allocations: 285.4 MB / 298 MB, free: 5.984 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.001619/0.00162, allocations: 180.8 kB / 366.4 MB, free: 2.102 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.775/1.775, allocations: 205.1 MB / 0.6248 GB, free: 7.73 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.001137/0.001137, allocations: 98.12 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.475e-05/4.494e-05, allocations: 4 kB / 0.8584 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8253, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2084/1.034, allocations: 138.6 MB / 1.106 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/1.034, allocations: 90.19 kB / 1.106 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.005675/1.04, allocations: 1.772 MB / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.944e-06/1.04, allocations: 0 / 1.108 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.988e-06/1.04, allocations: 0 / 1.108 GB, free: 11.32 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007417/1.041, allocations: 430.9 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/1.041, allocations: 12.03 kB / 1.109 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/1.041, allocations: 38.56 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/1.041, allocations: 11.81 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/1.041, allocations: 187 kB / 1.109 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/1.041, allocations: 4 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/1.041, allocations: 11.94 kB / 1.109 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/1.041, allocations: 81.67 kB / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/1.041, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/1.041, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.041, allocations: 0 / 1.109 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/1.041, allocations: 51.95 kB / 1.109 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008713/1.042, allocations: 412.6 kB / 1.109 GB, free: 9.961 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/1.042, allocations: 58.55 kB / 1.109 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.902e-05/1.043, allocations: 24.98 kB / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/1.043, allocations: 0 / 1.109 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/1.043, allocations: 38.5 kB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/1.043, allocations: 0 / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002224/1.043, allocations: 69.59 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/1.043, allocations: 52.81 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/1.043, allocations: 136.9 kB / 1.11 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/1.043, allocations: 29.7 kB / 1.11 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.382e-05/1.043, allocations: 108 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/1.043, allocations: 11.81 kB / 1.11 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-06/1.043, allocations: 8 kB / 1.11 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.043, allocations: 318.8 kB / 1.11 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/1.043, allocations: 20 kB / 1.11 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/1.043, allocations: 26.09 kB / 1.11 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/1.043, allocations: 15.94 kB / 1.11 GB, free: 9 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/1.044, allocations: 3.953 kB / 1.11 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001507/1.044, allocations: 73.59 kB / 1.11 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.044, allocations: 4 kB / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.044, allocations: 0 / 1.11 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/1.044, allocations: 4 kB / 1.11 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/1.044, allocations: 13.95 kB / 1.11 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/1.044, allocations: 7.281 kB / 1.11 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/1.044, allocations: 31.97 kB / 1.11 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/1.044, allocations: 4 kB / 1.11 GB, free: 8.859 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.712e-05/1.044, allocations: 111.7 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/1.044, allocations: 15.8 kB / 1.111 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.205e-05/1.044, allocations: 16.08 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.044, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/1.044, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/1.044, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/1.045, allocations: 205.5 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.045, allocations: 0.5 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/1.045, allocations: 19.94 kB / 1.111 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/1.045, allocations: 4 kB / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.045, allocations: 1.875 kB / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.043e-06/1.045, allocations: 0 / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.045, allocations: 0 / 1.111 GB, free: 8.441 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/1.045, allocations: 159.5 kB / 1.111 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.734e-05/1.045, allocations: 89.02 kB / 1.111 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/1.045, allocations: 7.938 kB / 1.111 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.045, allocations: 31.97 kB / 1.111 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/1.045, allocations: 19.67 kB / 1.111 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/1.045, allocations: 7.984 kB / 1.111 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.928e-05/1.045, allocations: 110.1 kB / 1.111 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.045, allocations: 4 kB / 1.111 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002304/1.046, allocations: 15.94 kB / 1.111 GB, free: 7.977 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0005192/1.046, allocations: 0.7021 MB / 1.112 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001413/1.046, allocations: 47.94 kB / 1.112 GB, free: 7.207 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.046, allocations: 4 kB / 1.112 GB, free: 7.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.313e-05/1.046, allocations: 27.98 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/1.047, allocations: 11.95 kB / 1.112 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000498/1.047, allocations: 157.5 kB / 1.112 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.047, allocations: 0.7004 MB / 1.113 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.535e-05/1.048, allocations: 11.98 kB / 1.113 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/1.048, allocations: 23.42 kB / 1.113 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/1.048, allocations: 0 / 1.113 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/1.062, allocations: 2.249 MB / 1.115 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/1.062, allocations: 185.7 kB / 1.115 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.83, allocations: 0 / 1.115 GB, free: 3.945 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)