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.684/1.684, allocations: 289.7 MB / 302.2 MB, free: 2.188 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.001129/0.001129, allocations: 181.1 kB / 371.6 MB, free: 3.422 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.97/1.97, 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.001138/0.001138, allocations: 93.47 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.966e-05/7.024e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3424, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9699/1.312, allocations: 139.3 MB / 1.116 GB, free: 44.48 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.313, allocations: 68.72 kB / 1.116 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.009422/1.322, allocations: 3.362 MB / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.064e-06/1.322, allocations: 0 / 1.119 GB, free: 42.53 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.442e-05/1.322, allocations: 0 / 1.119 GB, free: 42.53 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005429/1.323, allocations: 464.7 kB / 1.12 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.323, allocations: 8.031 kB / 1.12 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.65e-05/1.323, allocations: 42.05 kB / 1.12 GB, free: 42 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/1.323, allocations: 25.78 kB / 1.12 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/1.323, allocations: 170.9 kB / 1.12 GB, free: 41.78 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/1.323, allocations: 18.2 kB / 1.12 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/1.323, allocations: 19.19 kB / 1.12 GB, free: 41.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/1.323, allocations: 129 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/1.323, allocations: 0 / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/1.324, allocations: 8.875 kB / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/1.324, allocations: 0 / 1.12 GB, free: 41.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/1.324, allocations: 62.78 kB / 1.12 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/1.324, allocations: 0.555 MB / 1.121 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/1.325, allocations: 159.2 kB / 1.121 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.472e-05/1.325, allocations: 61.84 kB / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/1.325, allocations: 0 / 1.121 GB, free: 41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002976/1.325, allocations: 214.2 kB / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=22): time 1.523e-06/1.325, allocations: 0 / 1.121 GB, free: 40.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22): time 0.0004137/1.326, allocations: 251.4 kB / 1.121 GB, free: 40.66 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/1.326, allocations: 87.67 kB / 1.121 GB, free: 40.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.583e-05/1.326, allocations: 128.7 kB / 1.122 GB, free: 40.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/1.326, allocations: 43.52 kB / 1.122 GB, free: 40.4 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/1.326, allocations: 102.8 kB / 1.122 GB, free: 40.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/1.326, allocations: 48.61 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/1.326, allocations: 7.312 kB / 1.122 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.367e-05/1.326, allocations: 325.8 kB / 1.122 GB, free: 39.95 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/1.326, allocations: 89.62 kB / 1.122 GB, free: 39.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/1.326, allocations: 158.2 kB / 1.122 GB, free: 39.75 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/1.327, allocations: 147.8 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/1.327, allocations: 1.5 kB / 1.122 GB, free: 39.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004958/1.327, allocations: 353 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.17e-05/1.327, allocations: 71.16 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.327, allocations: 1.656 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/1.327, allocations: 4.625 kB / 1.123 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.327, allocations: 19.41 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/1.327, allocations: 4.219 kB / 1.123 GB, free: 39.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/1.328, allocations: 99.02 kB / 1.123 GB, free: 39.19 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/1.328, allocations: 22.56 kB / 1.123 GB, free: 39.18 MB / 0.7448 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 9.588e-05/1.328, allocations: 128.7 kB / 1.123 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/1.328, allocations: 16.75 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.574e-05/1.328, allocations: 19.41 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/1.328, allocations: 0 / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/1.328, allocations: 4 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.328, allocations: 4 kB / 1.123 GB, free: 39.03 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/1.328, allocations: 0.6207 MB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.328, allocations: 0 / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/1.328, allocations: 11.88 kB / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.328, allocations: 0 / 1.124 GB, free: 38.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.986e-05/1.329, allocations: 11.11 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.329, allocations: 4.688 kB / 1.124 GB, free: 38.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.329, allocations: 13.53 kB / 1.124 GB, free: 38.46 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003261/1.329, allocations: 425.9 kB / 1.124 GB, free: 38.1 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.802e-05/1.329, allocations: 85.02 kB / 1.124 GB, free: 38 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/1.329, allocations: 11.69 kB / 1.124 GB, free: 37.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.329, allocations: 14.5 kB / 1.124 GB, free: 37.98 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/1.329, allocations: 30.75 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/1.329, allocations: 14.78 kB / 1.124 GB, free: 37.96 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.65e-05/1.329, allocations: 97.88 kB / 1.124 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.329, allocations: 0 / 1.124 GB, free: 37.87 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003286/1.33, allocations: 61.81 kB / 1.125 GB, free: 37.82 MB / 0.7448 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.0006681/1.33, allocations: 1.057 MB / 1.126 GB, free: 36.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004281/1.331, allocations: 357.2 kB / 1.126 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.331, allocations: 0.5312 kB / 1.126 GB, free: 36.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001371/1.331, allocations: 107 kB / 1.126 GB, free: 36.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/1.331, allocations: 31.52 kB / 1.126 GB, free: 36.45 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/1.332, allocations: 253.1 kB / 1.126 GB, free: 36.22 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/1.332, allocations: 0.7101 MB / 1.127 GB, free: 35.5 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.142e-05/1.332, allocations: 16.73 kB / 1.127 GB, free: 35.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/1.332, allocations: 46.52 kB / 1.127 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of SimCode: time 2.6e-07/1.332, allocations: 0 / 1.127 GB, free: 35.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01783/1.35, allocations: 3.751 MB / 1.131 GB, free: 33.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/1.35, allocations: 153.4 kB / 1.131 GB, free: 33.2 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/3.014, allocations: 3.938 kB / 1.131 GB, free: 33.2 MB / 0.7448 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)