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.416/1.416, allocations: 249.5 MB / 257 MB, free: 6.941 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.001098/0.001098, allocations: 184.8 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.673/1.673, allocations: 205.3 MB / 0.5671 GB, free: 15.85 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.0008821/0.000882, allocations: 94.31 kB / 0.6714 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.081e-05/2.11e-05, allocations: 7.984 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2221, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7748/0.9969, allocations: 132.8 MB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.9972, allocations: 85.44 kB / 1.015 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005176/1.002, allocations: 1.799 MB / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.763e-06/1.002, allocations: 0 / 1.017 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.015e-05/1.002, allocations: 4 kB / 1.017 GB, free: 2.91 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.0006553/1.003, allocations: 433.6 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.003, allocations: 8.031 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.098e-05/1.003, allocations: 11.86 kB / 1.017 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/1.003, allocations: 181.5 kB / 1.017 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/1.003, allocations: 7.938 kB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.003, allocations: 4 kB / 1.017 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001181/1.004, allocations: 43.12 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/1.004, allocations: 75.44 kB / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/1.004, allocations: 0 / 1.018 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/1.004, allocations: 4 kB / 1.018 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/1.004, allocations: 3.953 kB / 1.018 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007607/1.005, allocations: 380.9 kB / 1.018 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.999e-05/1.005, allocations: 50.8 kB / 1.018 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.575e-05/1.005, allocations: 16.8 kB / 1.018 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.005, allocations: 6.734 kB / 1.018 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/1.005, allocations: 38.38 kB / 1.018 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.943e-06/1.005, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0001974/1.005, allocations: 57.34 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/1.005, allocations: 59.03 kB / 1.018 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/1.005, allocations: 121 kB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.506e-05/1.005, allocations: 33.06 kB / 1.018 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.273e-05/1.005, allocations: 111.7 kB / 1.018 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/1.005, allocations: 15.62 kB / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/1.005, allocations: 0 / 1.018 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001123/1.005, allocations: 318.7 kB / 1.019 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/1.005, allocations: 19.69 kB / 1.019 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.111e-05/1.006, allocations: 15.62 kB / 1.019 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.059e-05/1.006, allocations: 11.81 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/1.006, allocations: 3.953 kB / 1.019 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001366/1.006, allocations: 76.41 kB / 1.019 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/1.006, allocations: 8 kB / 1.019 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/1.006, allocations: 7.688 kB / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.006, allocations: 0 / 1.019 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/1.006, allocations: 11.98 kB / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/1.006, allocations: 0 / 1.019 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/1.006, allocations: 31.97 kB / 1.019 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/1.006, allocations: 0 / 1.019 GB, free: 0.7656 MB / 0.6355 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 8.468e-05/1.006, allocations: 107.6 kB / 1.019 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001258/1.006, allocations: 72.17 kB / 1.019 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/1.006, allocations: 8.125 kB / 1.019 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.788e-05/1.006, allocations: 23.88 kB / 1.019 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/1.006, allocations: 3.938 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/1.006, allocations: 0 / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/1.006, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/1.007, allocations: 177.2 kB / 1.019 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/1.007, allocations: 0 / 1.019 GB, free: 368 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.165e-05/1.007, allocations: 11.98 kB / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.007, allocations: 0 / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.007, allocations: 0 / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.007, allocations: 0 / 1.019 GB, free: 356 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/1.007, allocations: 4 kB / 1.019 GB, free: 352 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/1.007, allocations: 162.8 kB / 1.019 GB, free: 184 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.918e-05/1.007, allocations: 88.97 kB / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/1.007, allocations: 0 / 1.02 GB, free: 76 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/1.007, allocations: 28.16 kB / 1.02 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/1.007, allocations: 27.84 kB / 1.02 GB, free: 24 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/1.007, allocations: 4 kB / 1.02 GB, free: 20 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.641e-05/1.007, allocations: 102.8 kB / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/1.007, allocations: 0 / 1.02 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002323/1.008, allocations: 15.94 kB / 1.02 GB, free: 15.91 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.0004238/1.008, allocations: 0.6999 MB / 1.02 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001225/1.008, allocations: 50.86 kB / 1.02 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.008, allocations: 0 / 1.02 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.717e-05/1.008, allocations: 23.56 kB / 1.02 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/1.008, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/1.009, allocations: 145.3 kB / 1.021 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/1.009, allocations: 0.708 MB / 1.021 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.964e-05/1.009, allocations: 4.188 kB / 1.021 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/1.009, allocations: 34.67 kB / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of SimCode: time 3.91e-07/1.009, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/1.029, allocations: 1.75 MB / 1.023 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.03, allocations: 169.2 kB / 1.023 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.639/2.668, allocations: 7.125 kB / 1.023 GB, free: 12.29 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)