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.001175/0.001175, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.731/1.731, allocations: 292.5 MB / 0.5497 GB, free: 14.64 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.0005562/0.0005562, allocations: 16.41 kB / 0.6736 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2498, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001791/0.2516, allocations: 1.443 MB / 0.7885 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.2528, allocations: 0.6874 MB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.793e-05/0.2529, allocations: 8 kB / 0.7892 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.253, allocations: 11.86 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.2531, allocations: 39.92 kB / 0.7893 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008341/0.2539, allocations: 348.6 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.2543, allocations: 239.5 kB / 0.7898 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.2544, allocations: 44.28 kB / 0.7899 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.2545, allocations: 135.7 kB / 0.79 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2547, allocations: 131.5 kB / 0.7901 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.555e-05/0.2548, allocations: 20 kB / 0.7901 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.531e-05/0.2549, allocations: 31.98 kB / 0.7902 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.2549, allocations: 47.81 kB / 0.7902 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.255, allocations: 73.64 kB / 0.7903 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002497/0.2553, allocations: 267.6 kB / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2553, allocations: 0 / 0.7905 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2553, allocations: 4 kB / 0.7906 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.2553, allocations: 0 / 0.7906 GB, free: 8.449 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.0007159/0.256, allocations: 0.5574 MB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2561, allocations: 8.031 kB / 0.7911 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.219e-05/0.2562, allocations: 31.72 kB / 0.7911 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007659/0.2569, allocations: 307.6 kB / 0.7914 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.16e-05/0.257, allocations: 32.25 kB / 0.7915 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.2571, allocations: 35.98 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.2573, allocations: 172.2 kB / 0.7917 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2574, allocations: 3.938 kB / 0.7917 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.697e-05/0.2574, allocations: 15.97 kB / 0.7917 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.2574, allocations: 4 kB / 0.7917 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.2576, allocations: 112.2 kB / 0.7918 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009154/0.2585, allocations: 0.6014 MB / 0.7924 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.2588, allocations: 202.4 kB / 0.7926 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.2589, allocations: 8 kB / 0.7926 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.2593, allocations: 246.8 kB / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.643e-06/0.2593, allocations: 0 / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of matching and sorting (n=36): time 0.0006996/0.26, allocations: 411.7 kB / 0.7932 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.26, allocations: 67.73 kB / 0.7933 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.2602, allocations: 187 kB / 0.7934 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.2603, allocations: 49.7 kB / 0.7935 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.2604, allocations: 136.8 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.2605, allocations: 86.89 kB / 0.7937 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.2605, allocations: 16 kB / 0.7937 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2606, allocations: 334.8 kB / 0.794 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.2609, allocations: 145 kB / 0.7942 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003235/0.2612, allocations: 271.2 kB / 0.7944 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.2616, allocations: 237 kB / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2616, allocations: 0 / 0.7947 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008442/0.2624, allocations: 0.5813 MB / 0.7952 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.2625, allocations: 97.09 kB / 0.7953 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2625, allocations: 4 kB / 0.7953 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.2625, allocations: 4 kB / 0.7953 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2627, allocations: 43.86 kB / 0.7954 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.452e-05/0.2627, allocations: 8.375 kB / 0.7954 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005197/0.2632, allocations: 135.5 kB / 0.7955 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.769e-05/0.2633, allocations: 31.98 kB / 0.7955 GB, free: 2.996 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 ($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,$whenCondition15,$whenCondition16,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,$whenCondition3,$PRE.booPul1.y,booPul1.y,$whenCondition9,$PRE.pre.u,pre.y,con.y,$whenCondition8,$whenCondition7,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.booPul2.y,booPul2.y,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$whenCondition10,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition2,$whenCondition1,$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.0001806/0.2635, allocations: 183 kB / 0.7957 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.2635, allocations: 27.7 kB / 0.7957 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.489e-05/0.2636, allocations: 22.66 kB / 0.7958 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.2636, allocations: 4 kB / 0.7958 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.2636, allocations: 0 / 0.7958 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.2636, allocations: 3.984 kB / 0.7958 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000863/0.2645, allocations: 0.7051 MB / 0.7965 GB, free: 1.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2645, allocations: 7.984 kB / 0.7965 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.654e-05/0.2646, allocations: 15.94 kB / 0.7965 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2646, allocations: 0 / 0.7965 GB, free: 1.965 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.2646, allocations: 11.98 kB / 0.7965 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.2646, allocations: 0 / 0.7965 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2646, allocations: 3.953 kB / 0.7965 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004943/0.2651, allocations: 422.9 kB / 0.7969 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.482e-05/0.2652, allocations: 104.8 kB / 0.797 GB, free: 1.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.2652, allocations: 15.98 kB / 0.797 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.639e-05/0.2653, allocations: 4 kB / 0.797 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.372e-05/0.2654, allocations: 31.95 kB / 0.7971 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.2655, allocations: 23.94 kB / 0.7971 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.919e-05/0.2656, allocations: 122.3 kB / 0.7972 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.924e-06/0.2656, allocations: 0 / 0.7972 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003853/0.266, allocations: 95.92 kB / 0.7973 GB, free: 1.113 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 (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.0002013/0.2662, allocations: 129.4 kB / 0.7974 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007085/0.2669, allocations: 0.5412 MB / 0.7979 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2669, allocations: 0 / 0.7979 GB, free: 408 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2671, allocations: 139.8 kB / 0.7981 GB, free: 268 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002624/0.2674, allocations: 32.92 kB / 0.7981 GB, free: 232 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006764/0.268, allocations: 460.5 kB / 0.7985 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/0.2683, allocations: 0.7565 MB / 0.7993 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 9.913e-05/0.2685, allocations: 30.97 kB / 0.7993 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.656e-05/0.2685, allocations: 31.44 kB / 0.7993 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.2685, allocations: 0 / 0.7993 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of Templates: time 0.006979/0.2755, allocations: 3.425 MB / 0.8027 GB, free: 11.51 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Logical.Validation.Timer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: