Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) 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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01004/0.01004, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.528/1.528, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.029/1.029, allocations: 135.3 MB / 426.7 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003756/0.0003759, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2258/0.2262, allocations: 82.31 MB / 0.588 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002739/0.2289, allocations: 1.727 MB / 0.5897 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.2302, allocations: 0.5104 MB / 0.5902 GB, free: 368 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001811/0.2304, allocations: 7.938 kB / 0.5902 GB, free: 360 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2306, allocations: 19.84 kB / 0.5902 GB, free: 340 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000204/0.2308, allocations: 35.7 kB / 0.5902 GB, free: 304 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2311, allocations: 47.89 kB / 0.5903 GB, free: 256 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.2314, allocations: 175.3 kB / 0.5904 GB, free: 80 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2316, allocations: 69.8 kB / 0.5905 GB, free: 8 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002643/0.2319, allocations: 67.83 kB / 0.5906 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.2321, allocations: 67.69 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.2322, allocations: 4 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.283e-05/0.2322, allocations: 8 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.314e-05/0.2322, allocations: 23.86 kB / 0.5907 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.2324, allocations: 97.3 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.2326, allocations: 167.4 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2326, allocations: 0 / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2326, allocations: 0 / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2327, allocations: 4 kB / 0.5909 GB, free: 15.57 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009084/0.2336, allocations: 467 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.2336, allocations: 12.03 kB / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.2337, allocations: 20.66 kB / 0.5914 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.234, allocations: 208.1 kB / 0.5916 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.24e-05/0.2341, allocations: 42.25 kB / 0.5916 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.278e-05/0.2342, allocations: 16.28 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004569/0.2346, allocations: 165.7 kB / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.2347, allocations: 0 / 0.5918 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.261e-05/0.2347, allocations: 8 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.2347, allocations: 4 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005427/0.2353, allocations: 175.8 kB / 0.592 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.2362, allocations: 0.5386 MB / 0.5925 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004805/0.2367, allocations: 150.6 kB / 0.5926 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002525/0.237, allocations: 92.73 kB / 0.5927 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.237, allocations: 8 kB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.237, allocations: 30.56 kB / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.503e-06/0.237, allocations: 0 / 0.5928 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008365/0.2379, allocations: 257.5 kB / 0.593 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2379, allocations: 55.41 kB / 0.5931 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.2381, allocations: 149.8 kB / 0.5932 GB, free: 13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.2381, allocations: 33.64 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.22e-05/0.2382, allocations: 132.1 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.468e-05/0.2383, allocations: 43.3 kB / 0.5934 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.2383, allocations: 25.66 kB / 0.5934 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2385, allocations: 326.8 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.2387, allocations: 71.94 kB / 0.5938 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.239, allocations: 102.5 kB / 0.5939 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004569/0.2394, allocations: 169.4 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2394, allocations: 3.938 kB / 0.5941 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005404/0.24, allocations: 209.4 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.24, allocations: 8 kB / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.24, allocations: 0 / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2401, allocations: 0 / 0.5943 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.2403, allocations: 52.02 kB / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.2403, allocations: 0 / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.2405, allocations: 35.83 kB / 0.5944 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.2405, allocations: 4 kB / 0.5944 GB, free: 11.76 MB / 0.4981 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.0001461/0.2407, allocations: 138.2 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.09e-05/0.2407, allocations: 11.81 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.291e-05/0.2408, allocations: 20.72 kB / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.2408, allocations: 4 kB / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.2408, allocations: 0 / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2408, allocations: 0 / 0.5945 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003015/0.2411, allocations: 237.5 kB / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2411, allocations: 0 / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.2413, allocations: 47.97 kB / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.2414, allocations: 0 / 0.5948 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.2414, allocations: 7.984 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.2414, allocations: 4 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2414, allocations: 3.984 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.2422, allocations: 383.1 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.042e-05/0.2423, allocations: 85 kB / 0.5953 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.2423, allocations: 4 kB / 0.5953 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.2425, allocations: 35.97 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/0.2426, allocations: 15.97 kB / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.2426, allocations: 4 kB / 0.5953 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.967e-05/0.2427, allocations: 111.2 kB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.2427, allocations: 0 / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002789/0.243, allocations: 39.91 kB / 0.5955 GB, free: 10.54 MB / 0.4981 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.0001148/0.2431, allocations: 91.25 kB / 0.5956 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005565/0.2437, allocations: 182 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2437, allocations: 0 / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002476/0.2439, allocations: 87.89 kB / 0.5958 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.2443, allocations: 31.38 kB / 0.5959 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.2453, allocations: 489.7 kB / 0.5963 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.2456, allocations: 0.716 MB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.168e-05/0.2457, allocations: 12.55 kB / 0.597 GB, free: 8.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.005e-05/0.2458, allocations: 11.44 kB / 0.597 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of SimCode: time 7.52e-07/0.2458, allocations: 0 / 0.597 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of Templates: time 0.004674/0.2505, allocations: 1.347 MB / 0.5984 GB, free: 7.531 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)