Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.conf.json 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/IBPSA 3.0.0-master/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009964/0.0009965, allocations: 172 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4874/0.4874, allocations: 86.27 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 223.2 MB / 348.4 MB, free: 4.906 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000842/0.0008421, allocations: 100.6 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 12 kB / 0.4901 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4317, allocations: 71 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.5731, allocations: 108.2 MB / 0.6651 GB, free: 1.266 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5734, allocations: 91.89 kB / 0.6652 GB, free: 1.176 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.5923, allocations: 7.544 MB / 0.6726 GB, free: 9.609 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5924, allocations: 0 / 0.6726 GB, free: 9.609 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.098e-05/0.5924, allocations: 12 kB / 0.6726 GB, free: 9.598 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001076/0.5935, allocations: 0.6918 MB / 0.6733 GB, free: 8.852 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5935, allocations: 12.03 kB / 0.6733 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.5936, allocations: 56.28 kB / 0.6734 GB, free: 8.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.5942, allocations: 412.9 kB / 0.6737 GB, free: 8.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.5942, allocations: 29.38 kB / 0.6738 GB, free: 8.316 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.429e-05/0.5943, allocations: 36.38 kB / 0.6738 GB, free: 8.281 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.595, allocations: 431 kB / 0.6742 GB, free: 7.832 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.595, allocations: 3.938 kB / 0.6742 GB, free: 7.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.169e-05/0.5951, allocations: 16.22 kB / 0.6742 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5951, allocations: 8 kB / 0.6742 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005656/0.5957, allocations: 311.7 kB / 0.6745 GB, free: 7.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001769/0.5975, allocations: 1.371 MB / 0.6759 GB, free: 6.055 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.5982, allocations: 354.6 kB / 0.6762 GB, free: 5.699 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.5985, allocations: 145.5 kB / 0.6764 GB, free: 5.555 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5985, allocations: 7.938 kB / 0.6764 GB, free: 5.547 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000389/0.5989, allocations: 193.5 kB / 0.6766 GB, free: 5.344 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 2.305e-06/0.5989, allocations: 0 / 0.6766 GB, free: 5.344 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008448/0.5998, allocations: 436.3 kB / 0.677 GB, free: 4.914 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.337e-05/0.5998, allocations: 136.5 kB / 0.6771 GB, free: 4.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003721/0.6002, allocations: 357.7 kB / 0.6774 GB, free: 4.391 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.806e-05/0.6003, allocations: 29.7 kB / 0.6775 GB, free: 4.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.6004, allocations: 240.6 kB / 0.6777 GB, free: 4.117 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.482e-05/0.6005, allocations: 102.6 kB / 0.6778 GB, free: 4.016 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.396e-05/0.6006, allocations: 4 kB / 0.6778 GB, free: 4.012 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.6007, allocations: 350.8 kB / 0.6781 GB, free: 3.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.601, allocations: 115.9 kB / 0.6782 GB, free: 3.547 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002902/0.6013, allocations: 191.8 kB / 0.6784 GB, free: 3.336 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004629/0.6017, allocations: 278 kB / 0.6787 GB, free: 3.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6017, allocations: 4 kB / 0.6787 GB, free: 3.047 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006312/0.6024, allocations: 369.9 kB / 0.6791 GB, free: 2.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6024, allocations: 6.031 kB / 0.6791 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.6024, allocations: 0 / 0.6791 GB, free: 2.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.6024, allocations: 4 kB / 0.6791 GB, free: 2.672 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.6027, allocations: 71.84 kB / 0.6791 GB, free: 2.602 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.6027, allocations: 3.984 kB / 0.6791 GB, free: 2.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002198/0.6029, allocations: 51.86 kB / 0.6792 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.603, allocations: 8 kB / 0.6792 GB, free: 2.539 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0002073/0.6032, allocations: 177.8 kB / 0.6794 GB, free: 2.355 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.979e-05/0.6032, allocations: 39.47 kB / 0.6794 GB, free: 2.316 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.6034, allocations: 48.25 kB / 0.6794 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6034, allocations: 4 kB / 0.6794 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.6034, allocations: 3.938 kB / 0.6795 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6034, allocations: 0 / 0.6795 GB, free: 2.258 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.6046, allocations: 0.8777 MB / 0.6803 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.6046, allocations: 0 / 0.6803 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.6048, allocations: 55.91 kB / 0.6804 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.6049, allocations: 0 / 0.6804 GB, free: 1.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.367e-05/0.6049, allocations: 8 kB / 0.6804 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.6049, allocations: 0 / 0.6804 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6049, allocations: 0 / 0.6804 GB, free: 1.262 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000874/0.6058, allocations: 0.5768 MB / 0.6809 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.6059, allocations: 140.6 kB / 0.6811 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.606, allocations: 11.94 kB / 0.6811 GB, free: 0.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.6062, allocations: 35.97 kB / 0.6811 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.6063, allocations: 15.97 kB / 0.6811 GB, free: 460 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.6063, allocations: 15.98 kB / 0.6811 GB, free: 444 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002518/0.6066, allocations: 255.2 kB / 0.6814 GB, free: 192 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6066, allocations: 0 / 0.6814 GB, free: 192 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.607, allocations: 83.78 kB / 0.6815 GB, free: 108 kB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.0001702/0.6071, allocations: 115.7 kB / 0.6816 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005643/0.6077, allocations: 300 kB / 0.6819 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.6077, allocations: 0 / 0.6819 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002609/0.608, allocations: 152.4 kB / 0.682 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005414/0.6085, allocations: 75.48 kB / 0.6821 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.6101, allocations: 0.9822 MB / 0.683 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.6106, allocations: 0.823 MB / 0.6838 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001789/0.6107, allocations: 35.28 kB / 0.6839 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.144e-05/0.6108, allocations: 31.42 kB / 0.6839 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of SimCode: time 5.11e-07/0.6108, allocations: 0 / 0.6839 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.007729/0.6186, allocations: 3.778 MB / 0.6876 GB, free: 9.805 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)