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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 121.3 kB / 17.81 MB, free: 5.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 193.4 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8623/0.8623, allocations: 128.4 MB / 432.4 MB, free: 13.2 MB / 350.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.89 kB / 0.5987 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4799, allocations: 83.26 MB / 0.68 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis): time 0.004365/0.4843, allocations: 2.993 MB / 0.6829 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001728/0.486, allocations: 0.9147 MB / 0.6838 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002592/0.4863, allocations: 12.72 kB / 0.6838 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002438/0.4865, allocations: 66.92 kB / 0.6839 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.4867, allocations: 100.9 kB / 0.684 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004828/0.4872, allocations: 214.3 kB / 0.6842 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.4877, allocations: 0.4939 MB / 0.6847 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.488, allocations: 148.2 kB / 0.6848 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002324/0.4882, allocations: 178.9 kB / 0.685 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.4884, allocations: 184.7 kB / 0.6852 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.196e-05/0.4885, allocations: 46.97 kB / 0.6852 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.49e-05/0.4886, allocations: 43.69 kB / 0.6852 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.4886, allocations: 85.95 kB / 0.6853 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.4888, allocations: 205.8 kB / 0.6855 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.4894, allocations: 0.509 MB / 0.686 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.4894, allocations: 0 / 0.686 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.4894, allocations: 3.984 kB / 0.686 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.4894, allocations: 0 / 0.686 GB, free: 2.289 MB / 0.4981 GB 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.001098/0.4905, allocations: 0.7215 MB / 0.6867 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.4905, allocations: 8.906 kB / 0.6867 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.4906, allocations: 48.31 kB / 0.6868 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.4913, allocations: 402.9 kB / 0.6872 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.314e-05/0.4913, allocations: 25.06 kB / 0.6872 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.4913, allocations: 27.72 kB / 0.6872 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.4919, allocations: 342.9 kB / 0.6875 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.492, allocations: 1.188 kB / 0.6875 GB, free: 1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.492, allocations: 14.53 kB / 0.6876 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.492, allocations: 7.125 kB / 0.6876 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000502/0.4925, allocations: 216.9 kB / 0.6878 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.494, allocations: 1.179 MB / 0.6889 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006437/0.4947, allocations: 229 kB / 0.6891 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.4949, allocations: 103.2 kB / 0.6892 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.93e-05/0.495, allocations: 11.31 kB / 0.6893 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.495, allocations: 32.03 kB / 0.6893 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=22): time 1.733e-06/0.495, allocations: 1.188 kB / 0.6893 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=22): time 0.0007603/0.4958, allocations: 293.8 kB / 0.6896 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.569e-05/0.4959, allocations: 109.7 kB / 0.6897 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.4963, allocations: 342.6 kB / 0.69 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.4963, allocations: 35.92 kB / 0.69 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.4965, allocations: 222.3 kB / 0.6902 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4966, allocations: 84.12 kB / 0.6903 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4967, allocations: 52.47 kB / 0.6904 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000192/0.4969, allocations: 346.5 kB / 0.6907 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.4971, allocations: 75.09 kB / 0.6908 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.4974, allocations: 144.5 kB / 0.6909 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.4978, allocations: 214.8 kB / 0.6911 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4978, allocations: 1.125 kB / 0.6911 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005682/0.4984, allocations: 280.7 kB / 0.6914 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4984, allocations: 10.31 kB / 0.6914 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4984, allocations: 1.062 kB / 0.6914 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.4985, allocations: 3.406 kB / 0.6914 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4987, allocations: 52 kB / 0.6915 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.4987, allocations: 3.906 kB / 0.6915 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001854/0.4989, allocations: 36.36 kB / 0.6915 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.4989, allocations: 14.59 kB / 0.6915 GB, free: 13.92 MB / 0.5137 GB 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.0002058/0.4991, allocations: 162.5 kB / 0.6917 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.4992, allocations: 36.11 kB / 0.6917 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.4993, allocations: 44.06 kB / 0.6917 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.4993, allocations: 6.297 kB / 0.6917 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4993, allocations: 1.031 kB / 0.6917 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.4993, allocations: 0 / 0.6917 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.4998, allocations: 391.5 kB / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4998, allocations: 0 / 0.6921 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.5001, allocations: 47.8 kB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5001, allocations: 5.094 kB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.5001, allocations: 6.297 kB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.5001, allocations: 1.125 kB / 0.6922 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5001, allocations: 3.938 kB / 0.6922 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.5009, allocations: 426.4 kB / 0.6926 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.501, allocations: 136.1 kB / 0.6927 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.5011, allocations: 10.09 kB / 0.6927 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.5012, allocations: 16.42 kB / 0.6927 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.952e-05/0.5013, allocations: 20.78 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/0.5013, allocations: 3.125 kB / 0.6928 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002809/0.5016, allocations: 239 kB / 0.693 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.5016, allocations: 0 / 0.693 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003537/0.502, allocations: 65.31 kB / 0.6931 GB, free: 12.71 MB / 0.5137 GB 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.0001393/0.5021, allocations: 108.7 kB / 0.6932 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.5026, allocations: 191.3 kB / 0.6933 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5026, allocations: 0 / 0.6933 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.5028, allocations: 94.59 kB / 0.6934 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005352/0.5033, allocations: 95.22 kB / 0.6935 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5048, allocations: 0.7306 MB / 0.6942 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.5053, allocations: 0.7904 MB / 0.695 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5054, allocations: 30.7 kB / 0.695 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.51e-07/0.5054, allocations: 4 kB / 0.695 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.007641/0.513, allocations: 4.274 MB / 0.6992 GB, free: 8.949 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresis.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.315963326022029] Failed to read output from testmodel.py, exit status != 0: 0.5216290089301765 0.5353124499999999 0.043124130000000004 Calling exit ...