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.582/2.582, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001504/0.001504, allocations: 177.2 kB / 370.8 MB, free: 10.88 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.087/2.087, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 97.56 kB / 0.7428 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 12.44 kB / 0.8657 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2176, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9186/1.136, allocations: 138.5 MB / 1.114 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/1.137, allocations: 72.33 kB / 1.114 GB, free: 15.61 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004784/1.141, allocations: 1.112 MB / 1.115 GB, free: 31.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.494e-06/1.141, allocations: 0 / 1.115 GB, free: 31.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.318e-06/1.141, allocations: 0 / 1.115 GB, free: 31.25 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.0005703/1.142, allocations: 360.3 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/1.142, allocations: 11.8 kB / 1.115 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/1.142, allocations: 34.19 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.648e-05/1.142, allocations: 6.797 kB / 1.115 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/1.142, allocations: 182.7 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/1.142, allocations: 3.375 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/1.142, allocations: 3.844 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/1.143, allocations: 55.75 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/1.143, allocations: 0 / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.143, allocations: 3.938 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/1.143, allocations: 3.938 kB / 1.115 GB, free: 30.61 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.534e-05/1.143, allocations: 26.19 kB / 1.115 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/1.143, allocations: 303.4 kB / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/1.143, allocations: 58.92 kB / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/1.144, allocations: 0 / 1.116 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/1.144, allocations: 74.88 kB / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 2.245e-06/1.144, allocations: 0 / 1.116 GB, free: 30.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0002925/1.144, allocations: 107.8 kB / 1.116 GB, free: 30.21 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/1.144, allocations: 55.22 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/1.144, allocations: 96.98 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/1.144, allocations: 34.06 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/1.144, allocations: 90.86 kB / 1.116 GB, free: 29.94 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.999e-05/1.144, allocations: 17.64 kB / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-06/1.144, allocations: 4 kB / 1.116 GB, free: 29.93 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.145, allocations: 321.9 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.466e-05/1.145, allocations: 20.17 kB / 1.116 GB, free: 29.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/1.145, allocations: 40.86 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.531e-05/1.145, allocations: 19.55 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.145, allocations: 2.297 kB / 1.117 GB, free: 29.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002357/1.145, allocations: 104.1 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.145, allocations: 3.844 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.145, allocations: 0 / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/1.145, allocations: 3.844 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/1.145, allocations: 16.28 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.145, allocations: 3.953 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.145, allocations: 14.8 kB / 1.117 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/1.145, allocations: 4.422 kB / 1.117 GB, free: 29.52 MB / 0.698 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.0001233/1.146, allocations: 123.2 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.757e-05/1.146, allocations: 7.75 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.702e-05/1.146, allocations: 7.344 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.146, allocations: 0 / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/1.146, allocations: 1.547 kB / 1.117 GB, free: 29.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/1.146, allocations: 3.953 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/1.146, allocations: 364.1 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.146, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/1.146, allocations: 7 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.146, allocations: 0 / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/1.146, allocations: 1.359 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/1.146, allocations: 7.828 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.146, allocations: 4.875 kB / 1.117 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002215/1.147, allocations: 182.8 kB / 1.117 GB, free: 28.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/1.147, allocations: 78.42 kB / 1.117 GB, free: 28.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.147, allocations: 11.16 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/1.147, allocations: 6.547 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.876e-05/1.147, allocations: 11.81 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/1.147, allocations: 5.109 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.536e-05/1.147, allocations: 83.95 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/1.147, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000295/1.147, allocations: 15.03 kB / 1.118 GB, free: 28.77 MB / 0.698 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.0005516/1.148, allocations: 0.7127 MB / 1.118 GB, free: 28.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001733/1.148, allocations: 55.02 kB / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.148, allocations: 0 / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/1.148, allocations: 29.62 kB / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/1.148, allocations: 10.61 kB / 1.118 GB, free: 28.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/1.15, allocations: 0.9325 MB / 1.119 GB, free: 27.27 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/1.15, allocations: 0.6885 MB / 1.12 GB, free: 26.58 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.754e-05/1.15, allocations: 6.5 kB / 1.12 GB, free: 26.58 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.681e-05/1.15, allocations: 17.16 kB / 1.12 GB, free: 26.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.383e-06/1.15, allocations: 5.25 kB / 1.12 GB, free: 26.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02231/1.173, allocations: 1.463 MB / 1.121 GB, free: 26.38 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002134/1.173, allocations: 177.6 kB / 1.122 GB, free: 26.14 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.371, allocations: 0 / 1.122 GB, free: 26.14 MB / 0.698 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)