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.386/1.386, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001225/0.001225, allocations: 183.2 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 1.788/1.788, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008845/0.0008845, allocations: 101.6 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 9.625 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 106.3 MB / 0.9002 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.3954, allocations: 132.4 MB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00033/0.3958, allocations: 75.95 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004934/0.4008, allocations: 1.114 MB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4008, allocations: 0 / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.4008, allocations: 4 kB / 1.031 GB, free: 10.09 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006242/0.4014, allocations: 355.3 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.4015, allocations: 8.031 kB / 1.031 GB, free: 9.688 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.938e-05/0.4016, allocations: 38.55 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.4017, allocations: 4 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.4018, allocations: 178.9 kB / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.4019, allocations: 0 / 1.031 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.4019, allocations: 8 kB / 1.031 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4021, allocations: 57.67 kB / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4021, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4022, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4022, allocations: 0 / 1.031 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001169/0.4023, allocations: 35.91 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.403, allocations: 304.7 kB / 1.032 GB, free: 8.969 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.4032, allocations: 54.59 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.4032, allocations: 4.031 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002304/0.4035, allocations: 71.58 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.745e-06/0.4035, allocations: 0 / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000344/0.4039, allocations: 109.4 kB / 1.032 GB, free: 8.707 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.4039, allocations: 51.41 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.404, allocations: 105 kB / 1.032 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.507e-05/0.4041, allocations: 25.7 kB / 1.032 GB, free: 8.504 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.4041, allocations: 84.14 kB / 1.032 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.4042, allocations: 27.69 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/0.4042, allocations: 4 kB / 1.032 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4044, allocations: 319.5 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.852e-05/0.4044, allocations: 19.92 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.54e-05/0.4046, allocations: 47.36 kB / 1.032 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.744e-05/0.4046, allocations: 20 kB / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.4047, allocations: 0 / 1.032 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002535/0.4049, allocations: 97.52 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.405, allocations: 8 kB / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.405, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.405, allocations: 0 / 1.033 GB, free: 7.859 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.4052, allocations: 12 kB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.4052, allocations: 15.94 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.4053, allocations: 11.92 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.4054, allocations: 8 kB / 1.033 GB, free: 7.812 MB / 0.6823 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 0.0001249/0.4055, allocations: 117.9 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.998e-05/0.4055, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.4056, allocations: 7.969 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4056, allocations: 4 kB / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4056, allocations: 0 / 1.033 GB, free: 7.672 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.4056, allocations: 7.938 kB / 1.033 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.4063, allocations: 362.4 kB / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4063, allocations: 480 / 1.033 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.245e-05/0.4063, allocations: 4 kB / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.4064, allocations: 0 / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.4064, allocations: 0 / 1.033 GB, free: 7.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.4064, allocations: 3.953 kB / 1.033 GB, free: 7.246 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4064, allocations: 3.938 kB / 1.033 GB, free: 7.242 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4067, allocations: 179.8 kB / 1.033 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.4068, allocations: 85.02 kB / 1.033 GB, free: 6.949 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/0.4068, allocations: 11.98 kB / 1.033 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.407, allocations: 7.984 kB / 1.033 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.335e-05/0.4071, allocations: 11.94 kB / 1.033 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.4071, allocations: 7.938 kB / 1.033 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.4072, allocations: 83.28 kB / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4072, allocations: 0 / 1.033 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004284/0.4076, allocations: 15.98 kB / 1.033 GB, free: 6.812 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: 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.0006142/0.4082, allocations: 0.7141 MB / 1.034 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.4085, allocations: 55.86 kB / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4085, allocations: 0 / 1.034 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.457e-05/0.4086, allocations: 27.97 kB / 1.034 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.4089, allocations: 7.953 kB / 1.034 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.4104, allocations: 0.9463 MB / 1.035 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.4107, allocations: 0.6887 MB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.612e-05/0.4108, allocations: 11.92 kB / 1.036 GB, free: 4.242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.4108, allocations: 15.44 kB / 1.036 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of SimCode: time 5.61e-07/0.4109, allocations: 4 kB / 1.036 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.4277, allocations: 1.459 MB / 1.037 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002687/0.428, allocations: 187.6 kB / 1.037 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.479/1.907, allocations: 0 / 1.037 GB, free: 2.648 MB / 0.6823 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)