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.001236/0.001236, allocations: 105.3 kB / 16.41 MB, free: 6.496 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.001268/0.001268, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8439/0.8439, allocations: 135.1 MB / 426.3 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 60.44 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1861, allocations: 80.93 MB / 0.6653 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.004055/0.1902, allocations: 2.031 MB / 0.6672 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1915, allocations: 0.5376 MB / 0.6678 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002065/0.1917, allocations: 0 / 0.6678 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1919, allocations: 31.72 kB / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.1922, allocations: 39.58 kB / 0.6678 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1927, allocations: 55.92 kB / 0.6679 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004504/0.1931, allocations: 183.2 kB / 0.6681 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003132/0.1934, allocations: 74.31 kB / 0.6681 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.1937, allocations: 67.77 kB / 0.6682 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.194, allocations: 83.62 kB / 0.6683 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.517e-05/0.194, allocations: 16 kB / 0.6683 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.237e-05/0.1941, allocations: 12 kB / 0.6683 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.1942, allocations: 35.89 kB / 0.6683 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1943, allocations: 83.53 kB / 0.6684 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003543/0.1947, allocations: 175.3 kB / 0.6686 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.1947, allocations: 4 kB / 0.6686 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.286e-06/0.1947, allocations: 4 kB / 0.6686 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.1947, allocations: 0 / 0.6686 GB, free: 2.422 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.001/0.1957, allocations: 486.8 kB / 0.6691 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.1958, allocations: 9.109 kB / 0.6691 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.1959, allocations: 20.75 kB / 0.6691 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1961, allocations: 212 kB / 0.6693 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1963, allocations: 42.23 kB / 0.6693 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.1963, allocations: 16.38 kB / 0.6693 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.1968, allocations: 155 kB / 0.6695 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/0.1968, allocations: 3.984 kB / 0.6695 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1968, allocations: 4 kB / 0.6695 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1968, allocations: 8 kB / 0.6695 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005103/0.1973, allocations: 143.8 kB / 0.6696 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009163/0.1983, allocations: 0.5269 MB / 0.6702 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004702/0.1987, allocations: 134.6 kB / 0.6703 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.199, allocations: 80.81 kB / 0.6704 GB, free: 448 kB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.652e-05/0.199, allocations: 4 kB / 0.6704 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.1991, allocations: 30.56 kB / 0.6704 GB, free: 404 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 5.23e-06/0.1991, allocations: 3.984 kB / 0.6704 GB, free: 400 kB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0007776/0.1999, allocations: 229.2 kB / 0.6706 GB, free: 164 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/0.1999, allocations: 51.41 kB / 0.6707 GB, free: 100 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.2001, allocations: 150.2 kB / 0.6708 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.2001, allocations: 33.7 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.2002, allocations: 124.1 kB / 0.671 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.2003, allocations: 43.39 kB / 0.671 GB, free: 15.73 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.2004, allocations: 29.66 kB / 0.671 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.2005, allocations: 330.8 kB / 0.6714 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.2008, allocations: 59.94 kB / 0.6714 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.201, allocations: 86.52 kB / 0.6715 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.2014, allocations: 138.5 kB / 0.6716 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2014, allocations: 7.875 kB / 0.6716 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005043/0.2019, allocations: 189.3 kB / 0.6718 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.202, allocations: 11.94 kB / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.202, allocations: 0 / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.202, allocations: 0 / 0.6718 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.2022, allocations: 35.97 kB / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2022, allocations: 4 kB / 0.6719 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.2024, allocations: 31.88 kB / 0.6719 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.2024, allocations: 4 kB / 0.6719 GB, free: 14.78 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.0001323/0.2025, allocations: 137.7 kB / 0.672 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.2026, allocations: 11.91 kB / 0.672 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.832e-05/0.2026, allocations: 12.72 kB / 0.6721 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2026, allocations: 4 kB / 0.6721 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2027, allocations: 0 / 0.6721 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.2027, allocations: 3.984 kB / 0.6721 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002684/0.2029, allocations: 237.4 kB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2029, allocations: 8 kB / 0.6723 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.2032, allocations: 39.95 kB / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.2032, allocations: 0 / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/0.2032, allocations: 0 / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2032, allocations: 0 / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2032, allocations: 0 / 0.6723 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007732/0.204, allocations: 343.6 kB / 0.6727 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.2041, allocations: 92.86 kB / 0.6727 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.84e-05/0.2041, allocations: 8.016 kB / 0.6728 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.2043, allocations: 11.98 kB / 0.6728 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.2043, allocations: 24.03 kB / 0.6728 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2043, allocations: 0 / 0.6728 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.909e-05/0.2044, allocations: 116.1 kB / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2044, allocations: 0 / 0.6729 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002705/0.2047, allocations: 36 kB / 0.6729 GB, free: 13.62 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.0001252/0.2048, allocations: 99.19 kB / 0.673 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004989/0.2054, allocations: 147.3 kB / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2054, allocations: 0 / 0.6732 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002273/0.2056, allocations: 79.77 kB / 0.6732 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.206, allocations: 29.94 kB / 0.6733 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008746/0.2069, allocations: 422.9 kB / 0.6737 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.2073, allocations: 0.7158 MB / 0.6744 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.354e-05/0.2073, allocations: 19.44 kB / 0.6744 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of SimCode: time 7.11e-07/0.2073, allocations: 0 / 0.6744 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of Templates: time 0.004607/0.2119, allocations: 1.826 MB / 0.6762 GB, free: 10.24 MB / 0.5137 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)