Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.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.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.413/1.413, allocations: 249.5 MB / 257 MB, free: 6.965 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.001029/0.001029, allocations: 172.9 kB / 316.3 MB, free: 3.227 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.42/1.42, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.0008349/0.000835, allocations: 92.38 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.73e-05/1.732e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1756, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6859/0.8615, allocations: 132.6 MB / 1.015 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.8618, allocations: 73.08 kB / 1.015 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002842/0.8646, allocations: 1.083 MB / 1.016 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8647, allocations: 4 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8647, allocations: 0 / 1.016 GB, free: 4.094 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003821/0.8651, allocations: 354.3 kB / 1.016 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.8651, allocations: 8.031 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.397e-05/0.8652, allocations: 7.906 kB / 1.016 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.8653, allocations: 174.9 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.8653, allocations: 4.734 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.8653, allocations: 8 kB / 1.016 GB, free: 3.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.598e-05/0.8654, allocations: 22.48 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.8655, allocations: 48.5 kB / 1.017 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.8655, allocations: 7.875 kB / 1.017 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.8656, allocations: 6.625 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.8656, allocations: 0.875 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.866, allocations: 283.4 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.366e-05/0.8661, allocations: 44.83 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.8662, allocations: 23.45 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.8662, allocations: 96 / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.8664, allocations: 73.83 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.343e-06/0.8664, allocations: 0 / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001726/0.8666, allocations: 74.75 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/0.8666, allocations: 55.39 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.557e-05/0.8667, allocations: 104 kB / 1.017 GB, free: 2.711 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.8667, allocations: 25.7 kB / 1.017 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/0.8667, allocations: 83.39 kB / 1.017 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.8668, allocations: 26.81 kB / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/0.8668, allocations: 0 / 1.017 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.705e-05/0.8669, allocations: 322.1 kB / 1.018 GB, free: 2.254 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.732e-05/0.8669, allocations: 13.44 kB / 1.018 GB, free: 2.246 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.867, allocations: 41.61 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.867, allocations: 24.7 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.867, allocations: 3.938 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001178/0.8672, allocations: 83.81 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.8672, allocations: 8 kB / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.8672, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.8672, allocations: 0 / 1.018 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.8673, allocations: 11.98 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.8673, allocations: 4 kB / 1.018 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.035e-05/0.8674, allocations: 7.906 kB / 1.018 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.8674, allocations: 11.45 kB / 1.018 GB, free: 2.066 MB / 0.6355 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 8.453e-05/0.8675, allocations: 120.9 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.969e-05/0.8676, allocations: 75.91 kB / 1.018 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.8676, allocations: 7.906 kB / 1.018 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.737e-05/0.8676, allocations: 4.688 kB / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.8676, allocations: 0 / 1.018 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.8677, allocations: 7.938 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.8677, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003726/0.8681, allocations: 331.6 kB / 1.018 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.8681, allocations: 0 / 1.018 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.8681, allocations: 4 kB / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.8681, allocations: 0 / 1.018 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.8681, allocations: 4 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.94e-06/0.8681, allocations: 7.938 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8681, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001352/0.8683, allocations: 170.6 kB / 1.019 GB, free: 1.309 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.88e-05/0.8683, allocations: 85.11 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.8683, allocations: 3.984 kB / 1.019 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.8684, allocations: 4 kB / 1.019 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.458e-05/0.8685, allocations: 15.75 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.8685, allocations: 8.062 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.019e-05/0.8685, allocations: 79.28 kB / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8685, allocations: 0 / 1.019 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002155/0.8688, allocations: 11.98 kB / 1.019 GB, free: 1.09 MB / 0.6355 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.0004165/0.8692, allocations: 0.7098 MB / 1.019 GB, free: 376 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.8693, allocations: 48.8 kB / 1.019 GB, free: 340 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.8693, allocations: 4 kB / 1.019 GB, free: 336 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.8694, allocations: 23.5 kB / 1.019 GB, free: 316 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.8696, allocations: 11.89 kB / 1.019 GB, free: 304 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.87, allocations: 143.6 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.8703, allocations: 0.6906 MB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.755e-05/0.8703, allocations: 7.953 kB / 1.02 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.858e-05/0.8704, allocations: 18.69 kB / 1.02 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.7e-07/0.8704, allocations: 0 / 1.02 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01899/0.8894, allocations: 1.17 MB / 1.021 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/0.8896, allocations: 147.9 kB / 1.022 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.553/2.442, allocations: 0 / 1.022 GB, free: 14.05 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_maint.7.0.x_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)