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.001223/0.001224, allocations: 104.6 kB / 16.27 MB, free: 5.93 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.001268/0.001268, allocations: 187.4 kB / 17.2 MB, free: 5.574 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.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7923/0.7923, allocations: 126.1 MB / 417.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 59.89 kB / 0.495 GB, free: 3.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4639/0.4654, allocations: 78.71 MB / 0.5718 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004409/0.4698, allocations: 2.962 MB / 0.5747 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.4716, allocations: 0.9072 MB / 0.5756 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002657/0.4719, allocations: 13.03 kB / 0.5756 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.4721, allocations: 64.34 kB / 0.5757 GB, free: 28.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.4723, allocations: 88.53 kB / 0.5758 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.4729, allocations: 223.4 kB / 0.576 GB, free: 28.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005119/0.4734, allocations: 485.9 kB / 0.5764 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.4738, allocations: 216.1 kB / 0.5766 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.474, allocations: 183.6 kB / 0.5768 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.4743, allocations: 170.5 kB / 0.577 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.4744, allocations: 44.81 kB / 0.577 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.4745, allocations: 47 kB / 0.5771 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.495e-05/0.4746, allocations: 101.1 kB / 0.5772 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.4748, allocations: 200 kB / 0.5773 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.4754, allocations: 0.4978 MB / 0.5778 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4754, allocations: 1.5 kB / 0.5778 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4754, allocations: 0 / 0.5778 GB, free: 27.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.395e-06/0.4754, allocations: 0 / 0.5778 GB, free: 27.23 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.0009993/0.4764, allocations: 0.7125 MB / 0.5785 GB, free: 26.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4765, allocations: 9.5 kB / 0.5785 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.335e-05/0.4766, allocations: 47.94 kB / 0.5786 GB, free: 26.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.477, allocations: 390.8 kB / 0.579 GB, free: 26.22 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.642e-05/0.4771, allocations: 26.06 kB / 0.579 GB, free: 26.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.4771, allocations: 27.62 kB / 0.579 GB, free: 26.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005083/0.4776, allocations: 345.5 kB / 0.5793 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.4777, allocations: 5.906 kB / 0.5793 GB, free: 25.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.4777, allocations: 14.75 kB / 0.5794 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.4777, allocations: 8.344 kB / 0.5794 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004378/0.4782, allocations: 217.3 kB / 0.5796 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001291/0.4795, allocations: 1.182 MB / 0.5807 GB, free: 24.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.48, allocations: 237.7 kB / 0.581 GB, free: 24.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.4803, allocations: 115.4 kB / 0.5811 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.027e-05/0.4803, allocations: 2.969 kB / 0.5811 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.152e-05/0.4803, allocations: 38 kB / 0.5811 GB, free: 24.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.293e-06/0.4803, allocations: 1.375 kB / 0.5811 GB, free: 24.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006694/0.481, allocations: 287.9 kB / 0.5814 GB, free: 24.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.4811, allocations: 114.6 kB / 0.5815 GB, free: 24.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/0.4814, allocations: 337.3 kB / 0.5818 GB, free: 24.08 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4815, allocations: 34.67 kB / 0.5818 GB, free: 24.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000116/0.4816, allocations: 219.4 kB / 0.5821 GB, free: 23.85 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4816, allocations: 80.16 kB / 0.5821 GB, free: 23.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.342e-05/0.4817, allocations: 52.3 kB / 0.5822 GB, free: 23.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.94e-05/0.4818, allocations: 343.4 kB / 0.5825 GB, free: 23.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.482, allocations: 78.69 kB / 0.5826 GB, free: 23.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.4822, allocations: 141.5 kB / 0.5827 GB, free: 23.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003425/0.4825, allocations: 219.6 kB / 0.5829 GB, free: 23.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4825, allocations: 0 / 0.5829 GB, free: 23.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004745/0.483, allocations: 283.7 kB / 0.5832 GB, free: 22.95 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.483, allocations: 5.906 kB / 0.5832 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.4831, allocations: 2.219 kB / 0.5832 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4831, allocations: 6.375 kB / 0.5832 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.4833, allocations: 58.03 kB / 0.5833 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4833, allocations: 2.812 kB / 0.5833 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.4835, allocations: 36.36 kB / 0.5833 GB, free: 22.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4835, allocations: 5.781 kB / 0.5833 GB, free: 22.91 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.0001368/0.4837, allocations: 168.4 kB / 0.5835 GB, free: 22.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.359e-05/0.4837, allocations: 29.88 kB / 0.5835 GB, free: 22.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.111e-05/0.4838, allocations: 43 kB / 0.5835 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.4838, allocations: 3.031 kB / 0.5835 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.4838, allocations: 0 / 0.5835 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.4838, allocations: 3.969 kB / 0.5835 GB, free: 22.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.4842, allocations: 392.3 kB / 0.5839 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4842, allocations: 0 / 0.5839 GB, free: 22.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002104/0.4844, allocations: 40.2 kB / 0.584 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.4845, allocations: 5.797 kB / 0.584 GB, free: 22.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4845, allocations: 6.281 kB / 0.584 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4845, allocations: 3.938 kB / 0.584 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4845, allocations: 2.281 kB / 0.584 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.4851, allocations: 425.1 kB / 0.5844 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.843e-05/0.4852, allocations: 140.8 kB / 0.5845 GB, free: 21.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.67e-05/0.4853, allocations: 10.62 kB / 0.5845 GB, free: 21.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.4855, allocations: 15.67 kB / 0.5845 GB, free: 21.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.712e-05/0.4856, allocations: 16.81 kB / 0.5846 GB, free: 21.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.442e-05/0.4856, allocations: 10.09 kB / 0.5846 GB, free: 21.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002117/0.4858, allocations: 233.1 kB / 0.5848 GB, free: 21.74 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4858, allocations: 3 kB / 0.5848 GB, free: 21.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003306/0.4861, allocations: 69.44 kB / 0.5849 GB, free: 21.72 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 0.000106/0.4862, allocations: 104.7 kB / 0.585 GB, free: 21.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004695/0.4867, allocations: 210.5 kB / 0.5852 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4867, allocations: 0 / 0.5852 GB, free: 21.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002027/0.4869, allocations: 100.5 kB / 0.5853 GB, free: 21.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005859/0.4875, allocations: 84.12 kB / 0.5853 GB, free: 21.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4888, allocations: 0.701 MB / 0.586 GB, free: 21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002184/0.489, allocations: 0.7902 MB / 0.5868 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001439/0.4891, allocations: 37.77 kB / 0.5868 GB, free: 20.24 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.166e-05/0.4892, allocations: 29.88 kB / 0.5869 GB, free: 20.23 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4892, allocations: 0 / 0.5869 GB, free: 20.23 MB / 446.1 MB Notification: Performance of Templates: time 0.007159/0.4964, allocations: 3.191 MB / 0.59 GB, free: 18.68 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)