Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.969/1.969, allocations: 289.9 MB / 297.4 MB, free: 6.297 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.001194/0.001195, allocations: 184.5 kB / 366.7 MB, free: 1.641 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.782/1.782, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.000816/0.000816, allocations: 99.05 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.124e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7281, allocations: 116.3 MB / 0.9734 GB, free: 76.09 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.9257, allocations: 138.6 MB / 1.109 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.926, allocations: 72.47 kB / 1.109 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01002/0.9361, allocations: 3.347 MB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.022e-06/0.9361, allocations: 4 kB / 1.112 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.9361, allocations: 8 kB / 1.112 GB, free: 8.117 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005289/0.9367, allocations: 461.7 kB / 1.113 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.9367, allocations: 12.03 kB / 1.113 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.421e-05/0.9368, allocations: 15.91 kB / 1.113 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9369, allocations: 173.2 kB / 1.113 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.937, allocations: 11.98 kB / 1.113 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.182e-05/0.937, allocations: 12 kB / 1.113 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001249/0.9371, allocations: 63.91 kB / 1.113 GB, free: 7.289 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.9373, allocations: 119 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.9374, allocations: 0 / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.9374, allocations: 3.984 kB / 1.113 GB, free: 7.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.9374, allocations: 7.984 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.9382, allocations: 0.5246 MB / 1.113 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.9384, allocations: 145.2 kB / 1.114 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.9385, allocations: 57.72 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.9385, allocations: 0 / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.9388, allocations: 202.1 kB / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.9388, allocations: 0 / 1.114 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of matching and sorting (n=22): time 0.0003948/0.9392, allocations: 229.4 kB / 1.114 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.9393, allocations: 89.09 kB / 1.114 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.9394, allocations: 110.3 kB / 1.114 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.9394, allocations: 41.64 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.9395, allocations: 100.8 kB / 1.114 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.9395, allocations: 43.42 kB / 1.114 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.425e-05/0.9396, allocations: 4 kB / 1.114 GB, free: 5.496 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.9397, allocations: 334.8 kB / 1.115 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.9398, allocations: 80.22 kB / 1.115 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.94, allocations: 148.3 kB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.9403, allocations: 90.3 kB / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.9404, allocations: 0 / 1.115 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006273/0.941, allocations: 290.4 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.612e-05/0.9411, allocations: 71.39 kB / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.9411, allocations: 0 / 1.115 GB, free: 4.449 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.9411, allocations: 4 kB / 1.115 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.009e-05/0.9412, allocations: 19.92 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.9412, allocations: 4 kB / 1.115 GB, free: 4.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.9416, allocations: 87.98 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.9416, allocations: 27.98 kB / 1.116 GB, free: 4.309 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001063/0.9418, allocations: 127.1 kB / 1.116 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003006/0.9421, allocations: 226.7 kB / 1.116 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.9421, allocations: 15.84 kB / 1.116 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/0.9421, allocations: 12.75 kB / 1.116 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.9422, allocations: 7.984 kB / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9422, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9422, allocations: 0 / 1.116 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.9427, allocations: 0.5733 MB / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9427, allocations: 0 / 1.116 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.9428, allocations: 15.92 kB / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.9428, allocations: 0 / 1.116 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.9428, allocations: 7.984 kB / 1.116 GB, free: 3.273 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.9428, allocations: 3.938 kB / 1.116 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.9428, allocations: 4 kB / 1.116 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003686/0.9432, allocations: 418.3 kB / 1.117 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.9432, allocations: 89.02 kB / 1.117 GB, free: 2.734 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.538e-05/0.9433, allocations: 7.984 kB / 1.117 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.9434, allocations: 11.98 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/0.9435, allocations: 31.91 kB / 1.117 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.9435, allocations: 16 kB / 1.117 GB, free: 2.668 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.9436, allocations: 91.27 kB / 1.117 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9436, allocations: 3.938 kB / 1.117 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003512/0.944, allocations: 51.98 kB / 1.117 GB, free: 2.523 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0007107/0.9447, allocations: 1.024 MB / 1.118 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.9452, allocations: 330.7 kB / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.9452, allocations: 0 / 1.118 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.9453, allocations: 104.4 kB / 1.119 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.9456, allocations: 29.3 kB / 1.119 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.9462, allocations: 234.4 kB / 1.119 GB, free: 0.7305 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.9465, allocations: 0.7056 MB / 1.12 GB, free: 0 / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.294e-05/0.9465, allocations: 17.2 kB / 1.12 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.9466, allocations: 39.42 kB / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of SimCode: time 1.683e-06/0.9466, allocations: 0 / 1.12 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.9692, allocations: 3.328 MB / 1.123 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.9695, allocations: 139.1 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.648/2.618, allocations: 1.781 kB / 1.123 GB, free: 12.51 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)