Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 289.7 MB / 302.2 MB, free: 2.164 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.001344/0.001344, allocations: 182.4 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.2 MB / 0.6309 GB, free: 11.74 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.0009244/0.0009244, allocations: 90.14 kB / 0.745 GB, free: 54.49 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.526e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2624, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9336/1.196, allocations: 139.6 MB / 1.116 GB, free: 44.18 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.196, allocations: 74.97 kB / 1.116 GB, free: 44.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002964/1.199, allocations: 1.094 MB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.199, allocations: 0.7812 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.516e-06/1.199, allocations: 0 / 1.117 GB, free: 43.43 MB / 0.7448 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.0003508/1.2, allocations: 347.9 kB / 1.118 GB, free: 43.07 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.2, allocations: 9.562 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.783e-05/1.2, allocations: 37.88 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/1.2, allocations: 4.062 kB / 1.118 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/1.2, allocations: 175.2 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.2, allocations: 3.766 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/1.2, allocations: 8.406 kB / 1.118 GB, free: 42.81 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/1.2, allocations: 52.33 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/1.2, allocations: 0 / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/1.2, allocations: 10.09 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/1.2, allocations: 4 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.311e-05/1.2, allocations: 19.98 kB / 1.118 GB, free: 42.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/1.201, allocations: 317.2 kB / 1.118 GB, free: 42.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/1.201, allocations: 53.73 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/1.201, allocations: 27.28 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.406e-05/1.201, allocations: 1.266 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001348/1.201, allocations: 73.19 kB / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.201, allocations: 0 / 1.118 GB, free: 42.29 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0001746/1.201, allocations: 80.11 kB / 1.119 GB, free: 42.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/1.201, allocations: 62.69 kB / 1.119 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.542e-05/1.201, allocations: 97.17 kB / 1.119 GB, free: 42.06 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/1.201, allocations: 29.7 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/1.202, allocations: 87.42 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.079e-05/1.202, allocations: 19.53 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/1.202, allocations: 4 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.876e-05/1.202, allocations: 321.9 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/1.202, allocations: 15.5 kB / 1.119 GB, free: 41.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/1.202, allocations: 43.98 kB / 1.119 GB, free: 41.55 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.908e-05/1.202, allocations: 20.72 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.202, allocations: 4 kB / 1.119 GB, free: 41.54 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001137/1.202, allocations: 95.39 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.202, allocations: 4 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/1.202, allocations: 4.625 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/1.202, allocations: 0 / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/1.202, allocations: 15.41 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/1.202, allocations: 4 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.403e-05/1.202, allocations: 12.17 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/1.202, allocations: 8.484 kB / 1.119 GB, free: 41.42 MB / 0.7448 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 5.858e-05/1.202, allocations: 119.9 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/1.202, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/1.202, allocations: 12.67 kB / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.202, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.202, allocations: 0 / 1.119 GB, free: 41.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.202, allocations: 3.938 kB / 1.119 GB, free: 41.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/1.203, allocations: 369.2 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/1.203, allocations: 1.031 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/1.203, allocations: 7.984 kB / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/1.203, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/1.203, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/1.203, allocations: 0 / 1.12 GB, free: 40.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.203, allocations: 4.516 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/1.203, allocations: 181.6 kB / 1.12 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.041e-05/1.203, allocations: 81.02 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/1.203, allocations: 4 kB / 1.12 GB, free: 40.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/1.203, allocations: 15.02 kB / 1.12 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/1.203, allocations: 11.89 kB / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/1.203, allocations: 0 / 1.12 GB, free: 40.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.354e-05/1.203, allocations: 87.52 kB / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.203, allocations: 0 / 1.12 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002021/1.203, allocations: 15.56 kB / 1.12 GB, free: 40.54 MB / 0.7448 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.0003115/1.204, allocations: 0.707 MB / 1.121 GB, free: 39.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001242/1.204, allocations: 59.94 kB / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.204, allocations: 0 / 1.121 GB, free: 39.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/1.204, allocations: 30.33 kB / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/1.204, allocations: 4.766 kB / 1.121 GB, free: 39.76 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004584/1.204, allocations: 158.1 kB / 1.121 GB, free: 39.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/1.205, allocations: 0.6877 MB / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.043e-05/1.205, allocations: 8.969 kB / 1.122 GB, free: 38.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/1.205, allocations: 14.56 kB / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/1.205, allocations: 0 / 1.122 GB, free: 38.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/1.218, allocations: 1.479 MB / 1.123 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001891/1.218, allocations: 153.2 kB / 1.123 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.767/2.985, allocations: 0 / 1.123 GB, free: 37.88 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)