Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.077/2.077, allocations: 391.2 MB / 407 MB, free: 10.95 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 187.4 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009745/0.0009746, allocations: 115.7 kB / 0.9329 GB, free: 7.086 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0009442/0.0009443, allocations: 50.25 kB / 1.081 GB, free: 217.8 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2102, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002259/0.2125, allocations: 1.839 MB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008591/0.2133, allocations: 0.788 MB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.2134, allocations: 4 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.2135, allocations: 15.86 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 5.272e-05/0.2136, allocations: 27.78 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.2143, allocations: 358.6 kB / 1.221 GB, free: 114.1 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.2145, allocations: 395.1 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2146, allocations: 60.28 kB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.2147, allocations: 151.6 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.2148, allocations: 139.5 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.537e-05/0.2149, allocations: 24 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.762e-05/0.215, allocations: 35.98 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.215, allocations: 51.81 kB / 1.222 GB, free: 113.3 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2151, allocations: 151.5 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.2154, allocations: 372.8 kB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2154, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.92e-07/0.2154, allocations: 0 / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2154, allocations: 4 kB / 1.222 GB, free: 112.8 MB / 0.823 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.0005851/0.216, allocations: 0.6316 MB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.216, allocations: 15.98 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.387e-05/0.2161, allocations: 36.64 kB / 1.223 GB, free: 112 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006159/0.2167, allocations: 296 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.2168, allocations: 32.62 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.2168, allocations: 40.36 kB / 1.223 GB, free: 111.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002217/0.2171, allocations: 174.7 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.2171, allocations: 3.938 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.2171, allocations: 11.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2171, allocations: 4 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.2173, allocations: 111.9 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006532/0.2179, allocations: 0.5897 MB / 1.224 GB, free: 110.7 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.2182, allocations: 203.8 kB / 1.224 GB, free: 110.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.891e-05/0.2183, allocations: 85.11 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.2183, allocations: 8 kB / 1.225 GB, free: 110.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002693/0.2185, allocations: 250.9 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 1.443e-06/0.2186, allocations: 4 kB / 1.225 GB, free: 110.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=36): time 0.0004969/0.2191, allocations: 412.9 kB / 1.225 GB, free: 109.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.2191, allocations: 71.25 kB / 1.225 GB, free: 109.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.752e-05/0.2192, allocations: 183 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.2192, allocations: 49.69 kB / 1.225 GB, free: 109.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.2193, allocations: 144.7 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.2193, allocations: 79.03 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2195, allocations: 134.1 kB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.2195, allocations: 334.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.2198, allocations: 145 kB / 1.226 GB, free: 108.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.22, allocations: 279.2 kB / 1.227 GB, free: 108.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/0.2204, allocations: 431.8 kB / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.2204, allocations: 0 / 1.227 GB, free: 107.7 MB / 0.823 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006555/0.221, allocations: 0.5955 MB / 1.228 GB, free: 107.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.569e-05/0.2211, allocations: 98.34 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2211, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.2211, allocations: 4 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2212, allocations: 43.91 kB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.2212, allocations: 12.03 kB / 1.228 GB, free: 106.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.2217, allocations: 103.9 kB / 1.228 GB, free: 106.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.2217, allocations: 27.98 kB / 1.228 GB, free: 106.8 MB / 0.823 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 (accuTimer3.yAcc,$PRE.accuTimer3.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.yAcc,accuTimer.yAcc,$PRE.accuTimer.yAcc,resetTimer.yAcc,$PRE.resetTimer.yAcc,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,booPul1.y,$PRE.booPul1.y,$whenCondition3,pre.y,$PRE.pre.u,$whenCondition9,con.y,accuTimer2.reset_internal,$PRE.accuTimer2.reset_internal,booPul2.y,$PRE.booPul2.y,accuTimer2.entryTime,$PRE.accuTimer2.entryTime,$whenCondition7,$whenCondition8,accuTimer3.reset_internal,$PRE.accuTimer3.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer1.reset_internal,accuTimer.reset_internal,$PRE.accuTimer.reset_internal,resetTimer.reset_internal,$PRE.resetTimer.reset_internal,booPul.y,$PRE.booPul.y,pre.u,accuTimer3.entryTime,$PRE.accuTimer3.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.entryTime,accuTimer.entryTime,$PRE.accuTimer.entryTime,resetTimer.entryTime,$PRE.resetTimer.entryTime,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition10) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2218, allocations: 179.5 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2219, allocations: 23.72 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.39e-05/0.2219, allocations: 34.64 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.2219, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2219, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.222, allocations: 4 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.2225, allocations: 0.7022 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2225, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.2226, allocations: 11.98 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.2226, allocations: 8 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.2226, allocations: 11.98 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.2226, allocations: 3.938 kB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2226, allocations: 0 / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005637/0.2232, allocations: 1.091 MB / 1.23 GB, free: 104.6 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.591e-05/0.2232, allocations: 92.83 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.183e-05/0.2233, allocations: 19.92 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-05/0.2234, allocations: 11.98 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.2234, allocations: 27.95 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2234, allocations: 16 kB / 1.23 GB, free: 104.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.2235, allocations: 124.1 kB / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2235, allocations: 0 / 1.23 GB, free: 104.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004021/0.2239, allocations: 95.92 kB / 1.23 GB, free: 104.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 31 (pre.y,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,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 (36): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.224, allocations: 125.5 kB / 1.23 GB, free: 104.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004874/0.2245, allocations: 0.5341 MB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2245, allocations: 4 kB / 1.231 GB, free: 103.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000148/0.2247, allocations: 143.8 kB / 1.231 GB, free: 103.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.225, allocations: 48.64 kB / 1.231 GB, free: 103.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.2256, allocations: 0.6736 MB / 1.232 GB, free: 102.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.2257, allocations: 0.7564 MB / 1.232 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 9.014e-05/0.2258, allocations: 39.14 kB / 1.232 GB, free: 101.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/0.2258, allocations: 23.44 kB / 1.232 GB, free: 101.8 MB / 0.823 GB Notification: Performance of SimCode: time 2.11e-07/0.2258, allocations: 3.938 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of Templates: time 0.005161/0.231, allocations: 3.777 MB / 1.236 GB, free: 98.02 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)