Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 98.27 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.01069/0.01069, allocations: 169.9 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.544/1.544, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004728, allocations: 8 kB / 0.5076 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2259, allocations: 82.31 MB / 0.588 GB, free: 2.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.00242/0.2283, allocations: 1.727 MB / 0.5897 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.2293, allocations: 0.5066 MB / 0.5901 GB, free: 360 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.901e-05/0.2294, allocations: 7.938 kB / 0.5902 GB, free: 352 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2295, allocations: 23.84 kB / 0.5902 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.2297, allocations: 31.7 kB / 0.5902 GB, free: 296 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002247/0.2299, allocations: 47.89 kB / 0.5903 GB, free: 248 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.2302, allocations: 175.3 kB / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.2304, allocations: 69.84 kB / 0.5905 GB, free: 0 / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.2305, allocations: 63.78 kB / 0.5905 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001445/0.2307, allocations: 71.67 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.2307, allocations: 4 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.2307, allocations: 8 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.212e-05/0.2308, allocations: 23.86 kB / 0.5907 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.2309, allocations: 97.3 kB / 0.5907 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.2311, allocations: 159.5 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2311, allocations: 0 / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2311, allocations: 0 / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.2311, 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.0007611/0.2319, allocations: 482.9 kB / 0.5914 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.2319, allocations: 12.03 kB / 0.5914 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.484e-05/0.232, allocations: 20.66 kB / 0.5914 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.2322, allocations: 207.3 kB / 0.5916 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.188e-05/0.2323, allocations: 42.25 kB / 0.5916 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.071e-05/0.2324, allocations: 16.28 kB / 0.5916 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.2328, allocations: 165.7 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.2328, allocations: 4 kB / 0.5918 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.2328, allocations: 4 kB / 0.5918 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.2328, allocations: 4 kB / 0.5918 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005225/0.2334, allocations: 175.8 kB / 0.592 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008572/0.2342, allocations: 0.5386 MB / 0.5925 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.2347, allocations: 150.6 kB / 0.5927 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.2351, allocations: 96.73 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.2351, allocations: 4 kB / 0.5927 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.2351, allocations: 30.56 kB / 0.5928 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.2351, allocations: 0 / 0.5928 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007957/0.2359, allocations: 261.2 kB / 0.593 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.236, allocations: 59.34 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.2361, allocations: 149.5 kB / 0.5932 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2361, allocations: 29.7 kB / 0.5933 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.173e-05/0.2362, allocations: 128.1 kB / 0.5934 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.649e-05/0.2363, allocations: 51.28 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.2363, allocations: 17.72 kB / 0.5934 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.2365, allocations: 330.8 kB / 0.5938 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002207/0.2367, allocations: 67.95 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.2369, allocations: 106.1 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004388/0.2374, allocations: 166.4 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.2374, allocations: 7.938 kB / 0.5941 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005068/0.2379, allocations: 212.4 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.2379, allocations: 4 kB / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2379, allocations: 0 / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.238, allocations: 0 / 0.5943 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.2382, allocations: 48.03 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.2382, allocations: 3.984 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001591/0.2383, allocations: 35.83 kB / 0.5944 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.2384, allocations: 4 kB / 0.5944 GB, free: 11.75 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.00012/0.2385, allocations: 142.2 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.2385, allocations: 11.81 kB / 0.5945 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.2386, allocations: 20.72 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.2386, allocations: 7.984 kB / 0.5946 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.2386, allocations: 0 / 0.5946 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2386, allocations: 0 / 0.5946 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.2389, allocations: 233.5 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2389, allocations: 0 / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002213/0.2391, allocations: 43.97 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2391, allocations: 0 / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.2392, allocations: 4 kB / 0.5948 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.2392, allocations: 4 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2392, allocations: 3.984 kB / 0.5948 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007629/0.2399, allocations: 383 kB / 0.5952 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.24, allocations: 81.02 kB / 0.5953 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.24, allocations: 4.031 kB / 0.5953 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/0.2402, allocations: 35.97 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.398e-05/0.2403, allocations: 15.97 kB / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.543e-06/0.2403, allocations: 0 / 0.5953 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.2404, allocations: 115.2 kB / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2404, allocations: 0 / 0.5954 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002595/0.2406, 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 9.938e-05/0.2407, allocations: 95.19 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005093/0.2412, allocations: 176 kB / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2413, allocations: 0 / 0.5957 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.2415, 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.0003547/0.2419, allocations: 27.86 kB / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.2427, allocations: 493.7 kB / 0.5963 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.243, allocations: 0.7121 MB / 0.597 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.158e-05/0.2431, allocations: 16.55 kB / 0.597 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.2431, allocations: 11.44 kB / 0.597 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of SimCode: time 2.9e-07/0.2431, allocations: 0 / 0.597 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.004207/0.2473, allocations: 1.339 MB / 0.5983 GB, free: 7.535 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)