Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change",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.653/1.653, allocations: 289.9 MB / 297.4 MB, free: 6.371 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.00114/0.001141, allocations: 180.8 kB / 366.7 MB, free: 1.652 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.949/1.949, allocations: 205.2 MB / 0.626 GB, free: 7.133 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.0009226/0.0009225, allocations: 94.73 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.552e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7297, allocations: 116.3 MB / 0.9734 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.9482, allocations: 138.6 MB / 1.109 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.9485, allocations: 72.64 kB / 1.109 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006343/0.9549, allocations: 2.079 MB / 1.111 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9549, allocations: 0 / 1.111 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.9549, allocations: 0 / 1.111 GB, free: 9.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005441/0.9554, allocations: 405.5 kB / 1.111 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.9555, allocations: 12.03 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.9556, allocations: 7.906 kB / 1.111 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.9557, allocations: 175 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.9557, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.9558, allocations: 8 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.199e-05/0.9559, allocations: 16 kB / 1.111 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.015e-05/0.9559, allocations: 50.94 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.956, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.956, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.956, allocations: 0 / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.9565, allocations: 307.9 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.9566, allocations: 45.42 kB / 1.112 GB, free: 8.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.9567, allocations: 25.39 kB / 1.112 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.9567, allocations: 4.891 kB / 1.112 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.9569, allocations: 80.31 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.9569, allocations: 1.938 kB / 1.112 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002202/0.9571, allocations: 79.86 kB / 1.112 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.9571, allocations: 55.41 kB / 1.112 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.676e-05/0.9572, allocations: 116 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.9573, allocations: 29.7 kB / 1.112 GB, free: 7.828 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.9574, allocations: 88.14 kB / 1.112 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.9574, allocations: 19.8 kB / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.25e-05/0.9574, allocations: 0 / 1.112 GB, free: 7.719 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.9576, allocations: 322.8 kB / 1.113 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.144e-05/0.9576, allocations: 39.92 kB / 1.113 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.767e-05/0.9577, allocations: 64.3 kB / 1.113 GB, free: 7.277 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002154/0.958, allocations: 47.95 kB / 1.113 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.958, allocations: 4 kB / 1.113 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003555/0.9583, allocations: 145.5 kB / 1.113 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.872e-05/0.9584, allocations: 33.7 kB / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.9584, allocations: 128 / 1.113 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.9584, allocations: 8 kB / 1.113 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.9586, allocations: 23.92 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.9586, allocations: 2.25 kB / 1.113 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.9588, allocations: 47.95 kB / 1.113 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.9589, allocations: 4 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001076/0.959, allocations: 120.9 kB / 1.113 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001146/0.9591, allocations: 81.53 kB / 1.113 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.9591, allocations: 7.906 kB / 1.113 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.954e-05/0.9592, allocations: 8.625 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.9592, allocations: 3.938 kB / 1.113 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.9592, allocations: 4 kB / 1.113 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.9592, allocations: 4 kB / 1.113 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.9595, allocations: 325.9 kB / 1.114 GB, free: 6.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.9595, allocations: 3.938 kB / 1.114 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.9596, allocations: 11.98 kB / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.9596, allocations: 0 / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.9596, allocations: 0 / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.9596, allocations: 0 / 1.114 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.9597, allocations: 7.984 kB / 1.114 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.9598, allocations: 175.4 kB / 1.114 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.681e-05/0.9599, allocations: 77.11 kB / 1.114 GB, free: 6.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.9599, allocations: 4 kB / 1.114 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.87e-05/0.96, allocations: 7.984 kB / 1.114 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.96, allocations: 11.98 kB / 1.114 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.96, allocations: 4 kB / 1.114 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.927e-05/0.9601, allocations: 87.28 kB / 1.114 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9601, allocations: 4.938 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002479/0.9604, allocations: 27.98 kB / 1.114 GB, free: 5.914 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 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000505/0.9609, allocations: 0.7201 MB / 1.115 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002301/0.9611, allocations: 151.3 kB / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9611, allocations: 0 / 1.115 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.841e-05/0.9612, allocations: 27.94 kB / 1.115 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.9614, allocations: 11.08 kB / 1.115 GB, free: 4.973 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.9618, allocations: 136.7 kB / 1.115 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.9622, allocations: 0.6965 MB / 1.116 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.9622, allocations: 3.984 kB / 1.116 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.372e-05/0.9622, allocations: 19.44 kB / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.9623, allocations: 0 / 1.116 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.983, allocations: 1.83 MB / 1.117 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002891/0.9834, allocations: 139.3 kB / 1.118 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/2.572, allocations: 0 / 1.118 GB, free: 2.102 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Change.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)