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.001812/0.001813, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.002124/0.002124, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.583/1.583, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9389/0.9389, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.55 kB / 0.5862 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.005213/0.1927, allocations: 2.03 MB / 0.6672 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1943, allocations: 0.5415 MB / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002725/0.1946, allocations: 0 / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002294/0.1948, allocations: 27.72 kB / 0.6678 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1951, allocations: 39.58 kB / 0.6678 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003957/0.1955, allocations: 55.88 kB / 0.6679 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.196, allocations: 187.2 kB / 0.6681 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.1963, allocations: 70.31 kB / 0.6681 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000278/0.1965, allocations: 71.77 kB / 0.6682 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.1968, allocations: 83.61 kB / 0.6683 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.1968, allocations: 12 kB / 0.6683 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.1969, allocations: 16 kB / 0.6683 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.1969, allocations: 31.91 kB / 0.6683 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1971, allocations: 83.53 kB / 0.6684 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.1974, allocations: 175.3 kB / 0.6686 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.263e-05/0.1975, allocations: 4 kB / 0.6686 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.426e-06/0.1975, allocations: 3.938 kB / 0.6686 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.1975, allocations: 0 / 0.6686 GB, free: 2.398 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.001237/0.1987, allocations: 486.8 kB / 0.6691 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.897e-05/0.1988, allocations: 13.11 kB / 0.6691 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.1989, allocations: 24.75 kB / 0.6691 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.1993, allocations: 204.1 kB / 0.6693 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.1994, allocations: 50.17 kB / 0.6693 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.1995, allocations: 12.38 kB / 0.6694 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005321/0.2, allocations: 155 kB / 0.6695 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.2001, allocations: 0 / 0.6695 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2001, allocations: 7.984 kB / 0.6695 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2001, allocations: 4 kB / 0.6695 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.2007, allocations: 147.8 kB / 0.6697 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2019, allocations: 0.5385 MB / 0.6702 GB, free: 0.6211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005329/0.2025, allocations: 130.6 kB / 0.6703 GB, free: 496 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.2027, allocations: 76.81 kB / 0.6704 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.2028, allocations: 0 / 0.6704 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.2028, allocations: 38.56 kB / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.2028, allocations: 0 / 0.6704 GB, free: 368 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0008696/0.2037, allocations: 229.2 kB / 0.6706 GB, free: 132 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.2038, allocations: 51.41 kB / 0.6707 GB, free: 68 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00024/0.204, allocations: 150.2 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.2041, allocations: 25.7 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.2042, allocations: 132.1 kB / 0.671 GB, free: 15.74 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.254e-05/0.2043, allocations: 43.39 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.364e-05/0.2044, allocations: 29.72 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.2046, allocations: 326.8 kB / 0.6714 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.2048, allocations: 59.94 kB / 0.6714 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.2051, allocations: 86.52 kB / 0.6715 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004562/0.2055, allocations: 142.4 kB / 0.6716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.2055, allocations: 3.938 kB / 0.6716 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005738/0.2061, allocations: 189.3 kB / 0.6718 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2062, allocations: 7.938 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2062, allocations: 4 kB / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.561e-05/0.2062, allocations: 0 / 0.6718 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.2064, allocations: 39.91 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2065, allocations: 0 / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.2066, allocations: 31.81 kB / 0.6719 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2067, allocations: 8.062 kB / 0.6719 GB, free: 14.75 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.0001748/0.2068, allocations: 129.8 kB / 0.672 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/0.2069, allocations: 11.91 kB / 0.672 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.207, allocations: 16.72 kB / 0.6721 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.207, allocations: 4 kB / 0.6721 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.207, allocations: 0 / 0.6721 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.207, allocations: 3.984 kB / 0.6721 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.2074, allocations: 233.4 kB / 0.6723 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.2074, allocations: 0 / 0.6723 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.2076, allocations: 47.91 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2076, allocations: 3.984 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2077, allocations: 4 kB / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.2077, allocations: 0 / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2077, allocations: 0 / 0.6723 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008654/0.2085, allocations: 335.2 kB / 0.6727 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.2087, allocations: 92.89 kB / 0.6727 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.2087, allocations: 11.92 kB / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.2089, allocations: 15.98 kB / 0.6728 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.209, allocations: 23.91 kB / 0.6728 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.209, allocations: 4.062 kB / 0.6728 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001317/0.2091, allocations: 112.1 kB / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.61e-07/0.2091, allocations: 0 / 0.6729 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003238/0.2095, allocations: 32 kB / 0.6729 GB, free: 13.6 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.0002089/0.2097, allocations: 99.25 kB / 0.673 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000587/0.2103, allocations: 147.4 kB / 0.6732 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2103, allocations: 0 / 0.6732 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.2105, allocations: 80.38 kB / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.2111, allocations: 19.92 kB / 0.6733 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.2122, allocations: 427.1 kB / 0.6737 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2126, allocations: 0.7158 MB / 0.6744 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.387e-05/0.2127, allocations: 15.44 kB / 0.6744 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.2127, allocations: 0 / 0.6744 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of Templates: time 0.005628/0.2183, allocations: 1.839 MB / 0.6762 GB, free: 10.21 MB / 0.5137 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)