Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001162/0.001162, allocations: 112.6 kB / 16.37 MB, free: 6 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.001204/0.001204, allocations: 196 kB / 17.31 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7892/0.7892, allocations: 132.2 MB / 423.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 63.89 kB / 0.5032 GB, free: 10.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3907, allocations: 80.18 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.0031/0.3939, allocations: 2.027 MB / 0.5835 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007522/0.3947, allocations: 0.5296 MB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.275e-05/0.3948, allocations: 2.188 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001289/0.3949, allocations: 27.22 kB / 0.584 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.909e-05/0.395, allocations: 41.23 kB / 0.5841 GB, free: 25.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.3952, allocations: 56.11 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.3955, allocations: 189.9 kB / 0.5843 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3957, allocations: 69.42 kB / 0.5844 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3958, allocations: 76.73 kB / 0.5844 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.396, allocations: 79.16 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.336e-05/0.396, allocations: 14.59 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.534e-05/0.3961, allocations: 15.31 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.939e-05/0.3961, allocations: 31.62 kB / 0.5846 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.83e-05/0.3962, allocations: 89.17 kB / 0.5847 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3964, allocations: 165.7 kB / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3964, allocations: 4.562 kB / 0.5848 GB, free: 24.99 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3964, allocations: 0 / 0.5848 GB, free: 24.99 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.3964, allocations: 1.344 kB / 0.5848 GB, free: 24.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.0007071/0.3971, allocations: 497 kB / 0.5853 GB, free: 24.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.3972, allocations: 9.5 kB / 0.5853 GB, free: 24.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.751e-05/0.3973, allocations: 19.97 kB / 0.5853 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.3974, allocations: 220.6 kB / 0.5855 GB, free: 24.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.55e-05/0.3975, allocations: 41.5 kB / 0.5856 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.882e-05/0.3976, allocations: 14.06 kB / 0.5856 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003801/0.398, allocations: 158.7 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.398, allocations: 4.5 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.398, allocations: 5.156 kB / 0.5857 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.398, allocations: 3.469 kB / 0.5857 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004726/0.3985, allocations: 142.3 kB / 0.5859 GB, free: 24.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007477/0.3993, allocations: 0.5222 MB / 0.5864 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004268/0.3997, allocations: 144.2 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.3999, allocations: 77.64 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.3999, allocations: 1.25 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.4, allocations: 35.69 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.4, allocations: 0.875 kB / 0.5866 GB, free: 23.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.000652/0.4006, allocations: 228.1 kB / 0.5869 GB, free: 23.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.4007, allocations: 54.69 kB / 0.5869 GB, free: 23.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.4008, allocations: 151 kB / 0.5871 GB, free: 23.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.4008, allocations: 27.17 kB / 0.5871 GB, free: 23.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.4008, allocations: 132.5 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.742e-05/0.4009, allocations: 38.14 kB / 0.5872 GB, free: 22.91 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.4009, allocations: 31.53 kB / 0.5873 GB, free: 22.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.401, allocations: 325.3 kB / 0.5876 GB, free: 22.56 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.4012, allocations: 57.3 kB / 0.5876 GB, free: 22.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.4014, allocations: 90.48 kB / 0.5877 GB, free: 22.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4017, allocations: 141.7 kB / 0.5879 GB, free: 22.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4018, allocations: 9.094 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004495/0.4022, allocations: 188.9 kB / 0.588 GB, free: 22.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4022, allocations: 6.125 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.4023, allocations: 0 / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4023, allocations: 4.062 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4025, allocations: 42.34 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.4025, allocations: 2.156 kB / 0.5881 GB, free: 22.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.4026, allocations: 27.09 kB / 0.5881 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.4026, allocations: 3.969 kB / 0.5881 GB, free: 22.27 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.359e-05/0.4027, allocations: 125.5 kB / 0.5882 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.543e-05/0.4028, allocations: 14.09 kB / 0.5883 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.771e-05/0.4028, allocations: 23.09 kB / 0.5883 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4028, allocations: 2.125 kB / 0.5883 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4028, allocations: 4.609 kB / 0.5883 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4029, allocations: 0.9375 kB / 0.5883 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.4031, allocations: 244.2 kB / 0.5885 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4031, allocations: 0.5 kB / 0.5885 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.4033, allocations: 38.5 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4033, allocations: 1.438 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.4033, allocations: 5.125 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4033, allocations: 0 / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4033, allocations: 1.062 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006432/0.404, allocations: 342.7 kB / 0.5889 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.404, allocations: 88.75 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.404, allocations: 2.938 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.4042, allocations: 18.77 kB / 0.589 GB, free: 21.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.4042, allocations: 18.12 kB / 0.589 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4043, allocations: 2.719 kB / 0.589 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.727e-05/0.4043, allocations: 116.6 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.82e-07/0.4043, allocations: 0 / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002566/0.4046, allocations: 45.38 kB / 0.5892 GB, free: 21.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.289e-05/0.4047, allocations: 99.75 kB / 0.5893 GB, free: 21.28 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004213/0.4051, allocations: 140.7 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4051, allocations: 1.062 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.4053, allocations: 81.23 kB / 0.5895 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4057, allocations: 24.09 kB / 0.5895 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.4064, allocations: 386.8 kB / 0.5899 GB, free: 20.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.4066, allocations: 0.7142 MB / 0.5906 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.089e-05/0.4067, allocations: 9.938 kB / 0.5906 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4067, allocations: 22.42 kB / 0.5906 GB, free: 20.2 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4067, allocations: 0 / 0.5906 GB, free: 20.2 MB / 446.1 MB Notification: Performance of Templates: time 0.003908/0.4106, allocations: 1.588 MB / 0.5922 GB, free: 18.96 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)