Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Obsolete_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.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.2 MB / 303.2 MB, free: 8.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.001676/0.001676, allocations: 179.7 kB / 371.8 MB, free: 10.27 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.837/1.837, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 98.78 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 14.47 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2524, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7703/1.023, allocations: 139.5 MB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.023, allocations: 85.77 kB / 1.116 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01642/1.039, allocations: 5.455 MB / 1.121 GB, free: 31.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.396e-06/1.04, allocations: 0 / 1.121 GB, free: 31.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.037e-05/1.04, allocations: 3.875 kB / 1.121 GB, free: 31.75 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009568/1.041, allocations: 0.5652 MB / 1.122 GB, free: 31.24 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/1.041, allocations: 11.8 kB / 1.122 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.184e-05/1.041, allocations: 63.56 kB / 1.122 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/1.041, allocations: 41.39 kB / 1.122 GB, free: 31.17 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/1.041, allocations: 259.4 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.836e-05/1.041, allocations: 22.62 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/1.041, allocations: 32.81 kB / 1.122 GB, free: 30.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/1.042, allocations: 176.6 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/1.042, allocations: 3.844 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.803e-05/1.042, allocations: 10.33 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.042, allocations: 3.812 kB / 1.122 GB, free: 30.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002046/1.042, allocations: 113.3 kB / 1.122 GB, free: 30.92 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.043, allocations: 0.6399 MB / 1.123 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/1.043, allocations: 201.2 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/1.043, allocations: 3.844 kB / 1.123 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004466/1.044, allocations: 260.1 kB / 1.123 GB, free: 30.53 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 4.228e-06/1.044, allocations: 0 / 1.123 GB, free: 30.53 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0007395/1.045, allocations: 433.4 kB / 1.124 GB, free: 30.47 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/1.045, allocations: 68.89 kB / 1.124 GB, free: 30.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.045, allocations: 172.4 kB / 1.124 GB, free: 30.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.609e-05/1.045, allocations: 44.05 kB / 1.124 GB, free: 30.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/1.045, allocations: 134 kB / 1.124 GB, free: 30.17 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/1.045, allocations: 90.33 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/1.045, allocations: 13.91 kB / 1.124 GB, free: 30.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/1.045, allocations: 342.5 kB / 1.125 GB, free: 29.81 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/1.046, allocations: 154.8 kB / 1.125 GB, free: 29.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004495/1.046, allocations: 280.2 kB / 1.125 GB, free: 29.67 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/1.046, allocations: 242.6 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/1.047, allocations: 3.969 kB / 1.125 GB, free: 29.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008501/1.047, allocations: 0.5942 MB / 1.126 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.734e-05/1.047, allocations: 100.8 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/1.047, allocations: 4.281 kB / 1.126 GB, free: 29.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.047, allocations: 11.66 kB / 1.126 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.048, allocations: 49.23 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.048, allocations: 11.67 kB / 1.126 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/1.048, allocations: 124.4 kB / 1.126 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.668e-05/1.048, allocations: 36.03 kB / 1.126 GB, free: 29.28 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition4,$PRE.booPul1.y,booPul1.y,$whenCondition1,$whenCondition10,accuTimer3.reset,$PRE.pre.u,$whenCondition9,$whenCondition8,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition11,$whenCondition6,$whenCondition7,$whenCondition5,$whenCondition3,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,pre.u,$PRE.booPul.y,booPul.y,$PRE.resetTimer.reset_internal,resetTimer.reset_internal,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 3 * 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.0002334/1.049, allocations: 175.8 kB / 1.126 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/1.049, allocations: 30.59 kB / 1.126 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/1.049, allocations: 26.8 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.049, allocations: 3.875 kB / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/1.049, allocations: 0 / 1.127 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/1.049, allocations: 6.578 kB / 1.127 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008657/1.05, allocations: 0.7211 MB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.05, allocations: 0 / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/1.05, allocations: 14.44 kB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/1.05, allocations: 3.875 kB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/1.05, allocations: 10.36 kB / 1.127 GB, free: 28.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/1.05, allocations: 3.953 kB / 1.127 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.05, allocations: 4.172 kB / 1.127 GB, free: 28.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/1.05, allocations: 447 kB / 1.128 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.635e-05/1.05, allocations: 102.5 kB / 1.128 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/1.05, allocations: 14.78 kB / 1.128 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/1.05, allocations: 9.906 kB / 1.128 GB, free: 28.53 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/1.05, allocations: 28.45 kB / 1.128 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/1.05, allocations: 18.67 kB / 1.128 GB, free: 28.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001012/1.051, allocations: 128.9 kB / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.051, allocations: 0 / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003792/1.051, allocations: 93.58 kB / 1.128 GB, free: 28.45 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 (accuTimer3.reset,$whenCondition16,$whenCondition17,$whenCondition14,$whenCondition15,$whenCondition12,$whenCondition13,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition8,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer3.entryTime,accuTimer3.yAcc,booPul1.y,pre.u,booPul.y,booPul2.y) * Number of discrete states: 6 (pre.u,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0007435/1.052, allocations: 0.9964 MB / 1.129 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006545/1.052, allocations: 0.5618 MB / 1.13 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.052, allocations: 0 / 1.13 GB, free: 27.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001725/1.053, allocations: 148.3 kB / 1.13 GB, free: 27.54 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/1.053, allocations: 44.3 kB / 1.13 GB, free: 27.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/1.055, allocations: 3.066 MB / 1.133 GB, free: 24.68 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/1.055, allocations: 0.7513 MB / 1.133 GB, free: 23.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.222e-05/1.055, allocations: 27.47 kB / 1.134 GB, free: 23.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.601e-05/1.055, allocations: 73.38 kB / 1.134 GB, free: 23.97 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/1.055, allocations: 0 / 1.134 GB, free: 23.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01525/1.071, allocations: 5.584 MB / 1.139 GB, free: 21.77 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001218/1.071, allocations: 201.4 kB / 1.139 GB, free: 21.53 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.979, allocations: 0 / 1.139 GB, free: 21.53 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_maint.8.0.x_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)