Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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.001699/0.001699, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001944/0.001944, allocations: 221 kB / 23.01 MB, free: 4.609 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.8912/0.8912, allocations: 134 MB / 447.2 MB, free: 10.31 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [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.002252/0.002252, allocations: 66.72 kB / 0.6197 GB, free: 6.805 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2382, allocations: 85.91 MB / 0.7036 GB, free: 0.9727 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004408/0.2426, allocations: 2.082 MB / 0.7057 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2441, allocations: 0.6076 MB / 0.7063 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002083/0.2443, allocations: 3.938 kB / 0.7063 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.2445, allocations: 27.72 kB / 0.7063 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.2447, allocations: 39.58 kB / 0.7063 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003872/0.2451, allocations: 63.86 kB / 0.7064 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003667/0.2454, allocations: 187.3 kB / 0.7066 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002125/0.2456, allocations: 58.38 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.2459, allocations: 87.64 kB / 0.7067 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.2461, allocations: 83.67 kB / 0.7068 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.2462, allocations: 16 kB / 0.7068 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.379e-05/0.2462, allocations: 19.94 kB / 0.7068 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.535e-05/0.2463, allocations: 35.86 kB / 0.7069 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2464, allocations: 79.59 kB / 0.7069 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.2468, allocations: 183.2 kB / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2468, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2468, allocations: 0 / 0.7071 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.478e-05/0.2468, allocations: 4 kB / 0.7071 GB, free: 13.39 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.000973/0.2477, allocations: 417.5 kB / 0.7075 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2478, allocations: 8.031 kB / 0.7075 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002209/0.248, allocations: 36.72 kB / 0.7076 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2484, allocations: 164.5 kB / 0.7077 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.2485, allocations: 63.97 kB / 0.7078 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.2485, allocations: 16.36 kB / 0.7078 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00044/0.249, allocations: 161.6 kB / 0.7079 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.249, allocations: 0 / 0.7079 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.249, allocations: 8 kB / 0.708 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.249, allocations: 0 / 0.708 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005003/0.2495, allocations: 147.9 kB / 0.7081 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.2505, allocations: 0.4949 MB / 0.7086 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.251, allocations: 130.6 kB / 0.7087 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.2512, allocations: 76.81 kB / 0.7088 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.206e-05/0.2512, allocations: 0 / 0.7088 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2513, allocations: 38.55 kB / 0.7088 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 9.82e-07/0.2513, allocations: 4 kB / 0.7088 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000749/0.252, allocations: 229 kB / 0.709 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.2521, allocations: 55.39 kB / 0.7091 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.2522, allocations: 151.3 kB / 0.7092 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.2522, allocations: 29.7 kB / 0.7093 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.2523, allocations: 128.2 kB / 0.7094 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.2524, allocations: 43.62 kB / 0.7094 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.287e-05/0.2525, allocations: 29.7 kB / 0.7095 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.2526, allocations: 330.8 kB / 0.7098 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002126/0.2528, allocations: 55.95 kB / 0.7098 GB, free: 10.42 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002216/0.2531, allocations: 82.52 kB / 0.7099 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.2535, allocations: 146.4 kB / 0.71 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.2535, allocations: 3.938 kB / 0.71 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005075/0.254, allocations: 193.4 kB / 0.7102 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.254, allocations: 8 kB / 0.7102 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.254, allocations: 0 / 0.7102 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.254, allocations: 0 / 0.7102 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.2542, allocations: 39.91 kB / 0.7103 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.2542, allocations: 0 / 0.7103 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.2544, allocations: 23.92 kB / 0.7103 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.2544, allocations: 16 kB / 0.7103 GB, free: 9.891 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.0001372/0.2545, allocations: 129.7 kB / 0.7104 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.345e-05/0.2546, allocations: 15.91 kB / 0.7105 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.2546, allocations: 17.39 kB / 0.7105 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.2546, allocations: 4 kB / 0.7105 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2546, allocations: 0 / 0.7105 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2546, allocations: 0 / 0.7105 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.2549, allocations: 216.6 kB / 0.7107 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.2549, allocations: 0 / 0.7107 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001961/0.2551, allocations: 39.91 kB / 0.7107 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2551, allocations: 0 / 0.7107 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2552, allocations: 0 / 0.7107 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/0.2552, allocations: 4 kB / 0.7107 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2552, allocations: 0 / 0.7107 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.2559, allocations: 350.5 kB / 0.7111 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.955e-05/0.256, allocations: 11.94 kB / 0.7111 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.39e-05/0.256, allocations: 0 / 0.7111 GB, free: 9.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.2561, allocations: 23.97 kB / 0.7111 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.2562, allocations: 7.984 kB / 0.7111 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.2562, allocations: 12.05 kB / 0.7111 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001073/0.2563, allocations: 116.9 kB / 0.7112 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2563, allocations: 3.938 kB / 0.7112 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002698/0.2566, allocations: 35.94 kB / 0.7113 GB, free: 8.859 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.0001234/0.2567, allocations: 95.23 kB / 0.7113 GB, free: 8.758 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005066/0.2572, allocations: 144 kB / 0.7115 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2572, allocations: 3.938 kB / 0.7115 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.2574, allocations: 71.89 kB / 0.7116 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.2578, allocations: 27.91 kB / 0.7116 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009314/0.2587, allocations: 411.1 kB / 0.712 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.2591, allocations: 0.7234 MB / 0.7127 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.865e-05/0.2591, allocations: 15.44 kB / 0.7127 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.2591, allocations: 0 / 0.7127 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of Templates: time 0.004663/0.2638, allocations: 1.848 MB / 0.7145 GB, free: 5.477 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.807627473026514] Failed to read output from testmodel.py, exit status != 0: 0.27288222406059504 0.28992693 0.039669095 Calling exit ...