Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.666/2.666, allocations: 287.3 MB / 302.3 MB, free: 8.398 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.001454/0.001454, allocations: 184.6 kB / 370.8 MB, free: 10.88 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.052/2.052, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001258/0.001257, allocations: 101.5 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004971/0.0004974, allocations: 11.66 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2348, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.922/1.157, allocations: 138.5 MB / 1.114 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.157, allocations: 96.38 kB / 1.114 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00848/1.166, allocations: 1.762 MB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.037e-06/1.166, allocations: 7.141 kB / 1.115 GB, free: 31.13 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.045e-05/1.166, allocations: 0 / 1.115 GB, free: 31.13 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.000987/1.167, allocations: 441.6 kB / 1.116 GB, free: 30.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/1.167, allocations: 15.52 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.639e-05/1.167, allocations: 36.22 kB / 1.116 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/1.167, allocations: 16.92 kB / 1.116 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/1.167, allocations: 175.8 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/1.167, allocations: 6.469 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/1.167, allocations: 8.656 kB / 1.116 GB, free: 30.49 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/1.168, allocations: 93.83 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.168, allocations: 1.188 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/1.168, allocations: 3.25 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/1.168, allocations: 6.453 kB / 1.116 GB, free: 30.45 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/1.168, allocations: 84.17 kB / 1.116 GB, free: 30.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/1.169, allocations: 415.7 kB / 1.117 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/1.169, allocations: 59.98 kB / 1.117 GB, free: 30.13 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.169, allocations: 7.984 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/1.169, allocations: 33.19 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 2.545e-06/1.169, allocations: 3.781 kB / 1.117 GB, free: 30.09 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0005455/1.17, allocations: 131.2 kB / 1.117 GB, free: 30.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/1.17, allocations: 57.42 kB / 1.117 GB, free: 29.98 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/1.17, allocations: 139.9 kB / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/1.17, allocations: 25.7 kB / 1.117 GB, free: 29.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.505e-05/1.17, allocations: 104 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/1.17, allocations: 17.75 kB / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.062e-05/1.17, allocations: 0 / 1.117 GB, free: 29.76 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001226/1.17, allocations: 317.2 kB / 1.118 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/1.171, allocations: 33.08 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/1.171, allocations: 33.69 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.171, allocations: 29.75 kB / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.171, allocations: 0 / 1.118 GB, free: 29.44 MB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003858/1.171, allocations: 113.2 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.171, allocations: 7.812 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.171, allocations: 3.938 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.171, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/1.171, allocations: 11.03 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.171, allocations: 0 / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/1.172, allocations: 36.02 kB / 1.118 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/1.172, allocations: 3.75 kB / 1.118 GB, free: 29.39 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.0001301/1.172, allocations: 119.7 kB / 1.118 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.208e-05/1.172, allocations: 15.59 kB / 1.118 GB, free: 29.26 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.725e-05/1.172, allocations: 15.36 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/1.172, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/1.172, allocations: 3.875 kB / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.172, allocations: 0 / 1.118 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/1.172, allocations: 195.5 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.172, allocations: 3.953 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/1.172, allocations: 10.77 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/1.173, allocations: 3.875 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/1.173, allocations: 0 / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/1.173, allocations: 4 kB / 1.118 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.173, allocations: 3.938 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003742/1.173, allocations: 191.9 kB / 1.118 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/1.173, allocations: 84.97 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/1.173, allocations: 9.953 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000333/1.173, allocations: 31.47 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/1.173, allocations: 9.328 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.191e-05/1.174, allocations: 6.797 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001014/1.174, allocations: 120.2 kB / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.11e-07/1.174, allocations: 0 / 1.119 GB, free: 28.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003054/1.174, allocations: 15.78 kB / 1.119 GB, free: 28.73 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.0006922/1.175, allocations: 0.7341 MB / 1.119 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003511/1.175, allocations: 75.48 kB / 1.119 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.175, allocations: 0 / 1.119 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/1.175, allocations: 43.64 kB / 1.119 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/1.176, allocations: 12.31 kB / 1.119 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/1.177, allocations: 0.6842 MB / 1.12 GB, free: 27.66 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002909/1.177, allocations: 0.7055 MB / 1.121 GB, free: 26.96 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.54e-05/1.178, allocations: 10.3 kB / 1.121 GB, free: 26.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/1.178, allocations: 29.42 kB / 1.121 GB, free: 26.95 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.178, allocations: 0 / 1.121 GB, free: 26.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/1.198, allocations: 2.256 MB / 1.123 GB, free: 26.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.199, allocations: 192.3 kB / 1.123 GB, free: 26.51 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.304/3.503, allocations: 0 / 1.123 GB, free: 26.51 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_8.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)