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.001271/0.001271, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001336/0.001336, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.271/1.271, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7518/0.7518, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 55.91 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2971, allocations: 80.92 MB / 0.5857 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002962/0.3001, allocations: 2.031 MB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.3008, allocations: 0.5265 MB / 0.5882 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.3009, allocations: 2.312 kB / 0.5882 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001087/0.301, allocations: 26.53 kB / 0.5883 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.3011, allocations: 47.11 kB / 0.5883 GB, free: 23.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001985/0.3013, allocations: 58.44 kB / 0.5884 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.3015, allocations: 185.6 kB / 0.5886 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001673/0.3017, allocations: 68.2 kB / 0.5886 GB, free: 23.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.3018, allocations: 79.52 kB / 0.5887 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.3019, allocations: 74.31 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/0.302, allocations: 14.84 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.996e-05/0.302, allocations: 15.19 kB / 0.5888 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/0.3021, allocations: 36.34 kB / 0.5888 GB, free: 23.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.708e-05/0.3021, allocations: 83.48 kB / 0.5889 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000165/0.3023, allocations: 166.4 kB / 0.5891 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3023, allocations: 0 / 0.5891 GB, free: 23.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3023, allocations: 0.75 kB / 0.5891 GB, free: 23.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.3023, allocations: 0 / 0.5891 GB, free: 23.02 MB / 446.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.0006646/0.303, allocations: 493.8 kB / 0.5895 GB, free: 22.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3031, allocations: 14.02 kB / 0.5896 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.3031, allocations: 23.09 kB / 0.5896 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.3033, allocations: 222.4 kB / 0.5898 GB, free: 22.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/0.3034, allocations: 41.64 kB / 0.5898 GB, free: 22.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.3034, allocations: 12.38 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3038, allocations: 163 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.3038, allocations: 3.938 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3038, allocations: 4 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3038, allocations: 7.984 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.3042, allocations: 147.5 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006594/0.3049, allocations: 0.5182 MB / 0.5907 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.3053, allocations: 139.2 kB / 0.5908 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001832/0.3055, allocations: 74.78 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.3055, allocations: 4 kB / 0.5909 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.3055, allocations: 35.28 kB / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.3055, allocations: 0 / 0.5909 GB, free: 21.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005814/0.3061, allocations: 228.4 kB / 0.5911 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.812e-05/0.3061, allocations: 51.41 kB / 0.5912 GB, free: 20.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.924e-05/0.3062, allocations: 155.1 kB / 0.5913 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.3062, allocations: 29.7 kB / 0.5913 GB, free: 20.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.3063, allocations: 133 kB / 0.5915 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.3063, allocations: 39.45 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.3064, allocations: 34.77 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.881e-05/0.3064, allocations: 322.8 kB / 0.5918 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/0.3066, allocations: 57.52 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001691/0.3068, allocations: 89.86 kB / 0.592 GB, free: 19.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.3071, allocations: 141.6 kB / 0.5921 GB, free: 19.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3071, allocations: 7.875 kB / 0.5921 GB, free: 19.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003951/0.3075, allocations: 184 kB / 0.5923 GB, free: 19.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3075, allocations: 8 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3075, allocations: 1.125 kB / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3075, allocations: 0 / 0.5923 GB, free: 19.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.3077, allocations: 36.88 kB / 0.5923 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3077, allocations: 4 kB / 0.5923 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.3079, allocations: 30.25 kB / 0.5924 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.075e-05/0.3079, allocations: 0 / 0.5924 GB, free: 19.5 MB / 446.1 MB 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 6.521e-05/0.308, allocations: 129.7 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.308, allocations: 19.75 kB / 0.5925 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.801e-05/0.308, allocations: 17.41 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.308, allocations: 5.281 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3081, allocations: 3.984 kB / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3081, allocations: 0 / 0.5925 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.3082, allocations: 245.4 kB / 0.5928 GB, free: 19.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3083, allocations: 5.5 kB / 0.5928 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.3084, allocations: 31.97 kB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3084, allocations: 0 / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3085, allocations: 5.594 kB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3085, allocations: 3.938 kB / 0.5928 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3085, allocations: 4 kB / 0.5928 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.309, allocations: 343.4 kB / 0.5932 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.676e-05/0.3091, allocations: 89.03 kB / 0.5932 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.3091, allocations: 0 / 0.5932 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3092, allocations: 18.3 kB / 0.5933 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.3093, allocations: 19.97 kB / 0.5933 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.3093, allocations: 0 / 0.5933 GB, free: 18.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.546e-05/0.3094, allocations: 111.2 kB / 0.5934 GB, free: 18.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3094, allocations: 0 / 0.5934 GB, free: 18.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3096, allocations: 44.56 kB / 0.5934 GB, free: 18.35 MB / 446.1 MB 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 8.233e-05/0.3097, allocations: 108.9 kB / 0.5935 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003949/0.3101, allocations: 141.2 kB / 0.5937 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3101, allocations: 0 / 0.5937 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001746/0.3103, allocations: 71.95 kB / 0.5937 GB, free: 18.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.3106, allocations: 24.08 kB / 0.5938 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006449/0.3113, allocations: 394 kB / 0.5941 GB, free: 17.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3114, allocations: 0.7235 MB / 0.5948 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.3115, allocations: 15.7 kB / 0.5949 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.101e-05/0.3115, allocations: 15.44 kB / 0.5949 GB, free: 16.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3115, allocations: 0 / 0.5949 GB, free: 16.86 MB / 446.1 MB Notification: Performance of Templates: time 0.003483/0.315, allocations: 1.585 MB / 0.5964 GB, free: 15.3 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)