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.731/1.731, allocations: 289.9 MB / 297.4 MB, free: 6.387 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.001139/0.001139, allocations: 176.8 kB / 366.7 MB, free: 1.656 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.4/1.4, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.0009266/0.0009266, allocations: 93.03 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.807e-05/1.799e-05, allocations: 0 / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7256, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2094/0.935, allocations: 138.9 MB / 1.109 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.9354, allocations: 76.73 kB / 1.109 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003325/0.9387, allocations: 1.088 MB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9387, allocations: 0 / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.565e-06/0.9388, allocations: 0.6875 kB / 1.11 GB, free: 10.13 MB / 0.7136 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.000493/0.9393, allocations: 350.9 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.9393, allocations: 8.031 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.9394, allocations: 9.219 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.9395, allocations: 171 kB / 1.111 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.9396, allocations: 5.219 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.9396, allocations: 4.594 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.07e-05/0.9397, allocations: 23.33 kB / 1.111 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.9398, allocations: 57.08 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.9398, allocations: 0 / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.063e-05/0.9398, allocations: 0 / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.9398, allocations: 4 kB / 1.111 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.9404, allocations: 280.5 kB / 1.111 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.9405, allocations: 51.42 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/0.9405, allocations: 26.66 kB / 1.111 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.9405, allocations: 4 kB / 1.111 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.9407, allocations: 67.42 kB / 1.111 GB, free: 8.961 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.9407, allocations: 4 kB / 1.111 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0002001/0.9409, allocations: 69.59 kB / 1.111 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.941, allocations: 60.62 kB / 1.111 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.333e-05/0.9411, allocations: 96.94 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.9411, allocations: 30.41 kB / 1.111 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.9412, allocations: 86.42 kB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.9412, allocations: 19.72 kB / 1.112 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-06/0.9412, allocations: 0 / 1.112 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.9414, allocations: 322.8 kB / 1.112 GB, free: 8.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.532e-05/0.9414, allocations: 12 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.114e-05/0.9415, allocations: 41.48 kB / 1.112 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.9415, allocations: 24.14 kB / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9416, allocations: 0 / 1.112 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001471/0.9417, allocations: 85.52 kB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.9417, allocations: 4.75 kB / 1.112 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.9418, allocations: 4.281 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.9418, allocations: 8.625 kB / 1.112 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.738e-05/0.9419, allocations: 11.94 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9419, allocations: 4 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.942, allocations: 7.984 kB / 1.112 GB, free: 8.043 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.942, allocations: 5.031 kB / 1.112 GB, free: 8.039 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 0.0001013/0.9421, allocations: 124.3 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001156/0.9422, allocations: 77.53 kB / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.9422, allocations: 0 / 1.112 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.44e-05/0.9423, allocations: 12.41 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.9423, allocations: 0 / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.9423, allocations: 3.984 kB / 1.112 GB, free: 7.816 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.9423, allocations: 3.953 kB / 1.112 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003915/0.9427, allocations: 328.8 kB / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.9427, allocations: 0 / 1.113 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.9427, allocations: 7.984 kB / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.9428, allocations: 0 / 1.113 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.9428, allocations: 3.938 kB / 1.113 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9428, allocations: 4 kB / 1.113 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.9428, allocations: 6.016 kB / 1.113 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/0.9429, allocations: 167.5 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.943, allocations: 85 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.943, allocations: 7.938 kB / 1.113 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.305e-05/0.9431, allocations: 7.938 kB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.9432, allocations: 11.98 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-06/0.9432, allocations: 7.938 kB / 1.113 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.239e-05/0.9433, allocations: 79.28 kB / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9433, allocations: 0 / 1.113 GB, free: 7.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002365/0.9435, allocations: 12 kB / 1.113 GB, free: 7.023 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.000502/0.944, allocations: 0.7102 MB / 1.114 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.9442, allocations: 41.75 kB / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9442, allocations: 0 / 1.114 GB, free: 6.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.9442, allocations: 24 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.9445, allocations: 15.98 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004783/0.9449, allocations: 136.9 kB / 1.114 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.9452, allocations: 0.6902 MB / 1.114 GB, free: 5.328 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.9452, allocations: 4 kB / 1.114 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.58e-05/0.9453, allocations: 23.42 kB / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of SimCode: time 3.71e-07/0.9453, allocations: 0 / 1.115 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02017/0.9655, allocations: 1.166 MB / 1.116 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.9658, allocations: 129.8 kB / 1.116 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.665, allocations: 0 / 1.116 GB, free: 3.984 MB / 0.7136 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)