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.513/1.513, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 182.9 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.000898/0.0008981, allocations: 93.98 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003686/0.0003687, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2654, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1809/0.4464, allocations: 132.6 MB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4467, allocations: 87.94 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00522/0.4519, allocations: 1.81 MB / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.268e-06/0.4519, allocations: 0 / 1.031 GB, free: 9.184 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.398e-06/0.452, allocations: 7.938 kB / 1.032 GB, free: 9.176 MB / 0.6823 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.0007447/0.4527, allocations: 438.9 kB / 1.032 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.4528, allocations: 12.03 kB / 1.032 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.4528, allocations: 42.5 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4529, allocations: 15.77 kB / 1.032 GB, free: 8.621 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.4531, allocations: 191.3 kB / 1.032 GB, free: 8.395 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.4531, allocations: 4 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/0.4532, allocations: 8 kB / 1.032 GB, free: 8.383 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.4534, allocations: 97.58 kB / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4534, allocations: 0 / 1.032 GB, free: 8.281 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.4535, allocations: 4 kB / 1.032 GB, free: 8.277 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.4535, allocations: 7.953 kB / 1.032 GB, free: 8.27 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.4537, allocations: 71.91 kB / 1.032 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008294/0.4545, allocations: 412.5 kB / 1.033 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.4547, allocations: 70.55 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.4548, allocations: 0 / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.4548, allocations: 30.56 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4548, allocations: 0 / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5): time 0.0003884/0.4552, allocations: 125.6 kB / 1.033 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.4553, allocations: 51.41 kB / 1.033 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.4554, allocations: 144.4 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.4555, allocations: 33.7 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.4555, allocations: 112.2 kB / 1.033 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.4556, allocations: 7.812 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-06/0.4556, allocations: 0 / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.4558, allocations: 326.8 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.4559, allocations: 31.98 kB / 1.034 GB, free: 6.77 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.401e-05/0.4559, allocations: 35.98 kB / 1.034 GB, free: 6.734 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.003e-05/0.456, allocations: 27.94 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.456, allocations: 0 / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002032/0.4562, allocations: 101.5 kB / 1.034 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4563, allocations: 4 kB / 1.034 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4563, allocations: 11.92 kB / 1.034 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4563, allocations: 4 kB / 1.034 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.843e-05/0.4564, allocations: 8 kB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.4564, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.4566, allocations: 31.97 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.4566, allocations: 3.984 kB / 1.034 GB, free: 6.539 MB / 0.6823 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.0001115/0.4567, allocations: 127.9 kB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.4568, allocations: 11.81 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.006e-05/0.4568, allocations: 8.562 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4568, allocations: 4 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.4569, allocations: 4 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4569, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.4571, allocations: 205.6 kB / 1.034 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.4571, allocations: 3.953 kB / 1.034 GB, free: 6.121 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/0.4572, allocations: 11.98 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4572, allocations: 3.938 kB / 1.034 GB, free: 6.105 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.4572, allocations: 7.938 kB / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.4572, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4572, allocations: 0 / 1.034 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002658/0.4575, allocations: 192.1 kB / 1.034 GB, free: 5.895 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.4576, allocations: 92.95 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.4576, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.4578, allocations: 35.97 kB / 1.035 GB, free: 5.75 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/0.4579, allocations: 11.98 kB / 1.035 GB, free: 5.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.4579, allocations: 3.984 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.082e-05/0.458, allocations: 113.3 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.11e-07/0.458, allocations: 0 / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002239/0.4582, allocations: 16 kB / 1.035 GB, free: 5.609 MB / 0.6823 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.0006808/0.4589, allocations: 0.7318 MB / 1.035 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002326/0.4592, allocations: 71.97 kB / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4592, allocations: 0 / 1.035 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.84e-05/0.4593, allocations: 39.92 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.4595, allocations: 11.98 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.4608, allocations: 0.7 MB / 1.036 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.4613, allocations: 0.7004 MB / 1.037 GB, free: 3.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.706e-05/0.4614, allocations: 11.98 kB / 1.037 GB, free: 3.238 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.275e-05/0.4615, allocations: 31.48 kB / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of SimCode: time 2e-07/0.4615, allocations: 0 / 1.037 GB, free: 3.207 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01398/0.4755, allocations: 2.258 MB / 1.039 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.4757, allocations: 201.9 kB / 1.039 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/2.086, allocations: 0 / 1.039 GB, free: 0.8906 MB / 0.6823 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)