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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 110.1 kB / 19.7 MB, free: 2.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002269/0.002269, allocations: 213.6 kB / 23 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.588/1.588, allocations: 230.6 MB / 256.8 MB, free: 8.047 MB / 206.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.9377/0.9377, allocations: 134 MB / 447.2 MB, free: 10.23 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 73.94 kB / 0.6198 GB, free: 6.941 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.241, allocations: 85.89 MB / 0.7036 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.003901/0.2449, allocations: 2.095 MB / 0.7057 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.2461, allocations: 0.6076 MB / 0.7063 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.2462, allocations: 4 kB / 0.7063 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.2463, allocations: 23.72 kB / 0.7063 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.2464, allocations: 43.58 kB / 0.7063 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003036/0.2467, allocations: 59.86 kB / 0.7064 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.247, allocations: 191.2 kB / 0.7066 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2472, allocations: 54.38 kB / 0.7066 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.2474, allocations: 91.7 kB / 0.7067 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001523/0.2476, allocations: 79.69 kB / 0.7068 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.2476, allocations: 12 kB / 0.7068 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.2477, allocations: 19.98 kB / 0.7068 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.563e-05/0.2477, allocations: 39.86 kB / 0.7069 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.389e-05/0.2478, allocations: 79.59 kB / 0.7069 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002904/0.2481, allocations: 179.1 kB / 0.7071 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.2481, allocations: 3.984 kB / 0.7071 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2481, allocations: 0 / 0.7071 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.2481, allocations: 0 / 0.7071 GB, free: 13.52 MB / 0.5294 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.0008895/0.249, allocations: 425.5 kB / 0.7075 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.2491, allocations: 8.031 kB / 0.7075 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.2492, allocations: 28.8 kB / 0.7076 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.2495, allocations: 168.4 kB / 0.7077 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.2497, allocations: 63.97 kB / 0.7078 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.2497, allocations: 12.38 kB / 0.7078 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.2501, allocations: 161.7 kB / 0.7079 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2502, allocations: 0 / 0.7079 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.2502, allocations: 4 kB / 0.7079 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.2502, allocations: 7.938 kB / 0.708 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004905/0.2507, allocations: 151.8 kB / 0.7081 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000908/0.2516, allocations: 0.491 MB / 0.7086 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.252, allocations: 138.6 kB / 0.7087 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.2523, allocations: 68.81 kB / 0.7088 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.2523, allocations: 4 kB / 0.7088 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.2523, allocations: 34.56 kB / 0.7088 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2523, allocations: 0 / 0.7088 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0007507/0.2531, allocations: 221.4 kB / 0.709 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.2531, allocations: 55.41 kB / 0.7091 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/0.2533, allocations: 155.3 kB / 0.7092 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.2533, allocations: 33.69 kB / 0.7093 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2534, allocations: 128.2 kB / 0.7094 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.2535, allocations: 39.62 kB / 0.7094 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.2535, allocations: 33.64 kB / 0.7094 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2537, allocations: 326.8 kB / 0.7098 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.2539, allocations: 59.95 kB / 0.7098 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.2542, allocations: 88.91 kB / 0.7099 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000407/0.2546, allocations: 134.5 kB / 0.71 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.2546, allocations: 3.938 kB / 0.71 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000486/0.2551, allocations: 200.8 kB / 0.7102 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2551, allocations: 11.94 kB / 0.7102 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.2551, allocations: 0 / 0.7102 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.2551, allocations: 4 kB / 0.7102 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.2553, allocations: 35.97 kB / 0.7103 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.2553, allocations: 0 / 0.7103 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.2555, allocations: 27.92 kB / 0.7103 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.258e-05/0.2555, allocations: 4 kB / 0.7103 GB, free: 10.03 MB / 0.5294 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.0001377/0.2556, allocations: 137.7 kB / 0.7104 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.2556, allocations: 11.91 kB / 0.7104 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.861e-05/0.2557, allocations: 21.39 kB / 0.7105 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2557, allocations: 0 / 0.7105 GB, free: 9.852 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2557, allocations: 4 kB / 0.7105 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2557, allocations: 0 / 0.7105 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003054/0.256, allocations: 216.6 kB / 0.7107 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.256, allocations: 0 / 0.7107 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.2562, allocations: 31.97 kB / 0.7107 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2562, allocations: 8 kB / 0.7107 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2562, allocations: 4 kB / 0.7107 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2562, allocations: 0 / 0.7107 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2562, allocations: 0 / 0.7107 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007624/0.257, allocations: 347.1 kB / 0.711 GB, free: 9.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.257, allocations: 15.88 kB / 0.7111 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.2571, allocations: 4 kB / 0.7111 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.2572, allocations: 15.98 kB / 0.7111 GB, free: 9.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.2573, allocations: 15.97 kB / 0.7111 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2573, allocations: 4 kB / 0.7111 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001131/0.2574, allocations: 116.9 kB / 0.7112 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2574, allocations: 4 kB / 0.7112 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002648/0.2577, allocations: 35.94 kB / 0.7113 GB, free: 8.988 MB / 0.5294 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.0001395/0.2578, allocations: 103.2 kB / 0.7114 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004767/0.2583, allocations: 142.5 kB / 0.7115 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2583, allocations: 0 / 0.7115 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.2585, allocations: 75.83 kB / 0.7116 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.2588, allocations: 22.5 kB / 0.7116 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/0.2597, allocations: 419 kB / 0.712 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.2601, allocations: 0.7273 MB / 0.7127 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.2602, allocations: 19.44 kB / 0.7127 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.2602, allocations: 0 / 0.7127 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of Templates: time 0.00419/0.2644, allocations: 1.834 MB / 0.7145 GB, free: 5.605 MB / 0.5294 GB " [Timeout remaining time 660] 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: 9.390158141031861] Failed to read output from testmodel.py, exit status != 0: 0.27298893593251705 0.28889621600000004 0.037568896000000004 Calling exit ...