Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer",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 2.394/2.394, allocations: 285.6 MB / 293.1 MB, free: 10.16 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.001671/0.001671, allocations: 184.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 2.102/2.102, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008898/0.0008898, allocations: 84.42 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.832e-05/2.835e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11/1.11, allocations: 115.3 MB / 0.9644 GB, free: 78.73 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2813/1.391, allocations: 137.9 MB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/1.392, allocations: 79.89 kB / 1.099 GB, free: 1.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004777/1.396, allocations: 1.091 MB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.717e-06/1.397, allocations: 2.438 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.397, allocations: 0 / 1.1 GB, free: 0.6875 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000612/1.397, allocations: 357.7 kB / 1.101 GB, free: 304 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.882e-05/1.397, allocations: 8.031 kB / 1.101 GB, free: 296 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.389e-05/1.397, allocations: 5.031 kB / 1.101 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/1.398, allocations: 172.8 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/1.398, allocations: 4 kB / 1.101 GB, free: 76 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/1.398, allocations: 4 kB / 1.101 GB, free: 72 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001182/1.398, allocations: 19.98 kB / 1.101 GB, free: 52 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/1.398, allocations: 50.28 kB / 1.101 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.398, allocations: 0 / 1.101 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/1.398, allocations: 0.5938 kB / 1.101 GB, free: 16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/1.398, allocations: 5.125 kB / 1.101 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000692/1.399, allocations: 276.7 kB / 1.101 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/1.399, allocations: 55.19 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/1.399, allocations: 17.67 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/1.399, allocations: 4.844 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002127/1.399, allocations: 76.62 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 2.564e-06/1.399, allocations: 1.594 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0003156/1.4, allocations: 74.16 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.02e-05/1.4, allocations: 60.19 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/1.4, allocations: 98.2 kB / 1.102 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/1.4, allocations: 30.39 kB / 1.102 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/1.4, allocations: 81.14 kB / 1.102 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/1.4, allocations: 23.7 kB / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/1.4, allocations: 0 / 1.102 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.4, allocations: 319.4 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/1.4, allocations: 16.66 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.048e-05/1.4, allocations: 40.41 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/1.4, allocations: 24.86 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.4, allocations: 0 / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002217/1.401, allocations: 90.53 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.715e-05/1.401, allocations: 8.781 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/1.401, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.401, allocations: 5 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/1.401, allocations: 8 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/1.401, allocations: 4 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/1.401, allocations: 9.359 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.401, allocations: 4 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001447/1.401, allocations: 121.9 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001817/1.401, allocations: 80.91 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/1.401, allocations: 3.984 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.891e-05/1.402, allocations: 12.41 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.402, allocations: 0 / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.402, allocations: 0 / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/1.402, allocations: 3.953 kB / 1.102 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005054/1.402, allocations: 334.9 kB / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/1.402, allocations: 0 / 1.103 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/1.402, allocations: 7.375 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.402, allocations: 0 / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/1.402, allocations: 0 / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.402, allocations: 4 kB / 1.103 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.402, allocations: 3.953 kB / 1.103 GB, free: 13.98 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002391/1.402, allocations: 175.5 kB / 1.103 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/1.403, allocations: 86.64 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/1.403, allocations: 0 / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/1.403, allocations: 7.984 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.089e-05/1.403, allocations: 11.98 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/1.403, allocations: 11.89 kB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.907e-05/1.403, allocations: 80.97 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/1.403, allocations: 0 / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004215/1.403, allocations: 8 kB / 1.103 GB, free: 13.58 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: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006824/1.404, allocations: 0.7129 MB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001927/1.404, allocations: 39.94 kB / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.404, allocations: 0 / 1.104 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.363e-05/1.404, allocations: 34.83 kB / 1.104 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/1.405, allocations: 8.062 kB / 1.104 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007064/1.406, allocations: 135.9 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.406, allocations: 0.6885 MB / 1.105 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.142e-05/1.406, allocations: 7.984 kB / 1.105 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.776e-05/1.406, allocations: 19.44 kB / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of SimCode: time 3.61e-07/1.406, allocations: 0 / 1.105 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03263/1.439, allocations: 1.18 MB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/1.439, allocations: 146 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.02/3.459, allocations: 1.422 kB / 1.106 GB, free: 10.53 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.8.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)