Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.804/1.804, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001141/0.001141, allocations: 183.9 kB / 371.6 MB, free: 3.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.796/1.796, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009378/0.0009377, allocations: 93.8 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.004e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3027, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9613/1.264, allocations: 139.5 MB / 1.116 GB, free: 44.3 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.264, allocations: 72.53 kB / 1.116 GB, free: 44.27 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01172/1.276, allocations: 3.977 MB / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.242e-06/1.276, allocations: 0 / 1.12 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.809e-06/1.276, allocations: 0 / 1.12 GB, free: 42.02 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0007349/1.277, allocations: 0.5317 MB / 1.121 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/1.277, allocations: 12.03 kB / 1.121 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.896e-05/1.277, allocations: 46.42 kB / 1.121 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.903e-05/1.277, allocations: 40.2 kB / 1.121 GB, free: 41.4 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/1.277, allocations: 187 kB / 1.121 GB, free: 41.19 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/1.277, allocations: 19.41 kB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/1.278, allocations: 42.84 kB / 1.121 GB, free: 41.15 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003987/1.278, allocations: 251.1 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/1.278, allocations: 0 / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/1.278, allocations: 7.469 kB / 1.121 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/1.278, allocations: 4 kB / 1.121 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/1.278, allocations: 129.1 kB / 1.121 GB, free: 40.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008403/1.279, allocations: 0.594 MB / 1.122 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/1.28, allocations: 409.5 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/1.28, allocations: 201.9 kB / 1.122 GB, free: 40.14 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/1.28, allocations: 4 kB / 1.122 GB, free: 40.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005113/1.28, allocations: 372.9 kB / 1.123 GB, free: 39.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=46): time 2.314e-06/1.28, allocations: 4.828 kB / 1.123 GB, free: 39.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=46): time 0.0007706/1.281, allocations: 0.5124 MB / 1.123 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.281, allocations: 66.55 kB / 1.123 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/1.281, allocations: 131.1 kB / 1.124 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.626e-05/1.281, allocations: 55.59 kB / 1.124 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/1.281, allocations: 99.7 kB / 1.124 GB, free: 39.22 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.783e-05/1.282, allocations: 102.3 kB / 1.124 GB, free: 39.15 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/1.282, allocations: 13.88 kB / 1.124 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.495e-05/1.282, allocations: 339.6 kB / 1.124 GB, free: 38.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/1.282, allocations: 146 kB / 1.124 GB, free: 38.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003289/1.282, allocations: 289.4 kB / 1.125 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/1.283, allocations: 214.4 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/1.283, allocations: 4 kB / 1.125 GB, free: 38.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0007629/1.283, allocations: 0.5574 MB / 1.125 GB, free: 37.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/1.283, allocations: 71.23 kB / 1.125 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/1.283, allocations: 4 kB / 1.125 GB, free: 37.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.564e-05/1.283, allocations: 15.95 kB / 1.125 GB, free: 37.79 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/1.284, allocations: 43.06 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.284, allocations: 8 kB / 1.125 GB, free: 37.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004403/1.284, allocations: 115.3 kB / 1.126 GB, free: 37.66 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.539e-05/1.284, allocations: 27.17 kB / 1.126 GB, free: 37.64 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001381/1.284, allocations: 174.7 kB / 1.126 GB, free: 37.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/1.284, allocations: 27.05 kB / 1.126 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/1.284, allocations: 29.31 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.284, allocations: 4 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.284, allocations: 3.953 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.284, allocations: 1.188 kB / 1.126 GB, free: 37.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/1.286, allocations: 1.044 MB / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.286, allocations: 0 / 1.127 GB, free: 36.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.666e-05/1.286, allocations: 15.94 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/1.286, allocations: 5.266 kB / 1.127 GB, free: 36.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.296e-05/1.286, allocations: 22.09 kB / 1.127 GB, free: 36.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.286, allocations: 8.484 kB / 1.127 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.286, allocations: 0.9375 kB / 1.127 GB, free: 36.68 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006932/1.287, allocations: 0.6575 MB / 1.127 GB, free: 36.18 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/1.287, allocations: 104.3 kB / 1.128 GB, free: 36.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/1.287, allocations: 22.73 kB / 1.128 GB, free: 36.05 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/1.287, allocations: 30.44 kB / 1.128 GB, free: 36.04 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/1.287, allocations: 52.69 kB / 1.128 GB, free: 36.01 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/1.287, allocations: 34.42 kB / 1.128 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.689e-05/1.287, allocations: 110.9 kB / 1.128 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.287, allocations: 0 / 1.128 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003875/1.288, allocations: 106.1 kB / 1.128 GB, free: 35.81 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001024/1.289, allocations: 1.381 MB / 1.129 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007094/1.289, allocations: 0.5527 MB / 1.13 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.289, allocations: 0 / 1.13 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/1.29, allocations: 293.9 kB / 1.13 GB, free: 33.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/1.29, allocations: 31.89 kB / 1.13 GB, free: 33.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008828/1.291, allocations: 451.8 kB / 1.131 GB, free: 33.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/1.291, allocations: 0.7348 MB / 1.131 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.956e-05/1.291, allocations: 33.17 kB / 1.131 GB, free: 32.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/1.291, allocations: 68.5 kB / 1.131 GB, free: 32.84 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/1.291, allocations: 3.938 kB / 1.131 GB, free: 32.83 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/1.31, allocations: 5.656 MB / 1.137 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/1.31, allocations: 164.2 kB / 1.137 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/3.172, allocations: 1.188 kB / 1.137 GB, free: 29.43 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)