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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.001246/0.001246, allocations: 182.3 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5366/0.5366, allocations: 91.99 MB / 108.5 MB, free: 13.08 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.749/1.749, allocations: 223.2 MB / 354.3 MB, free: 12.2 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.001057/0.001057, allocations: 100.1 kB / 427.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005286/0.0005285, allocations: 8 kB / 0.4982 GB, free: 42.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2023/0.2029, allocations: 72.32 MB / 0.5689 GB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5763/0.7793, allocations: 109.6 MB / 0.6759 GB, free: 10.83 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/0.7797, allocations: 91.94 kB / 0.676 GB, free: 10.74 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02057/0.8003, allocations: 7.534 MB / 0.6833 GB, free: 3.203 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.8003, allocations: 4 kB / 0.6834 GB, free: 3.199 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.558e-05/0.8004, allocations: 12 kB / 0.6834 GB, free: 3.188 MB / 474.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.001176/0.8015, allocations: 0.7035 MB / 0.684 GB, free: 2.434 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.8016, allocations: 15.97 kB / 0.6841 GB, free: 2.418 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.8017, allocations: 59.28 kB / 0.6841 GB, free: 2.359 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005704/0.8023, allocations: 395.6 kB / 0.6845 GB, free: 1.934 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.371e-05/0.8023, allocations: 33 kB / 0.6845 GB, free: 1.898 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.507e-05/0.8024, allocations: 39.91 kB / 0.6846 GB, free: 1.859 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007183/0.8031, allocations: 422.5 kB / 0.685 GB, free: 1.422 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.8032, allocations: 4 kB / 0.685 GB, free: 1.418 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.922e-05/0.8032, allocations: 19.95 kB / 0.685 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.8032, allocations: 12 kB / 0.685 GB, free: 1.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005788/0.8038, allocations: 291.8 kB / 0.6853 GB, free: 1.102 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.8057, allocations: 1.371 MB / 0.6866 GB, free: 15.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007199/0.8064, allocations: 350.6 kB / 0.687 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.8065, allocations: 8.547 kB / 0.687 GB, free: 15.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004046/0.8069, allocations: 201.3 kB / 0.6872 GB, free: 15.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=33): time 1.854e-06/0.8069, allocations: 0 / 0.6872 GB, free: 15.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=33): time 0.0008753/0.8078, allocations: 430.7 kB / 0.6876 GB, free: 14.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8079, allocations: 132.5 kB / 0.6877 GB, free: 14.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/0.8083, allocations: 324.7 kB / 0.688 GB, free: 14.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.8083, allocations: 37.7 kB / 0.688 GB, free: 14.13 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8085, allocations: 232.2 kB / 0.6883 GB, free: 13.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.8086, allocations: 106.5 kB / 0.6884 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.8087, allocations: 8 kB / 0.6884 GB, free: 13.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.8088, allocations: 346.8 kB / 0.6887 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.8091, allocations: 115.9 kB / 0.6888 GB, free: 13.33 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.8094, allocations: 187.8 kB / 0.689 GB, free: 13.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.8096, allocations: 129.5 kB / 0.6891 GB, free: 13 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.8096, allocations: 0 / 0.6891 GB, free: 13 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006386/0.8103, allocations: 366.2 kB / 0.6895 GB, free: 12.63 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.8103, allocations: 4 kB / 0.6895 GB, free: 12.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.8103, allocations: 4 kB / 0.6895 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.8103, allocations: 48 / 0.6895 GB, free: 12.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.8106, allocations: 71.89 kB / 0.6895 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.8107, allocations: 4 kB / 0.6895 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/0.8109, allocations: 51.84 kB / 0.6896 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.8109, allocations: 19.89 kB / 0.6896 GB, free: 12.48 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.0002092/0.8112, allocations: 166.9 kB / 0.6898 GB, free: 12.31 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.321e-05/0.8112, allocations: 39.53 kB / 0.6898 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.8113, allocations: 48.23 kB / 0.6899 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.8113, allocations: 4 kB / 0.6899 GB, free: 12.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8114, allocations: 7.938 kB / 0.6899 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.8114, allocations: 0 / 0.6899 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.8127, allocations: 0.8728 MB / 0.6907 GB, free: 11.28 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.8127, allocations: 7.922 kB / 0.6907 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000273/0.813, allocations: 47.92 kB / 0.6908 GB, free: 11.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.813, allocations: 3.984 kB / 0.6908 GB, free: 11.22 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.813, allocations: 8 kB / 0.6908 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.813, allocations: 0 / 0.6908 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.813, allocations: 0 / 0.6908 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009079/0.814, allocations: 0.569 MB / 0.6913 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.8141, allocations: 148.6 kB / 0.6915 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.8142, allocations: 8.062 kB / 0.6915 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002276/0.8144, allocations: 27.98 kB / 0.6915 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.8145, allocations: 27.95 kB / 0.6915 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/0.8146, allocations: 12 kB / 0.6916 GB, free: 10.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002801/0.8148, allocations: 255.1 kB / 0.6918 GB, free: 10.14 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8148, allocations: 0 / 0.6918 GB, free: 10.14 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003839/0.8152, allocations: 99.77 kB / 0.6919 GB, free: 10.05 MB / 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.000179/0.8154, allocations: 109.9 kB / 0.692 GB, free: 9.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006083/0.816, allocations: 292 kB / 0.6923 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.8161, allocations: 0 / 0.6923 GB, free: 9.648 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002636/0.8163, allocations: 156.4 kB / 0.6924 GB, free: 9.496 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.8168, allocations: 69.52 kB / 0.6925 GB, free: 9.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001598/0.8184, allocations: 0.981 MB / 0.6934 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.8188, allocations: 0.8191 MB / 0.6942 GB, free: 7.57 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001748/0.819, allocations: 47.27 kB / 0.6943 GB, free: 7.527 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.638e-05/0.8191, allocations: 31.44 kB / 0.6943 GB, free: 7.5 MB / 490.7 MB Notification: Performance of SimCode: time 3.91e-07/0.8191, allocations: 0 / 0.6943 GB, free: 7.5 MB / 490.7 MB Notification: Performance of Templates: time 0.007744/0.8268, allocations: 3.71 MB / 0.6979 GB, free: 3.824 MB / 490.7 MB 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)