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.001735/0.001735, allocations: 105.9 kB / 16.27 MB, free: 6.414 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.001958/0.001958, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.459/1.459, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8212/0.8212, allocations: 135.1 MB / 426.2 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 63.91 kB / 0.506 GB, free: 8.402 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.388, allocations: 80.91 MB / 0.585 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003101/0.3911, allocations: 2.026 MB / 0.587 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008084/0.392, allocations: 0.5313 MB / 0.5875 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.745e-05/0.3921, allocations: 1.531 kB / 0.5875 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.3922, allocations: 25.72 kB / 0.5875 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.117e-05/0.3923, allocations: 43.08 kB / 0.5876 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.3925, allocations: 61.09 kB / 0.5876 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3928, allocations: 182.4 kB / 0.5878 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.393, allocations: 74.28 kB / 0.5879 GB, free: 22.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.3931, allocations: 68.81 kB / 0.5879 GB, free: 22.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3932, allocations: 77.98 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.3933, allocations: 15.5 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.671e-05/0.3933, allocations: 14.03 kB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.3934, allocations: 44.66 kB / 0.5881 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.3934, allocations: 81.41 kB / 0.5882 GB, free: 22.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001866/0.3936, allocations: 168 kB / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3936, allocations: 0 / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3937, allocations: 0 / 0.5883 GB, free: 22.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.3937, allocations: 1.375 kB / 0.5883 GB, free: 22.68 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.0007676/0.3944, allocations: 494.5 kB / 0.5888 GB, free: 22.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3945, allocations: 9.984 kB / 0.5888 GB, free: 22.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.3945, allocations: 22.22 kB / 0.5888 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3947, allocations: 213.1 kB / 0.589 GB, free: 21.97 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.3948, allocations: 36.95 kB / 0.5891 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.019e-05/0.3949, allocations: 13.88 kB / 0.5891 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004049/0.3953, allocations: 165.6 kB / 0.5892 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3953, allocations: 1.75 kB / 0.5892 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.762e-05/0.3953, allocations: 7.938 kB / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.3953, allocations: 4.656 kB / 0.5892 GB, free: 21.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004821/0.3958, allocations: 139.5 kB / 0.5894 GB, free: 21.76 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007354/0.3966, allocations: 0.5227 MB / 0.5899 GB, free: 21.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.397, allocations: 147.1 kB / 0.59 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002287/0.3973, allocations: 80.38 kB / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.3973, allocations: 0 / 0.5901 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.3973, allocations: 32.12 kB / 0.5901 GB, free: 21.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.92e-07/0.3973, allocations: 4 kB / 0.5901 GB, free: 21.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006504/0.398, allocations: 217.8 kB / 0.5903 GB, free: 20.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.398, allocations: 55.41 kB / 0.5904 GB, free: 20.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.253e-05/0.3981, allocations: 155.1 kB / 0.5905 GB, free: 20.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.3981, allocations: 33.64 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.3982, allocations: 132 kB / 0.5907 GB, free: 20.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.3982, allocations: 45.34 kB / 0.5907 GB, free: 20.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.3983, allocations: 33.7 kB / 0.5908 GB, free: 20.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3983, allocations: 318.8 kB / 0.5911 GB, free: 20.08 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/0.3985, allocations: 65.05 kB / 0.5911 GB, free: 20.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.3987, allocations: 90.12 kB / 0.5912 GB, free: 19.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003547/0.3991, allocations: 140.2 kB / 0.5914 GB, free: 19.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3991, allocations: 11.94 kB / 0.5914 GB, free: 19.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004284/0.3995, allocations: 187.6 kB / 0.5916 GB, free: 19.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3996, allocations: 6.188 kB / 0.5916 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3996, allocations: 0 / 0.5916 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.3996, allocations: 5.844 kB / 0.5916 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.3998, allocations: 39.97 kB / 0.5916 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3998, allocations: 0 / 0.5916 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001308/0.3999, allocations: 25.44 kB / 0.5916 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.3999, allocations: 7.938 kB / 0.5916 GB, free: 19.51 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 8.044e-05/0.4, allocations: 134.8 kB / 0.5918 GB, free: 19.37 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4001, allocations: 11.81 kB / 0.5918 GB, free: 19.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.923e-05/0.4001, allocations: 16.72 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.4001, allocations: 0.9688 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4001, allocations: 3.984 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4001, allocations: 1.031 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.4003, allocations: 241.5 kB / 0.592 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4003, allocations: 0 / 0.592 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.4005, allocations: 33.09 kB / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.4005, allocations: 0 / 0.5921 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4005, allocations: 9.594 kB / 0.5921 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.4005, allocations: 0 / 0.5921 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4005, allocations: 3.938 kB / 0.5921 GB, free: 19.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006315/0.4012, allocations: 341.3 kB / 0.5924 GB, free: 18.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.4012, allocations: 89.03 kB / 0.5925 GB, free: 18.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4012, allocations: 4.844 kB / 0.5925 GB, free: 18.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.4014, allocations: 17.36 kB / 0.5925 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.4015, allocations: 15.97 kB / 0.5925 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4015, allocations: 4 kB / 0.5925 GB, free: 18.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.4015, allocations: 117.5 kB / 0.5926 GB, free: 18.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4015, allocations: 0 / 0.5926 GB, free: 18.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000244/0.4018, allocations: 35.84 kB / 0.5927 GB, free: 18.37 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.476e-05/0.4019, allocations: 107.2 kB / 0.5928 GB, free: 18.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004485/0.4023, allocations: 150.1 kB / 0.5929 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4024, allocations: 0.5 kB / 0.5929 GB, free: 18.11 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001986/0.4026, allocations: 77.34 kB / 0.593 GB, free: 18.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.4029, allocations: 30.23 kB / 0.593 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006721/0.4036, allocations: 411.2 kB / 0.5934 GB, free: 17.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.4037, allocations: 0.7197 MB / 0.5941 GB, free: 16.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.4038, allocations: 15.44 kB / 0.5941 GB, free: 16.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4038, allocations: 3.938 kB / 0.5941 GB, free: 16.84 MB / 446.1 MB Notification: Performance of Templates: time 0.002886/0.4067, allocations: 1.81 MB / 0.5959 GB, free: 15.04 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)