Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") translateModel(Buildings.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5194/0.5194, allocations: 95.62 MB / 110.6 MB, free: 9.355 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001141/0.001141, allocations: 173 kB / 134.2 MB, free: 2.262 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.519/1.519, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001616/0.001616, allocations: 103.4 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 12 kB / 462.7 MB, free: 35.7 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 61.52 MB / 0.512 GB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4589/0.61, allocations: 94.54 MB / 0.6043 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.6103, allocations: 73.5 kB / 0.6044 GB, free: 12.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003148/0.6135, allocations: 1.074 MB / 0.6054 GB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6135, allocations: 0 / 0.6054 GB, free: 11.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.6136, allocations: 0 / 0.6054 GB, free: 11.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005056/0.6141, allocations: 359.8 kB / 0.6057 GB, free: 11.42 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.6141, allocations: 11.98 kB / 0.6058 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.6142, allocations: 4 kB / 0.6058 GB, free: 11.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.6143, allocations: 170.3 kB / 0.6059 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.6144, allocations: 4 kB / 0.6059 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.6144, allocations: 4.625 kB / 0.6059 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.6145, allocations: 63.7 kB / 0.606 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.6145, allocations: 0 / 0.606 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6146, allocations: 7.969 kB / 0.606 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.6146, allocations: 5.641 kB / 0.606 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.6147, allocations: 26.3 kB / 0.606 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.6152, allocations: 302 kB / 0.6063 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.6153, allocations: 56.25 kB / 0.6064 GB, free: 10.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.6154, allocations: 4 kB / 0.6064 GB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001775/0.6155, allocations: 70.39 kB / 0.6064 GB, free: 10.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.6156, allocations: 4 kB / 0.6064 GB, free: 10.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002352/0.6158, allocations: 98.7 kB / 0.6065 GB, free: 10.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.6158, allocations: 55.41 kB / 0.6066 GB, free: 10.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.438e-05/0.6159, allocations: 96.42 kB / 0.6067 GB, free: 10.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.616, allocations: 32.95 kB / 0.6067 GB, free: 10.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.616, allocations: 95.53 kB / 0.6068 GB, free: 10.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.6161, allocations: 19.3 kB / 0.6068 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-06/0.6161, allocations: 0 / 0.6068 GB, free: 10.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.6163, allocations: 318.3 kB / 0.6071 GB, free: 9.934 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.759e-05/0.6163, allocations: 18.14 kB / 0.6071 GB, free: 9.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.948e-05/0.6164, allocations: 45.3 kB / 0.6072 GB, free: 9.875 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.6165, allocations: 28.7 kB / 0.6072 GB, free: 9.855 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.6165, allocations: 3.953 kB / 0.6072 GB, free: 9.852 MB / 410.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001508/0.6166, allocations: 96.45 kB / 0.6073 GB, free: 9.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6167, allocations: 5.875 kB / 0.6073 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.6167, allocations: 0 / 0.6073 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.6167, allocations: 4 kB / 0.6073 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.523e-05/0.6168, allocations: 11.94 kB / 0.6073 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.6168, allocations: 3.938 kB / 0.6073 GB, free: 9.746 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.6169, allocations: 11.98 kB / 0.6074 GB, free: 9.734 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6169, allocations: 11.34 kB / 0.6074 GB, free: 9.727 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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.0001103/0.617, allocations: 117.3 kB / 0.6075 GB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.704e-05/0.6171, allocations: 11.86 kB / 0.6075 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.474e-05/0.6171, allocations: 7.719 kB / 0.6075 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6171, allocations: 0 / 0.6075 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6171, allocations: 0 / 0.6075 GB, free: 9.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6171, allocations: 3.984 kB / 0.6075 GB, free: 9.586 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.6176, allocations: 363.8 kB / 0.6078 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.6176, allocations: 0 / 0.6078 GB, free: 9.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.6176, allocations: 7.938 kB / 0.6079 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.6176, allocations: 7.938 kB / 0.6079 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.6177, allocations: 0 / 0.6079 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.6177, allocations: 0 / 0.6079 GB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.6177, allocations: 3.984 kB / 0.6079 GB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.6178, allocations: 192.9 kB / 0.608 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.16e-05/0.6179, allocations: 77.11 kB / 0.6081 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.6179, allocations: 5.75 kB / 0.6081 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.698e-05/0.618, allocations: 7.984 kB / 0.6081 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.6181, allocations: 10.98 kB / 0.6081 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.6181, allocations: 4 kB / 0.6081 GB, free: 8.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.743e-05/0.6182, allocations: 82.34 kB / 0.6082 GB, free: 8.797 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6182, allocations: 0 / 0.6082 GB, free: 8.797 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002162/0.6184, allocations: 15.06 kB / 0.6082 GB, free: 8.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001248/0.6185, allocations: 99.23 kB / 0.6083 GB, free: 8.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.6187, allocations: 54.17 kB / 0.6084 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6187, allocations: 0 / 0.6084 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.6187, allocations: 31.17 kB / 0.6084 GB, free: 8.613 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.619, allocations: 9.375 kB / 0.6084 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004865/0.6195, allocations: 175 kB / 0.6086 GB, free: 8.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6198, allocations: 0.6887 MB / 0.6093 GB, free: 7.695 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.806e-05/0.6198, allocations: 15.94 kB / 0.6093 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.6199, allocations: 14.94 kB / 0.6093 GB, free: 7.672 MB / 410.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6199, allocations: 0 / 0.6093 GB, free: 7.672 MB / 410.7 MB Notification: Performance of Templates: time 0.002587/0.6225, allocations: 0.6495 MB / 0.6099 GB, free: 7.035 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.makefile (rm -f Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe >> ../files/Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.sim & ./Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.Continuous.Examples.OffTimer.pipe 2>&1)