Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.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 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008669/0.0008669, allocations: 89.84 kB / 16.67 MB, free: 6.594 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.000922/0.0009221, allocations: 183.9 kB / 17.58 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.711/0.711, allocations: 115.5 MB / 408.2 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.000328, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3667, allocations: 77.53 MB / 0.5606 GB, free: 35.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.00329/0.3701, allocations: 2.627 MB / 0.5632 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.3719, allocations: 0.8753 MB / 0.564 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004211/0.3724, allocations: 12.88 kB / 0.564 GB, free: 33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002277/0.3726, allocations: 43.47 kB / 0.5641 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002831/0.3729, allocations: 72.44 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005431/0.3735, allocations: 197 kB / 0.5643 GB, free: 32.8 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.3741, allocations: 456.7 kB / 0.5648 GB, free: 32.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003817/0.3745, allocations: 199 kB / 0.5649 GB, free: 32.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002692/0.3748, allocations: 126.3 kB / 0.5651 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002411/0.3751, allocations: 136.7 kB / 0.5652 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.409e-05/0.3751, allocations: 12.41 kB / 0.5652 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.8e-05/0.3752, allocations: 13.28 kB / 0.5652 GB, free: 32.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.357e-05/0.3752, allocations: 52.45 kB / 0.5653 GB, free: 32.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.3754, allocations: 189.6 kB / 0.5654 GB, free: 32.18 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004488/0.3758, allocations: 380.5 kB / 0.5658 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3759, allocations: 0 / 0.5658 GB, free: 32.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3759, allocations: 1.125 kB / 0.5658 GB, free: 32.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.3759, allocations: 0 / 0.5658 GB, free: 32.09 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001062/0.377, allocations: 0.6395 MB / 0.5664 GB, free: 31.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.377, allocations: 12.81 kB / 0.5664 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.3771, allocations: 49.77 kB / 0.5665 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.3777, allocations: 395.6 kB / 0.5669 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.3777, allocations: 24.78 kB / 0.5669 GB, free: 31.22 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.205e-05/0.3777, allocations: 32.11 kB / 0.5669 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005939/0.3783, allocations: 343.9 kB / 0.5673 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.3784, allocations: 3.938 kB / 0.5673 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.3784, allocations: 19.28 kB / 0.5673 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3784, allocations: 7.75 kB / 0.5673 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.3789, allocations: 217.8 kB / 0.5675 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.3804, allocations: 1.191 MB / 0.5687 GB, free: 30.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.3809, allocations: 242.8 kB / 0.5689 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002211/0.3812, allocations: 117.7 kB / 0.569 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3812, allocations: 3.531 kB / 0.569 GB, free: 29.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.3812, allocations: 36.5 kB / 0.569 GB, free: 29.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.573e-06/0.3813, allocations: 0 / 0.569 GB, free: 29.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006439/0.3819, allocations: 293.8 kB / 0.5693 GB, free: 29.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.382, allocations: 108.9 kB / 0.5694 GB, free: 29.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003651/0.3823, allocations: 341.5 kB / 0.5697 GB, free: 29.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.3824, allocations: 32.33 kB / 0.5698 GB, free: 29.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001314/0.3825, allocations: 223 kB / 0.57 GB, free: 29.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.3826, allocations: 78.22 kB / 0.5701 GB, free: 29.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.3826, allocations: 31.23 kB / 0.5701 GB, free: 29.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.088e-05/0.3827, allocations: 345.6 kB / 0.5704 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.3829, allocations: 79.86 kB / 0.5705 GB, free: 28.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000216/0.3831, allocations: 142.9 kB / 0.5706 GB, free: 28.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.3835, allocations: 222.7 kB / 0.5709 GB, free: 28.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3835, allocations: 0 / 0.5709 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005194/0.384, allocations: 283.1 kB / 0.5711 GB, free: 28.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.3841, allocations: 7.875 kB / 0.5711 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3841, allocations: 1.719 kB / 0.5711 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3841, allocations: 6.141 kB / 0.5711 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002256/0.3843, allocations: 53.08 kB / 0.5712 GB, free: 28.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.3843, allocations: 7.328 kB / 0.5712 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.3845, allocations: 39.66 kB / 0.5712 GB, free: 28.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3846, allocations: 13.5 kB / 0.5712 GB, free: 28.38 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 (con.hys.y,$PRE.con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * 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.0001464/0.3847, allocations: 167.2 kB / 0.5714 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.3848, allocations: 32.03 kB / 0.5714 GB, free: 28.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.775e-05/0.3849, allocations: 47.25 kB / 0.5715 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3849, allocations: 2.531 kB / 0.5715 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.3849, allocations: 0 / 0.5715 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.3849, allocations: 2.938 kB / 0.5715 GB, free: 28.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004085/0.3853, allocations: 394.8 kB / 0.5719 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3853, allocations: 0 / 0.5719 GB, free: 27.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.3856, allocations: 48.25 kB / 0.5719 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3856, allocations: 2.75 kB / 0.5719 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.3856, allocations: 2.469 kB / 0.5719 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3856, allocations: 1.031 kB / 0.5719 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3856, allocations: 1.25 kB / 0.5719 GB, free: 27.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006503/0.3863, allocations: 434.4 kB / 0.5723 GB, free: 27.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.3864, allocations: 139.8 kB / 0.5725 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.3864, allocations: 3.344 kB / 0.5725 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.3866, allocations: 23.12 kB / 0.5725 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.262e-05/0.3867, allocations: 20 kB / 0.5725 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.3867, allocations: 5.766 kB / 0.5725 GB, free: 27.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3869, allocations: 241.3 kB / 0.5727 GB, free: 27.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3869, allocations: 2.062 kB / 0.5727 GB, free: 27.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003206/0.3873, allocations: 69.69 kB / 0.5728 GB, free: 27.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 9.489e-05/0.3874, allocations: 100.6 kB / 0.5729 GB, free: 27.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004448/0.3878, allocations: 206.6 kB / 0.5731 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.3878, allocations: 0 / 0.5731 GB, free: 27.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.3881, allocations: 104.5 kB / 0.5732 GB, free: 27.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005681/0.3886, allocations: 75.03 kB / 0.5733 GB, free: 27.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.3899, allocations: 0.9113 MB / 0.5742 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3901, allocations: 0.7907 MB / 0.5749 GB, free: 25.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.211e-05/0.3902, allocations: 33 kB / 0.575 GB, free: 25.82 MB / 446.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3902, allocations: 0 / 0.575 GB, free: 25.82 MB / 446.1 MB Notification: Performance of Templates: time 0.007579/0.3978, allocations: 4.173 MB / 0.579 GB, free: 25.41 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)