Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.623/2.623, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001497/0.001498, allocations: 184.8 kB / 360.6 MB, free: 7.273 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.15/2.15, allocations: 205.3 MB / 0.6191 GB, free: 12.21 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.001014/0.001014, allocations: 101.1 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.285e-05/2.295e-05, allocations: 0 / 0.8508 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8077/0.8078, allocations: 115.3 MB / 0.9634 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/1.045, allocations: 137.8 MB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/1.045, allocations: 67.97 kB / 1.098 GB, free: 2.566 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004358/1.049, allocations: 1.094 MB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.192e-06/1.049, allocations: 0.5938 kB / 1.099 GB, free: 1.504 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.208e-05/1.049, allocations: 5.531 kB / 1.099 GB, free: 1.5 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.0004983/1.05, allocations: 347.1 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.05, allocations: 14.77 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.642e-05/1.05, allocations: 1.828 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/1.05, allocations: 175.6 kB / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/1.05, allocations: 3.984 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.05, allocations: 4.594 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001017/1.05, allocations: 24 kB / 1.1 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/1.05, allocations: 46.31 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.051, allocations: 0.5938 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.051, allocations: 0.8438 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/1.051, allocations: 0 / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005868/1.051, allocations: 287.8 kB / 1.1 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/1.051, allocations: 48.33 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.356e-05/1.051, allocations: 21.02 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/1.051, allocations: 0.5625 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/1.052, allocations: 77.25 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.863e-06/1.052, allocations: 0 / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002422/1.052, allocations: 78.84 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/1.052, allocations: 56.14 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/1.052, allocations: 101.5 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.052, allocations: 25.7 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/1.052, allocations: 90.02 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/1.052, allocations: 19.7 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/1.052, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.052, allocations: 315.7 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.153e-05/1.052, allocations: 19.94 kB / 1.101 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.601e-05/1.053, allocations: 40.98 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.427e-05/1.053, allocations: 28.67 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.053, allocations: 0 / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000192/1.053, allocations: 85.03 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.053, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.053, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.053, allocations: 4 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/1.053, allocations: 19.92 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/1.053, allocations: 1.406 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/1.053, allocations: 11.28 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.053, allocations: 10.16 kB / 1.101 GB, free: 15.4 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 9.954e-05/1.053, allocations: 112.7 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001623/1.053, allocations: 81.19 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/1.053, allocations: 4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.767e-05/1.053, allocations: 8.438 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.054, allocations: 4 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.054, allocations: 7.953 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/1.054, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/1.054, allocations: 331 kB / 1.101 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.054, allocations: 3.938 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/1.054, allocations: 4 kB / 1.101 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.054, allocations: 4 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/1.054, allocations: 0 / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/1.054, allocations: 3.953 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.054, allocations: 3.984 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002299/1.054, allocations: 171.5 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.532e-05/1.055, allocations: 81.02 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.134e-05/1.055, allocations: 3.984 kB / 1.102 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/1.055, allocations: 12 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/1.055, allocations: 11.94 kB / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/1.055, allocations: 0 / 1.102 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.41e-05/1.055, allocations: 90.83 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.055, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003121/1.055, allocations: 12 kB / 1.102 GB, free: 14.38 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.0005489/1.056, allocations: 0.7023 MB / 1.103 GB, free: 13.66 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001713/1.056, allocations: 51.92 kB / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.056, allocations: 0 / 1.103 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.018e-05/1.056, allocations: 23.94 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/1.056, allocations: 10.52 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/1.057, allocations: 149.2 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/1.057, allocations: 0.6885 MB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.081e-05/1.057, allocations: 4 kB / 1.103 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.895e-05/1.057, allocations: 15.44 kB / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of SimCode: time 6.51e-07/1.057, allocations: 0 / 1.103 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/1.09, allocations: 1.17 MB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/1.091, allocations: 141.5 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/3.451, allocations: 4.031 kB / 1.105 GB, free: 11.35 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_Continuous_Examples_OffTimer.fmu > Buildings_8.0.0_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)