Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.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: 174.6 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000908/0.000908, allocations: 87.77 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.196e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 106.3 MB / 0.8919 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7879/1.018, allocations: 132.5 MB / 1.021 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/1.019, allocations: 86.88 kB / 1.021 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005202/1.024, allocations: 1.812 MB / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.034e-06/1.024, allocations: 0 / 1.023 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.024, allocations: 0 / 1.023 GB, free: 0.5039 MB / 0.6355 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.0006175/1.024, allocations: 433.4 kB / 1.024 GB, free: 44 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.025, allocations: 8.031 kB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.464e-05/1.025, allocations: 38.19 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.583e-05/1.025, allocations: 11.86 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/1.025, allocations: 178.9 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/1.025, allocations: 11.48 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/1.025, allocations: 7.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/1.025, allocations: 83.05 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/1.025, allocations: 0 / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/1.025, allocations: 4 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/1.025, allocations: 3.953 kB / 1.024 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/1.025, allocations: 47 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007381/1.026, allocations: 419.9 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/1.026, allocations: 54.95 kB / 1.024 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.967e-05/1.026, allocations: 31.09 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/1.026, allocations: 3.984 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/1.026, allocations: 30.56 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/1.026, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5): time 0.0001971/1.026, allocations: 71.91 kB / 1.025 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/1.026, allocations: 51.41 kB / 1.025 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/1.027, allocations: 140 kB / 1.025 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/1.027, allocations: 25.7 kB / 1.025 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/1.027, allocations: 107.5 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/1.027, allocations: 14.94 kB / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/1.027, allocations: 0 / 1.025 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001194/1.027, allocations: 326.3 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.164e-05/1.027, allocations: 22.75 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.844e-05/1.027, allocations: 19.25 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/1.027, allocations: 22.66 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.027, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001202/1.027, allocations: 72.72 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.027, allocations: 8 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/1.027, allocations: 0.7031 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/1.027, allocations: 4 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/1.027, allocations: 11.98 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/1.027, allocations: 0 / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.027, allocations: 39.34 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/1.027, allocations: 224 / 1.025 GB, free: 14.23 MB / 0.6511 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 7.489e-05/1.028, allocations: 116.2 kB / 1.025 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.872e-05/1.028, allocations: 11.84 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/1.028, allocations: 12.03 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/1.028, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/1.028, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.028, allocations: 3.984 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/1.028, allocations: 203 kB / 1.026 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/1.028, allocations: 3.984 kB / 1.026 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.52e-05/1.028, allocations: 10.81 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.028, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.028, allocations: 7.922 kB / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.028, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/1.028, allocations: 0 / 1.026 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001562/1.028, allocations: 164.3 kB / 1.026 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/1.028, allocations: 95.59 kB / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/1.028, allocations: 0 / 1.026 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/1.028, allocations: 27.97 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/1.029, allocations: 18.91 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/1.029, allocations: 4 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.381e-05/1.029, allocations: 112.4 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.029, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002069/1.029, allocations: 23.84 kB / 1.026 GB, free: 13.39 MB / 0.6511 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.0004179/1.029, allocations: 0.7013 MB / 1.027 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001297/1.029, allocations: 56.05 kB / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.029, allocations: 0 / 1.027 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/1.029, allocations: 26.75 kB / 1.027 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/1.03, allocations: 15.02 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/1.03, allocations: 157.4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/1.03, allocations: 0.7082 MB / 1.028 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.774e-05/1.03, allocations: 7.984 kB / 1.028 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.777e-05/1.031, allocations: 29.05 kB / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/1.031, allocations: 0 / 1.028 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/1.043, allocations: 2.247 MB / 1.03 GB, free: 9.578 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000183/1.043, allocations: 191.1 kB / 1.03 GB, free: 9.344 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.77/2.813, allocations: 0 / 1.03 GB, free: 9.344 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1)