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.001163/0.001163, allocations: 113.5 kB / 16.37 MB, free: 6.012 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.001035/0.001035, allocations: 189 kB / 17.3 MB, free: 5.613 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.789/0.789, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.89 kB / 0.5067 GB, free: 7.672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3941, allocations: 80.91 MB / 0.5858 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003375/0.3976, allocations: 2.023 MB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000766/0.3984, allocations: 0.5301 MB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.3984, allocations: 2.125 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.3986, allocations: 27.08 kB / 0.5883 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.97e-05/0.3987, allocations: 44.81 kB / 0.5883 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.3989, allocations: 58.86 kB / 0.5884 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002089/0.3991, allocations: 184.5 kB / 0.5886 GB, free: 23.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001867/0.3993, allocations: 79.83 kB / 0.5886 GB, free: 23.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3995, allocations: 65.25 kB / 0.5887 GB, free: 23.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.3996, allocations: 86.02 kB / 0.5888 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.3996, allocations: 15.38 kB / 0.5888 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.35e-05/0.3997, allocations: 14.44 kB / 0.5888 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.3997, allocations: 37.77 kB / 0.5888 GB, free: 23.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.267e-05/0.3998, allocations: 79.55 kB / 0.5889 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.4, allocations: 170.3 kB / 0.5891 GB, free: 23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.4, allocations: 0 / 0.5891 GB, free: 23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4, allocations: 5.031 kB / 0.5891 GB, free: 22.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.4, allocations: 0 / 0.5891 GB, free: 22.99 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.0007372/0.4007, allocations: 494.2 kB / 0.5896 GB, free: 22.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4008, allocations: 10.45 kB / 0.5896 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.69e-05/0.4009, allocations: 22.5 kB / 0.5896 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.4011, allocations: 213 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/0.4011, allocations: 41.61 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4012, allocations: 13.84 kB / 0.5898 GB, free: 22.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003546/0.4015, allocations: 165.5 kB / 0.59 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.4016, allocations: 4 kB / 0.59 GB, free: 22.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.4016, allocations: 8.656 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4016, allocations: 4 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.402, allocations: 138.7 kB / 0.5901 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.4027, allocations: 0.5249 MB / 0.5907 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003684/0.403, allocations: 137.1 kB / 0.5908 GB, free: 21.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.4032, allocations: 82.64 kB / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4033, allocations: 0 / 0.5909 GB, free: 21.13 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.4033, allocations: 31.28 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.4033, allocations: 5.844 kB / 0.5909 GB, free: 21.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006017/0.4039, allocations: 225.1 kB / 0.5911 GB, free: 20.87 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.4039, allocations: 52.97 kB / 0.5912 GB, free: 20.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.404, allocations: 155.1 kB / 0.5913 GB, free: 20.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.58e-05/0.4041, allocations: 29.7 kB / 0.5913 GB, free: 20.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.4041, allocations: 137.6 kB / 0.5915 GB, free: 20.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4041, allocations: 35.41 kB / 0.5915 GB, free: 20.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.4042, allocations: 33.7 kB / 0.5915 GB, free: 20.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.4042, allocations: 325.7 kB / 0.5919 GB, free: 20.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.4044, allocations: 63.94 kB / 0.5919 GB, free: 20.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.4046, allocations: 83.23 kB / 0.592 GB, free: 19.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.4049, allocations: 143.5 kB / 0.5921 GB, free: 19.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.4049, allocations: 8.594 kB / 0.5921 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003664/0.4053, allocations: 179.9 kB / 0.5923 GB, free: 19.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4053, allocations: 10.12 kB / 0.5923 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.4053, allocations: 1.156 kB / 0.5923 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.4054, allocations: 4 kB / 0.5923 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.4055, allocations: 45.41 kB / 0.5924 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4055, allocations: 3.984 kB / 0.5924 GB, free: 19.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4057, allocations: 24.97 kB / 0.5924 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4057, allocations: 8 kB / 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 7.258e-05/0.4058, allocations: 127.6 kB / 0.5925 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4058, allocations: 15.8 kB / 0.5925 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.635e-05/0.4058, allocations: 16.72 kB / 0.5926 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.4059, allocations: 0 / 0.5926 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4059, allocations: 1.562 kB / 0.5926 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4059, allocations: 0 / 0.5926 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.4061, allocations: 245.4 kB / 0.5928 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4061, allocations: 0 / 0.5928 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.4062, allocations: 41.03 kB / 0.5928 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.4063, allocations: 0 / 0.5928 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4063, allocations: 4 kB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4063, allocations: 4.969 kB / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4063, allocations: 0 / 0.5928 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005642/0.4069, allocations: 346.9 kB / 0.5932 GB, free: 18.65 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.4069, allocations: 85.05 kB / 0.5933 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.4069, allocations: 5.125 kB / 0.5933 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.4071, allocations: 20.53 kB / 0.5933 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.4071, allocations: 15.92 kB / 0.5933 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.4071, allocations: 6.312 kB / 0.5933 GB, free: 18.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.891e-05/0.4072, allocations: 115.2 kB / 0.5934 GB, free: 18.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4072, allocations: 0 / 0.5934 GB, free: 18.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002374/0.4074, allocations: 39.84 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 7.69e-05/0.4075, allocations: 104 kB / 0.5935 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004028/0.4079, allocations: 146.5 kB / 0.5937 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4079, allocations: 0 / 0.5937 GB, free: 18.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.4081, allocations: 77.95 kB / 0.5938 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.0003193/0.4085, allocations: 27.86 kB / 0.5938 GB, free: 18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006706/0.4091, allocations: 378.4 kB / 0.5941 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.4093, allocations: 0.7153 MB / 0.5948 GB, free: 16.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.626e-05/0.4094, allocations: 11.8 kB / 0.5949 GB, free: 16.89 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.785e-05/0.4094, allocations: 19.44 kB / 0.5949 GB, free: 16.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4094, allocations: 0 / 0.5949 GB, free: 16.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003772/0.4132, allocations: 1.575 MB / 0.5964 GB, free: 15.31 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)