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.001454/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001777/0.001777, allocations: 188 kB / 16.14 MB, free: 6.645 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.453/1.453, allocations: 222.9 MB / 239.8 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9858/0.9858, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 55.22 kB / 0.5047 GB, free: 5.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2094, allocations: 80.92 MB / 0.5837 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.004407/0.2138, allocations: 2.085 MB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.215, allocations: 0.5182 MB / 0.5862 GB, free: 2.391 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002247/0.2153, allocations: 4 kB / 0.5862 GB, free: 2.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.2156, allocations: 11.86 kB / 0.5863 GB, free: 2.375 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.2158, allocations: 43.64 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.2161, allocations: 47.94 kB / 0.5863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.2164, allocations: 179.2 kB / 0.5865 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.2166, allocations: 61.88 kB / 0.5866 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.2168, allocations: 71.75 kB / 0.5866 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2169, allocations: 71.69 kB / 0.5867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.525e-05/0.217, allocations: 12 kB / 0.5867 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.217, allocations: 8 kB / 0.5867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.2171, allocations: 35.84 kB / 0.5868 GB, free: 1.852 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.294e-05/0.2171, allocations: 75.59 kB / 0.5868 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.2174, allocations: 175.6 kB / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2174, allocations: 0 / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2174, allocations: 0 / 0.587 GB, free: 1.605 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.2174, allocations: 0 / 0.587 GB, free: 1.605 MB / 494.1 MB 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.000905/0.2183, allocations: 486.8 kB / 0.5875 GB, free: 1.082 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2184, allocations: 12.03 kB / 0.5875 GB, free: 1.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.724e-05/0.2184, allocations: 24.66 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.2187, allocations: 208 kB / 0.5877 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.83e-05/0.2188, allocations: 42.25 kB / 0.5877 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.2189, allocations: 16.31 kB / 0.5878 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.2193, allocations: 149.7 kB / 0.5879 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2193, allocations: 3.906 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.2194, allocations: 8 kB / 0.5879 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2194, allocations: 4 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005163/0.2199, allocations: 147.9 kB / 0.5881 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.221, allocations: 0.5307 MB / 0.5886 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005124/0.2215, allocations: 142.6 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.2218, allocations: 80.8 kB / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.2218, allocations: 0 / 0.5888 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.2219, allocations: 38.56 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.2219, allocations: 4 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.000786/0.2227, allocations: 217.4 kB / 0.589 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.2227, allocations: 55.34 kB / 0.5891 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2229, allocations: 157.5 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.2229, allocations: 29.64 kB / 0.5893 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.223, allocations: 128.1 kB / 0.5894 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.865e-05/0.2231, allocations: 47.3 kB / 0.5894 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.252e-05/0.2232, allocations: 29.72 kB / 0.5895 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.2234, allocations: 318.8 kB / 0.5898 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002173/0.2236, allocations: 67.94 kB / 0.5898 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.2238, allocations: 87.36 kB / 0.5899 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.2242, allocations: 141.6 kB / 0.59 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2242, allocations: 7.938 kB / 0.5901 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004917/0.2247, allocations: 177.4 kB / 0.5902 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2248, allocations: 4 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.2248, allocations: 4.062 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.2248, allocations: 4 kB / 0.5902 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.225, allocations: 47.89 kB / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.225, allocations: 0 / 0.5903 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.2252, allocations: 23.83 kB / 0.5903 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.2252, allocations: 7.984 kB / 0.5903 GB, free: 13.96 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.0001485/0.2253, allocations: 134.3 kB / 0.5904 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.2254, allocations: 11.81 kB / 0.5905 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.333e-05/0.2254, allocations: 16.72 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2254, allocations: 4 kB / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2255, allocations: 0 / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2255, allocations: 0 / 0.5905 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002728/0.2257, allocations: 237.5 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2258, allocations: 0 / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001938/0.226, allocations: 43.91 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.226, allocations: 0 / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.226, allocations: 7.984 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.226, allocations: 0 / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.226, allocations: 0 / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007245/0.2267, allocations: 342.5 kB / 0.5911 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.889e-05/0.2268, allocations: 88.98 kB / 0.5912 GB, free: 13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2268, allocations: 8 kB / 0.5912 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.227, allocations: 15.97 kB / 0.5912 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.794e-05/0.2271, allocations: 19.97 kB / 0.5912 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2271, allocations: 4 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.2272, allocations: 115.2 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2272, allocations: 4.062 kB / 0.5913 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002655/0.2275, allocations: 39.91 kB / 0.5914 GB, free: 12.8 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.0001229/0.2276, allocations: 99.25 kB / 0.5915 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.2281, allocations: 143.7 kB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2281, allocations: 4.125 kB / 0.5916 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002171/0.2283, allocations: 75.89 kB / 0.5917 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004092/0.2287, allocations: 22.03 kB / 0.5917 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008676/0.2296, allocations: 451.2 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.2299, allocations: 0.7238 MB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.104e-05/0.23, allocations: 8.547 kB / 0.5928 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.193e-05/0.2301, allocations: 11.44 kB / 0.5928 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2301, allocations: 0 / 0.5928 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.004378/0.2345, allocations: 1.359 MB / 0.5942 GB, free: 9.867 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)