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.687/1.687, allocations: 292.6 MB / 307.5 MB, free: 5.086 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.001238/0.001238, allocations: 192.2 kB / 377.1 MB, free: 1.406 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.693/1.693, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.000838/0.0008379, allocations: 92.03 kB / 0.7509 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003785/0.0003785, allocations: 8 kB / 0.8748 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2485, allocations: 116.3 MB / 0.9884 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6686/0.9172, allocations: 139.7 MB / 1.125 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.9176, allocations: 72.38 kB / 1.125 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.004741/0.9223, allocations: 1.109 MB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.276e-06/0.9224, allocations: 0 / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.9224, allocations: 1.859 kB / 1.126 GB, free: 34.09 MB / 0.7292 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.0004938/0.9229, allocations: 356.6 kB / 1.126 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.923, allocations: 16.02 kB / 1.126 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.923, allocations: 37.7 kB / 1.126 GB, free: 33.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.9231, allocations: 6.562 kB / 1.126 GB, free: 33.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.9232, allocations: 171.5 kB / 1.127 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.9232, allocations: 4 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.9233, allocations: 7.438 kB / 1.127 GB, free: 33.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.9234, allocations: 57.47 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.9235, allocations: 1.266 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.9235, allocations: 8 kB / 1.127 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.9235, allocations: 4.5 kB / 1.127 GB, free: 33.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.503e-05/0.9236, allocations: 23.78 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005666/0.9242, allocations: 305.6 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.9244, allocations: 55.02 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.392e-05/0.9244, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.9246, allocations: 78.02 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.9246, allocations: 0.5625 kB / 1.127 GB, free: 32.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0002953/0.9249, allocations: 105.1 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.925, allocations: 63.36 kB / 1.127 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.099e-05/0.9251, allocations: 98.34 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.9251, allocations: 33.7 kB / 1.127 GB, free: 32.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.519e-05/0.9252, allocations: 84.05 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.063e-05/0.9252, allocations: 19.14 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.563e-06/0.9252, allocations: 0 / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.386e-05/0.9253, allocations: 318.3 kB / 1.128 GB, free: 32.17 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.9254, allocations: 18.69 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.9254, allocations: 47.36 kB / 1.128 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.761e-05/0.9255, allocations: 20 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9255, allocations: 3.469 kB / 1.128 GB, free: 32.08 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002015/0.9258, allocations: 98.47 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.9258, allocations: 6.188 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9258, allocations: 0.6094 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.9258, allocations: 4 kB / 1.128 GB, free: 31.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.9259, allocations: 12.94 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.926, allocations: 4.031 kB / 1.128 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.9261, allocations: 19.31 kB / 1.128 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.9261, allocations: 4 kB / 1.128 GB, free: 31.94 MB / 0.7292 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 () * Number of clocked 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.726e-05/0.9262, allocations: 118.3 kB / 1.128 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.9263, allocations: 8.844 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.153e-05/0.9263, allocations: 11.44 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.9263, allocations: 0 / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.9263, allocations: 4.703 kB / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.9264, allocations: 0 / 1.128 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.9269, allocations: 364.8 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.9269, allocations: 4 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.128e-05/0.9269, allocations: 0 / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.927, allocations: 4.5 kB / 1.128 GB, free: 31.41 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.927, allocations: 3.938 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.927, allocations: 4 kB / 1.128 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.927, allocations: 8.641 kB / 1.128 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.9272, allocations: 179.4 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.9273, allocations: 81 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.9273, allocations: 7.938 kB / 1.129 GB, free: 31.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.9275, allocations: 7.328 kB / 1.129 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.9275, allocations: 11.42 kB / 1.129 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.9276, allocations: 12.77 kB / 1.129 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.302e-05/0.9276, allocations: 80.55 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9276, allocations: 0.6562 kB / 1.129 GB, free: 31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004175/0.9281, allocations: 12 kB / 1.129 GB, free: 30.99 MB / 0.7292 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 () * Number of clocked 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.0003743/0.9284, allocations: 0.7165 MB / 1.13 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.9286, allocations: 55.55 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.9287, allocations: 0.75 kB / 1.13 GB, free: 30.21 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.9288, allocations: 27.55 kB / 1.13 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.9291, allocations: 12.27 kB / 1.13 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.9303, allocations: 0.9402 MB / 1.131 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.9304, allocations: 0.6877 MB / 1.131 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.349e-05/0.9305, allocations: 4 kB / 1.131 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.152e-05/0.9306, allocations: 18.81 kB / 1.131 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of SimCode: time 6.11e-07/0.9306, allocations: 1.031 kB / 1.131 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.9483, allocations: 1.447 MB / 1.133 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001478/0.9485, allocations: 168.5 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.579/2.528, allocations: 3.938 kB / 1.133 GB, free: 27.48 MB / 0.7292 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)