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.715/1.715, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001076/0.001076, allocations: 176.8 kB / 361.4 MB, free: 6.848 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.792/1.792, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0008849/0.0008848, allocations: 95.17 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.911e-05, allocations: 4 kB / 0.8518 GB, free: 2.59 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8033, allocations: 115.3 MB / 0.9645 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.019, allocations: 138 MB / 1.099 GB, free: 1.738 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/1.019, allocations: 90.23 kB / 1.099 GB, free: 1.652 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005187/1.024, allocations: 1.745 MB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.823e-06/1.024, allocations: 4.625 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.125e-06/1.024, allocations: 0 / 1.101 GB, free: 15.95 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.0006639/1.025, allocations: 429 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/1.025, allocations: 8.031 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/1.025, allocations: 12.84 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/1.025, allocations: 191 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/1.025, allocations: 4 kB / 1.102 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.025, allocations: 4 kB / 1.102 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001301/1.025, allocations: 48.56 kB / 1.102 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/1.025, allocations: 72.61 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/1.025, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/1.026, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/1.026, allocations: 0.9375 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008437/1.026, allocations: 377.6 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.027, allocations: 58.52 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/1.027, allocations: 27.14 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/1.027, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/1.027, allocations: 34.56 kB / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/1.027, allocations: 0 / 1.102 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5): time 0.0002027/1.027, allocations: 64.41 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.027, allocations: 55.41 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/1.027, allocations: 122.7 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/1.027, allocations: 25.7 kB / 1.102 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.796e-05/1.027, allocations: 112.1 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/1.027, allocations: 19.8 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/1.027, allocations: 0 / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001476/1.027, allocations: 314.8 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.353e-05/1.027, allocations: 23.98 kB / 1.103 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.912e-05/1.027, allocations: 16 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/1.027, allocations: 22.98 kB / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.027, allocations: 0 / 1.103 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00012/1.028, allocations: 73.55 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/1.028, allocations: 8 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.028, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/1.028, allocations: 0 / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/1.028, allocations: 15.38 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/1.028, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/1.028, allocations: 31.97 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/1.028, allocations: 0 / 1.103 GB, free: 13.65 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.432e-05/1.028, allocations: 107.7 kB / 1.103 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001128/1.028, allocations: 73.48 kB / 1.103 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/1.028, allocations: 7.906 kB / 1.103 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/1.028, allocations: 20.39 kB / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/1.028, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.028, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.028, allocations: 0 / 1.103 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001999/1.029, allocations: 175.7 kB / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/1.029, allocations: 0 / 1.103 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/1.029, allocations: 15.94 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/1.029, allocations: 1.312 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/1.029, allocations: 0 / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/1.029, allocations: 4 kB / 1.103 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.029, allocations: 4 kB / 1.103 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/1.029, allocations: 164.2 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.513e-05/1.029, allocations: 87.69 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.257e-05/1.029, allocations: 7.953 kB / 1.104 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/1.029, allocations: 31.97 kB / 1.104 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/1.029, allocations: 11.97 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/1.029, allocations: 5.875 kB / 1.104 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.598e-05/1.029, allocations: 101.5 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.029, allocations: 0 / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002181/1.03, allocations: 15.94 kB / 1.104 GB, free: 12.76 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.0004564/1.03, allocations: 0.7044 MB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001423/1.03, allocations: 49.61 kB / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/1.03, allocations: 0 / 1.105 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/1.03, allocations: 24 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/1.03, allocations: 4.219 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004524/1.031, allocations: 152.3 kB / 1.105 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/1.031, allocations: 0.7041 MB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.517e-05/1.031, allocations: 4.188 kB / 1.105 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/1.031, allocations: 27.42 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of SimCode: time 3.296e-06/1.031, allocations: 4 kB / 1.106 GB, free: 11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02035/1.052, allocations: 1.759 MB / 1.107 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.052, allocations: 161.2 kB / 1.107 GB, free: 9.129 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.822, allocations: 0 / 1.107 GB, free: 9.129 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)