Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.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: 113.8 kB / 17.61 MB, free: 4.703 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.001876/0.001876, allocations: 186 kB / 20.78 MB, free: 1.547 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.919/0.919, allocations: 134 MB / 438.5 MB, free: 13.58 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 67.89 kB / 0.6083 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4732/0.476, allocations: 84.68 MB / 0.691 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002688/0.4786, allocations: 2.049 MB / 0.693 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007584/0.4794, allocations: 0.5376 MB / 0.6935 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.293e-05/0.4795, allocations: 2.219 kB / 0.6935 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.4796, allocations: 25.67 kB / 0.6936 GB, free: 136 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.798e-05/0.4797, allocations: 49.03 kB / 0.6936 GB, free: 92 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002475/0.48, allocations: 59.95 kB / 0.6937 GB, free: 40 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.4802, allocations: 185 kB / 0.6939 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.4804, allocations: 59.25 kB / 0.6939 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.4805, allocations: 72.8 kB / 0.694 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.4807, allocations: 83.38 kB / 0.6941 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.185e-05/0.4807, allocations: 14.12 kB / 0.6941 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.811e-05/0.4807, allocations: 15.28 kB / 0.6941 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.4808, allocations: 40.42 kB / 0.6941 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.4809, allocations: 75.92 kB / 0.6942 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002431/0.4811, allocations: 176.2 kB / 0.6944 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.4811, allocations: 0 / 0.6944 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4811, allocations: 0 / 0.6944 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.4811, allocations: 0 / 0.6944 GB, free: 15.57 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008854/0.482, allocations: 498.9 kB / 0.6948 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.4821, allocations: 13.38 kB / 0.6949 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.4821, allocations: 19.28 kB / 0.6949 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.4824, allocations: 211.8 kB / 0.6951 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-05/0.4825, allocations: 42.31 kB / 0.6951 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.4825, allocations: 12.97 kB / 0.6951 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004227/0.4829, allocations: 158.4 kB / 0.6953 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.4829, allocations: 0 / 0.6953 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.4829, allocations: 9 kB / 0.6953 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.483, allocations: 4.219 kB / 0.6953 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004839/0.4834, allocations: 147.6 kB / 0.6954 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009095/0.4844, allocations: 0.5271 MB / 0.6959 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.4848, allocations: 129.3 kB / 0.6961 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.485, allocations: 78.08 kB / 0.6961 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.485, allocations: 1.375 kB / 0.6961 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4851, allocations: 35.94 kB / 0.6962 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.4851, allocations: 1.375 kB / 0.6962 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0007256/0.4858, allocations: 224.6 kB / 0.6964 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.4858, allocations: 52.78 kB / 0.6964 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.486, allocations: 149.9 kB / 0.6966 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.486, allocations: 27.08 kB / 0.6966 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4861, allocations: 136.4 kB / 0.6967 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.4861, allocations: 35.81 kB / 0.6968 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.4862, allocations: 35.3 kB / 0.6968 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4864, allocations: 325.6 kB / 0.6971 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4866, allocations: 60.94 kB / 0.6972 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4868, allocations: 87.58 kB / 0.6973 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003883/0.4872, allocations: 136.4 kB / 0.6974 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4872, allocations: 9.25 kB / 0.6974 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004834/0.4877, allocations: 189.1 kB / 0.6976 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4877, allocations: 5.5 kB / 0.6976 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4877, allocations: 1.375 kB / 0.6976 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4877, allocations: 1.656 kB / 0.6976 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/0.4879, allocations: 39.77 kB / 0.6976 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4879, allocations: 5.219 kB / 0.6976 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.488, allocations: 28.22 kB / 0.6977 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.4881, allocations: 3.406 kB / 0.6977 GB, free: 12.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (con.y_boolean,$PRE.con.y_boolean) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001284/0.4882, allocations: 129 kB / 0.6978 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.4882, allocations: 17.48 kB / 0.6978 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.4883, allocations: 19.53 kB / 0.6978 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4883, allocations: 1.406 kB / 0.6978 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4883, allocations: 4 kB / 0.6978 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.4883, allocations: 1.281 kB / 0.6978 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.4886, allocations: 246.7 kB / 0.6981 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4886, allocations: 1.281 kB / 0.6981 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.4888, allocations: 36.59 kB / 0.6981 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.4888, allocations: 3.938 kB / 0.6981 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.4888, allocations: 5.281 kB / 0.6981 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4888, allocations: 5.422 kB / 0.6981 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4888, allocations: 0 / 0.6981 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007396/0.4896, allocations: 342.9 kB / 0.6984 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.079e-05/0.4896, allocations: 88.33 kB / 0.6985 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.4897, allocations: 1.219 kB / 0.6985 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4898, allocations: 25.66 kB / 0.6986 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/0.4899, allocations: 14.3 kB / 0.6986 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.4899, allocations: 6.453 kB / 0.6986 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.455e-05/0.49, allocations: 108.3 kB / 0.6987 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.49, allocations: 0 / 0.6987 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000263/0.4903, allocations: 41.66 kB / 0.6987 GB, free: 11.91 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cap.T) * Number of discrete variables: 1 (con.y_boolean) * Number of discrete states: 1 (con.y_boolean) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0001249/0.4904, allocations: 105.9 kB / 0.6988 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004907/0.4909, allocations: 139.8 kB / 0.6989 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.4909, allocations: 0 / 0.6989 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.4911, allocations: 66.27 kB / 0.699 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4915, allocations: 29.92 kB / 0.699 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008968/0.4924, allocations: 399.9 kB / 0.6994 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.4927, allocations: 0.7206 MB / 0.7001 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.625e-05/0.4928, allocations: 9.312 kB / 0.7001 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.4929, allocations: 17.66 kB / 0.7002 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of SimCode: time 5.62e-07/0.4929, allocations: 1.594 kB / 0.7002 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of Templates: time 0.004868/0.4977, allocations: 1.645 MB / 0.7018 GB, free: 9.871 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.832418785430491]