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 2.148/2.148, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.00115/0.00115, allocations: 186.2 kB / 371.8 MB, free: 10.25 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.96/1.96, allocations: 205.4 MB / 0.6305 GB, free: 9.984 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.0009516/0.0009516, allocations: 93.53 kB / 0.7439 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004329/0.0004328, allocations: 10.97 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2738, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8807/1.155, allocations: 138.7 MB / 1.115 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/1.155, allocations: 88.08 kB / 1.115 GB, free: 16.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005374/1.16, allocations: 1.768 MB / 1.117 GB, free: 32.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.535e-06/1.16, allocations: 4 kB / 1.117 GB, free: 32.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.486e-06/1.16, allocations: 0 / 1.117 GB, free: 32.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006956/1.161, allocations: 440.8 kB / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/1.161, allocations: 11.77 kB / 1.117 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.353e-05/1.161, allocations: 42.06 kB / 1.117 GB, free: 31.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.74e-05/1.161, allocations: 11.62 kB / 1.117 GB, free: 31.72 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/1.161, allocations: 182.1 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.161, allocations: 15.2 kB / 1.117 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/1.161, allocations: 7.812 kB / 1.117 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002287/1.162, allocations: 96.42 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/1.162, allocations: 0 / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/1.162, allocations: 3.312 kB / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/1.162, allocations: 0 / 1.118 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/1.162, allocations: 81.14 kB / 1.118 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007346/1.163, allocations: 414.2 kB / 1.118 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/1.163, allocations: 70.66 kB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/1.163, allocations: 4 kB / 1.118 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/1.163, allocations: 33.19 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/1.163, allocations: 0 / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0003552/1.163, allocations: 127.2 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/1.163, allocations: 51.41 kB / 1.118 GB, free: 31.01 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/1.163, allocations: 143.1 kB / 1.118 GB, free: 30.91 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/1.163, allocations: 25.7 kB / 1.118 GB, free: 30.88 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/1.163, allocations: 107.7 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/1.163, allocations: 14.38 kB / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/1.163, allocations: 0 / 1.119 GB, free: 30.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001188/1.164, allocations: 321.1 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.218e-05/1.164, allocations: 37.61 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.113e-05/1.164, allocations: 32.44 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/1.164, allocations: 25.31 kB / 1.119 GB, free: 30.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.164, allocations: 3.938 kB / 1.119 GB, free: 30.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001946/1.164, allocations: 116.2 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.164, allocations: 5.688 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/1.164, allocations: 0 / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/1.164, allocations: 3.875 kB / 1.119 GB, free: 30.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/1.164, allocations: 14.27 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.164, allocations: 0 / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/1.164, allocations: 31.64 kB / 1.119 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/1.164, allocations: 3.844 kB / 1.119 GB, free: 30.41 MB / 0.698 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 () * Number of clocked 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 0.0001203/1.164, allocations: 116.2 kB / 1.119 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/1.165, allocations: 15.73 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.135e-05/1.165, allocations: 19.48 kB / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.165, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.165, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.165, allocations: 0 / 1.119 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/1.165, allocations: 199.2 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/1.165, allocations: 0 / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.593e-05/1.165, allocations: 10.52 kB / 1.119 GB, free: 30.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/1.165, allocations: 10.8 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/1.165, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/1.165, allocations: 7.875 kB / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.165, allocations: 0 / 1.119 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/1.165, allocations: 194.7 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/1.165, allocations: 81.33 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/1.165, allocations: 11.73 kB / 1.12 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/1.165, allocations: 35.34 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/1.165, allocations: 12.31 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/1.166, allocations: 6.75 kB / 1.12 GB, free: 29.83 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.675e-05/1.166, allocations: 118.8 kB / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.754e-06/1.166, allocations: 0 / 1.12 GB, free: 29.75 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002143/1.166, allocations: 19.38 kB / 1.12 GB, free: 29.75 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * 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.000474/1.166, allocations: 0.7238 MB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001914/1.167, allocations: 68.55 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/1.167, allocations: 3.812 kB / 1.121 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/1.167, allocations: 39.47 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/1.167, allocations: 15.42 kB / 1.121 GB, free: 29.08 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/1.168, allocations: 0.6881 MB / 1.121 GB, free: 28.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.168, allocations: 0.7085 MB / 1.122 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.513e-05/1.168, allocations: 14.61 kB / 1.122 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/1.168, allocations: 31.14 kB / 1.122 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/1.168, allocations: 0 / 1.122 GB, free: 27.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01321/1.181, allocations: 2.25 MB / 1.124 GB, free: 27.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001827/1.182, allocations: 209.7 kB / 1.125 GB, free: 27.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/2.972, allocations: 0 / 1.125 GB, free: 27.53 MB / 0.698 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)