Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.554/2.554, allocations: 287.3 MB / 302.3 MB, free: 8.309 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.002422/0.002422, allocations: 186.8 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001111/0.001111, allocations: 100.5 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004999/0.0005, allocations: 12.38 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2168/0.2173, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9147/1.132, allocations: 139.4 MB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.132, allocations: 78.56 kB / 1.114 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02555/1.158, allocations: 5.468 MB / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.715e-06/1.158, allocations: 0 / 1.12 GB, free: 31.15 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.321e-05/1.158, allocations: 3.906 kB / 1.12 GB, free: 31.15 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.001029/1.159, allocations: 0.569 MB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.159, allocations: 15.52 kB / 1.12 GB, free: 30.64 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/1.159, allocations: 53.22 kB / 1.12 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/1.159, allocations: 41.42 kB / 1.12 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004511/1.16, allocations: 258.4 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.983e-05/1.16, allocations: 25.67 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.663e-05/1.16, allocations: 33 kB / 1.121 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/1.161, allocations: 177.7 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/1.161, allocations: 0 / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.325e-05/1.161, allocations: 9.891 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/1.161, allocations: 3.844 kB / 1.121 GB, free: 30.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003516/1.161, allocations: 117 kB / 1.121 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/1.162, allocations: 0.6293 MB / 1.122 GB, free: 30.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004452/1.163, allocations: 216.1 kB / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/1.163, allocations: 0 / 1.122 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/1.163, allocations: 251.8 kB / 1.122 GB, free: 29.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.415e-06/1.163, allocations: 3.938 kB / 1.122 GB, free: 29.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.001101/1.165, allocations: 420.3 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/1.165, allocations: 73.27 kB / 1.123 GB, free: 29.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/1.165, allocations: 171.5 kB / 1.123 GB, free: 29.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/1.165, allocations: 50.95 kB / 1.123 GB, free: 29.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/1.165, allocations: 135.2 kB / 1.123 GB, free: 29.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.297e-05/1.165, allocations: 85 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.027e-05/1.165, allocations: 17.52 kB / 1.123 GB, free: 29.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.166, allocations: 341.7 kB / 1.123 GB, free: 29.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004741/1.166, allocations: 154.2 kB / 1.124 GB, free: 29.22 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005369/1.167, allocations: 280.5 kB / 1.124 GB, free: 29.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/1.167, allocations: 238.5 kB / 1.124 GB, free: 28.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.167, allocations: 3.75 kB / 1.124 GB, free: 28.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001461/1.169, allocations: 0.6008 MB / 1.125 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/1.169, allocations: 100.8 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/1.169, allocations: 3.875 kB / 1.125 GB, free: 28.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/1.169, allocations: 11.62 kB / 1.125 GB, free: 28.72 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/1.169, allocations: 47.56 kB / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.169, allocations: 4.188 kB / 1.125 GB, free: 28.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009968/1.17, allocations: 132.9 kB / 1.125 GB, free: 28.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.684e-05/1.17, allocations: 35.31 kB / 1.125 GB, free: 28.7 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.0003114/1.171, allocations: 178.9 kB / 1.125 GB, free: 28.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/1.171, allocations: 23.34 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.36e-05/1.171, allocations: 26.7 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.171, allocations: 4 kB / 1.125 GB, free: 28.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/1.171, allocations: 3.953 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.171, allocations: 10.84 kB / 1.125 GB, free: 28.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/1.172, allocations: 0.7238 MB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/1.172, allocations: 7.844 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/1.172, allocations: 11.59 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/1.172, allocations: 3.875 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.514e-05/1.172, allocations: 17.67 kB / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.98e-06/1.172, allocations: 0 / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.172, allocations: 0 / 1.126 GB, free: 28.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/1.173, allocations: 432.2 kB / 1.126 GB, free: 28.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.638e-05/1.173, allocations: 106.9 kB / 1.126 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/1.173, allocations: 14.22 kB / 1.126 GB, free: 27.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/1.174, allocations: 14.53 kB / 1.126 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.174, allocations: 24.91 kB / 1.126 GB, free: 27.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-05/1.174, allocations: 18.14 kB / 1.126 GB, free: 27.94 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001362/1.174, allocations: 129 kB / 1.127 GB, free: 27.87 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.174, allocations: 0 / 1.127 GB, free: 27.87 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006627/1.175, allocations: 96.91 kB / 1.127 GB, free: 27.87 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.001156/1.176, allocations: 0.9869 MB / 1.128 GB, free: 27.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00128/1.177, allocations: 0.5647 MB / 1.128 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.177, allocations: 0.75 kB / 1.128 GB, free: 26.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003268/1.177, allocations: 155.9 kB / 1.128 GB, free: 26.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/1.178, allocations: 30.12 kB / 1.128 GB, free: 26.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/1.18, allocations: 3.074 MB / 1.131 GB, free: 24.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004019/1.181, allocations: 0.75 MB / 1.132 GB, free: 23.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001983/1.181, allocations: 30.84 kB / 1.132 GB, free: 23.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/1.181, allocations: 72.91 kB / 1.132 GB, free: 23.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.343e-06/1.181, allocations: 0 / 1.132 GB, free: 23.38 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/1.211, allocations: 5.576 MB / 1.138 GB, free: 22.03 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002675/1.211, allocations: 195.6 kB / 1.138 GB, free: 21.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.639/3.85, allocations: 3.938 kB / 1.138 GB, free: 21.79 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Logical_Validation_Timer.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)