Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001276/0.001276, allocations: 105.2 kB / 15.98 MB, free: 6.355 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.001227/0.001227, allocations: 196.7 kB / 16.91 MB, free: 6.191 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.551/1.551, allocations: 205.1 MB / 222.8 MB, free: 4.695 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.875/1.875, allocations: 292.3 MB / 0.5492 GB, free: 13.6 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.001398/0.001398, allocations: 62.59 kB / 0.6717 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2508, allocations: 114.6 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.0023/0.2531, allocations: 0.8136 MB / 0.7843 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.2549, allocations: 1.255 MB / 0.7855 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.255, allocations: 8 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.459e-05/0.2551, allocations: 3.938 kB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.3e-05/0.2552, allocations: 15.84 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007187/0.2559, allocations: 222.8 kB / 0.7858 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.2562, allocations: 267.5 kB / 0.786 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2563, allocations: 16.23 kB / 0.7861 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2565, allocations: 99.8 kB / 0.7862 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.2567, allocations: 91.69 kB / 0.7862 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.42e-05/0.2568, allocations: 20 kB / 0.7863 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2569, allocations: 39.98 kB / 0.7863 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.257, allocations: 27.95 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.2571, allocations: 95.73 kB / 0.7864 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.2574, allocations: 159.8 kB / 0.7866 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2574, allocations: 8 kB / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.384e-06/0.2574, allocations: 0 / 0.7866 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.2575, allocations: 0 / 0.7866 GB, free: 10.75 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007955/0.2583, allocations: 498.5 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2583, allocations: 8.031 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.491e-05/0.2584, allocations: 20.83 kB / 0.7871 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.259, allocations: 256.3 kB / 0.7873 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/0.259, allocations: 12.36 kB / 0.7873 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.2591, allocations: 20.38 kB / 0.7874 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.2594, allocations: 139.1 kB / 0.7875 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2594, allocations: 3.938 kB / 0.7875 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.2594, allocations: 4 kB / 0.7875 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.695e-06/0.2594, allocations: 0 / 0.7875 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.2596, allocations: 63.89 kB / 0.7876 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.2604, allocations: 0.5162 MB / 0.7881 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.2607, allocations: 161.2 kB / 0.7882 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.666e-05/0.2608, allocations: 61.69 kB / 0.7883 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.2609, allocations: 4 kB / 0.7883 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003996/0.2613, allocations: 209.7 kB / 0.7885 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.2613, allocations: 0 / 0.7885 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22): time 0.0005647/0.2618, allocations: 313.3 kB / 0.7888 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2619, allocations: 88.98 kB / 0.7889 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.262, allocations: 126.1 kB / 0.789 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.874e-05/0.2621, allocations: 41.7 kB / 0.789 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.739e-05/0.2622, allocations: 100.6 kB / 0.7891 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.3e-05/0.2622, allocations: 51.34 kB / 0.7892 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2623, allocations: 81.67 kB / 0.7892 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002074/0.2626, allocations: 326.8 kB / 0.7896 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.2627, allocations: 84.23 kB / 0.7896 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.263, allocations: 152.2 kB / 0.7898 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000306/0.2633, allocations: 256.1 kB / 0.79 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2634, allocations: 0 / 0.79 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005726/0.2639, allocations: 356.1 kB / 0.7904 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.264, allocations: 67.39 kB / 0.7904 GB, free: 6.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.264, allocations: 4 kB / 0.7904 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.264, allocations: 4 kB / 0.7904 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2642, allocations: 20.16 kB / 0.7905 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2642, allocations: 7.938 kB / 0.7905 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000346/0.2645, allocations: 71.67 kB / 0.7905 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.2646, allocations: 16 kB / 0.7905 GB, free: 6.328 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.000159/0.2647, allocations: 152.7 kB / 0.7907 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/0.2648, allocations: 15.89 kB / 0.7907 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.545e-05/0.2648, allocations: 12.5 kB / 0.7907 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.2648, allocations: 4 kB / 0.7907 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.2648, allocations: 3.938 kB / 0.7907 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.2648, allocations: 0 / 0.7907 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.2655, allocations: 0.6109 MB / 0.7913 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2656, allocations: 4 kB / 0.7913 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.289e-05/0.2656, allocations: 12 kB / 0.7913 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.2656, allocations: 3.938 kB / 0.7913 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.2656, allocations: 11.98 kB / 0.7914 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.2657, allocations: 0 / 0.7914 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2657, allocations: 4 kB / 0.7914 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.2661, allocations: 425.2 kB / 0.7918 GB, free: 5 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.2662, allocations: 92.95 kB / 0.7919 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.785e-05/0.2662, allocations: 15.92 kB / 0.7919 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2663, allocations: 8.078 kB / 0.7919 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.25e-05/0.2664, allocations: 27.91 kB / 0.7919 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2664, allocations: 15.98 kB / 0.7919 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.2665, allocations: 91.27 kB / 0.792 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.055e-05/0.2665, allocations: 4 kB / 0.792 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003483/0.2669, allocations: 55.94 kB / 0.7921 GB, free: 4.676 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00022/0.2671, allocations: 127 kB / 0.7922 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00054/0.2677, allocations: 354.6 kB / 0.7925 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2677, allocations: 3.938 kB / 0.7925 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.2678, allocations: 111.9 kB / 0.7926 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.2682, allocations: 32.34 kB / 0.7927 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.2689, allocations: 332.4 kB / 0.793 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.2692, allocations: 0.7086 MB / 0.7937 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.2693, allocations: 23.42 kB / 0.7937 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.2693, allocations: 0 / 0.7937 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.005042/0.2743, allocations: 2.25 MB / 0.7959 GB, free: 0.668 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1)