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.00191/0.00191, allocations: 105.4 kB / 15.98 MB, free: 6.352 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.001424/0.001424, allocations: 198.8 kB / 16.91 MB, free: 6.188 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8073/0.8073, allocations: 135.1 MB / 425.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001477, allocations: 55.91 kB / 0.5055 GB, free: 8.695 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4028, allocations: 80.92 MB / 0.5845 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00284/0.4057, allocations: 2.093 MB / 0.5866 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007008/0.4064, allocations: 0.5148 MB / 0.5871 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.4065, allocations: 2.406 kB / 0.5871 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.4067, allocations: 17.39 kB / 0.5871 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.4068, allocations: 40.05 kB / 0.5871 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.4069, allocations: 42.83 kB / 0.5872 GB, free: 23.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001976/0.4072, allocations: 178.6 kB / 0.5873 GB, free: 22.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.4073, allocations: 76.22 kB / 0.5874 GB, free: 22.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.4075, allocations: 77.02 kB / 0.5875 GB, free: 22.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.4076, allocations: 85.14 kB / 0.5876 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.4076, allocations: 13.81 kB / 0.5876 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.211e-05/0.4076, allocations: 14.34 kB / 0.5876 GB, free: 22.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.4077, allocations: 37.88 kB / 0.5876 GB, free: 22.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.938e-05/0.4077, allocations: 76.33 kB / 0.5877 GB, free: 22.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.4079, allocations: 121.1 kB / 0.5878 GB, free: 22.65 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.4079, allocations: 1.125 kB / 0.5878 GB, free: 22.65 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4079, allocations: 0.5312 kB / 0.5878 GB, free: 22.65 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.4079, allocations: 0.6562 kB / 0.5878 GB, free: 22.65 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.0006735/0.4086, allocations: 496.6 kB / 0.5883 GB, free: 22.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.4086, allocations: 11.77 kB / 0.5883 GB, free: 22.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.4087, allocations: 22.47 kB / 0.5883 GB, free: 22.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4088, allocations: 212.5 kB / 0.5885 GB, free: 21.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.4089, allocations: 41.39 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.409, allocations: 15.09 kB / 0.5886 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003629/0.4093, allocations: 162.9 kB / 0.5887 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4093, allocations: 5.156 kB / 0.5887 GB, free: 21.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.4094, allocations: 9.828 kB / 0.5887 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.4094, allocations: 6.75 kB / 0.5887 GB, free: 21.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.4098, allocations: 146 kB / 0.5889 GB, free: 21.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.4105, allocations: 0.5195 MB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003992/0.4109, allocations: 140.4 kB / 0.5895 GB, free: 21.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4111, allocations: 83.2 kB / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4111, allocations: 0 / 0.5896 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.258e-05/0.4112, allocations: 36.19 kB / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.22e-07/0.4112, allocations: 1.375 kB / 0.5896 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006385/0.4118, allocations: 223.3 kB / 0.5899 GB, free: 20.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4118, allocations: 53.41 kB / 0.5899 GB, free: 20.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.39e-05/0.4119, allocations: 156.8 kB / 0.5901 GB, free: 20.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.412, allocations: 25.7 kB / 0.5901 GB, free: 20.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.412, allocations: 132.2 kB / 0.5902 GB, free: 20.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.4121, allocations: 40.59 kB / 0.5902 GB, free: 20.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.872e-05/0.4121, allocations: 31.98 kB / 0.5903 GB, free: 20.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4122, allocations: 331 kB / 0.5906 GB, free: 20.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4124, allocations: 57.92 kB / 0.5906 GB, free: 20.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.4126, allocations: 86.05 kB / 0.5907 GB, free: 20.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003327/0.4129, allocations: 142 kB / 0.5909 GB, free: 19.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4129, allocations: 3.938 kB / 0.5909 GB, free: 19.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003846/0.4133, allocations: 183.2 kB / 0.591 GB, free: 19.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.4133, allocations: 5.562 kB / 0.591 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.4133, allocations: 4 kB / 0.591 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.4134, allocations: 0 / 0.591 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.4135, allocations: 37.09 kB / 0.5911 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4135, allocations: 0 / 0.5911 GB, free: 19.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.4137, allocations: 36.78 kB / 0.5911 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.4137, allocations: 9 kB / 0.5911 GB, free: 19.71 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.018e-05/0.4138, allocations: 122.8 kB / 0.5912 GB, free: 19.58 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.193e-05/0.4138, allocations: 21.36 kB / 0.5913 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.045e-05/0.4139, allocations: 16.72 kB / 0.5913 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4139, allocations: 4 kB / 0.5913 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4139, allocations: 0 / 0.5913 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.4139, allocations: 1.625 kB / 0.5913 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.4141, allocations: 245.4 kB / 0.5915 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4141, allocations: 0 / 0.5915 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/0.4143, allocations: 34.81 kB / 0.5916 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4143, allocations: 3.938 kB / 0.5916 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4143, allocations: 4 kB / 0.5916 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4143, allocations: 0 / 0.5916 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4143, allocations: 4 kB / 0.5916 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/0.4149, allocations: 341.6 kB / 0.5919 GB, free: 18.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.4149, allocations: 88.98 kB / 0.592 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.4149, allocations: 0 / 0.592 GB, free: 18.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.4151, allocations: 30.84 kB / 0.592 GB, free: 18.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.4152, allocations: 11.98 kB / 0.592 GB, free: 18.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-06/0.4152, allocations: 7.938 kB / 0.592 GB, free: 18.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.4152, allocations: 111.2 kB / 0.5921 GB, free: 18.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4152, allocations: 0 / 0.5921 GB, free: 18.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.4155, allocations: 39.84 kB / 0.5922 GB, free: 18.57 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.545e-05/0.4156, allocations: 108.6 kB / 0.5923 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004037/0.416, allocations: 150.5 kB / 0.5924 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.416, allocations: 0 / 0.5924 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.4162, allocations: 73.89 kB / 0.5925 GB, free: 18.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.4165, allocations: 19.92 kB / 0.5925 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006357/0.4172, allocations: 473.8 kB / 0.593 GB, free: 17.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.4173, allocations: 0.7196 MB / 0.5937 GB, free: 17.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.4174, allocations: 19.44 kB / 0.5937 GB, free: 17 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4174, allocations: 4.25 kB / 0.5937 GB, free: 16.99 MB / 446.1 MB Notification: Performance of Templates: time 0.002696/0.4201, allocations: 1.809 MB / 0.5954 GB, free: 15.19 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)