Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 194.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.704/1.704, allocations: 292.3 MB / 0.5488 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 68.45 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2224, allocations: 114.5 MB / 0.7834 GB, free: 13.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.003148/0.2256, allocations: 1.774 MB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001227/0.2269, allocations: 0.7623 MB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.227, allocations: 4 kB / 0.7859 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.2272, allocations: 19.73 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.18e-05/0.2272, allocations: 39.64 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008622/0.2281, allocations: 392.7 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003852/0.2285, allocations: 451.1 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001556/0.2287, allocations: 64.22 kB / 0.7868 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.2288, allocations: 167.6 kB / 0.7869 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.229, allocations: 147.4 kB / 0.7871 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.2291, allocations: 40 kB / 0.7871 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.2292, allocations: 43.98 kB / 0.7872 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.2292, allocations: 59.88 kB / 0.7872 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.2294, allocations: 171.4 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000381/0.2298, allocations: 387.1 kB / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2298, allocations: 0 / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2298, allocations: 0 / 0.7878 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.2298, allocations: 0 / 0.7878 GB, free: 8.973 MB / 0.6075 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.0007955/0.2306, allocations: 0.6199 MB / 0.7884 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.2307, allocations: 8.031 kB / 0.7884 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.668e-05/0.2308, allocations: 40.64 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007344/0.2315, allocations: 301 kB / 0.7887 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.2316, allocations: 28.69 kB / 0.7887 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.2317, allocations: 32.36 kB / 0.7888 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.2319, allocations: 180.7 kB / 0.7889 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.232, allocations: 7.875 kB / 0.7889 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.232, allocations: 12 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.232, allocations: 7.984 kB / 0.7889 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.2322, allocations: 107.9 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.2331, allocations: 0.5897 MB / 0.7896 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.2334, allocations: 202.5 kB / 0.7898 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001224/0.2336, allocations: 84.77 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.2336, allocations: 0 / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.234, allocations: 259.4 kB / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.953e-06/0.2341, allocations: 0 / 0.7902 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0007014/0.2348, allocations: 414.9 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.2348, allocations: 71.33 kB / 0.7906 GB, free: 5.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.235, allocations: 179.1 kB / 0.7908 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.2351, allocations: 53.69 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.2352, allocations: 132.7 kB / 0.791 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.2352, allocations: 82.98 kB / 0.791 GB, free: 5.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.2354, allocations: 134.1 kB / 0.7912 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2356, allocations: 346.7 kB / 0.7915 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2358, allocations: 153 kB / 0.7916 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.2362, allocations: 271.3 kB / 0.7919 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004565/0.2366, allocations: 424.1 kB / 0.7923 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2366, allocations: 4 kB / 0.7923 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008301/0.2375, allocations: 0.5839 MB / 0.7929 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.609e-05/0.2376, allocations: 103.7 kB / 0.793 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2376, allocations: 4 kB / 0.793 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2376, allocations: 8.375 kB / 0.793 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.2378, allocations: 47.86 kB / 0.793 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.2378, allocations: 7.938 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005118/0.2383, allocations: 99.59 kB / 0.7931 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.2384, allocations: 31.98 kB / 0.7932 GB, free: 3.023 MB / 0.6075 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.0001759/0.2385, allocations: 183.5 kB / 0.7933 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.385e-05/0.2386, allocations: 23.72 kB / 0.7934 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.2386, allocations: 26.64 kB / 0.7934 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2386, allocations: 7.938 kB / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/0.2387, allocations: 0 / 0.7934 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2387, allocations: 3.938 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008787/0.2396, allocations: 0.7011 MB / 0.7941 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.2396, allocations: 3.938 kB / 0.7941 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.2396, allocations: 15.98 kB / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2396, allocations: 0 / 0.7941 GB, free: 2 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/0.2397, allocations: 11.98 kB / 0.7941 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.2397, allocations: 4 kB / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2397, allocations: 0 / 0.7941 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.2402, allocations: 435.3 kB / 0.7945 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.872e-05/0.2402, allocations: 92.86 kB / 0.7946 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.149e-05/0.2403, allocations: 12.08 kB / 0.7946 GB, free: 1.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.2404, allocations: 11.98 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.271e-05/0.2405, allocations: 31.94 kB / 0.7947 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2405, allocations: 16 kB / 0.7947 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.2406, allocations: 126.3 kB / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2406, allocations: 0 / 0.7948 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003814/0.241, allocations: 95.84 kB / 0.7949 GB, free: 1.148 MB / 0.6075 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.0001735/0.2412, allocations: 133.4 kB / 0.795 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000753/0.2419, allocations: 0.5526 MB / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2419, allocations: 0 / 0.7956 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.2421, allocations: 144.5 kB / 0.7957 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2425, allocations: 51.91 kB / 0.7958 GB, free: 236 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007072/0.2432, allocations: 420.8 kB / 0.7962 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.2435, allocations: 0.7448 MB / 0.7969 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.2437, allocations: 34.97 kB / 0.7969 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.2437, allocations: 27.44 kB / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2437, allocations: 0 / 0.797 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of Templates: time 0.007416/0.2511, allocations: 3.805 MB / 0.8007 GB, free: 11.18 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)