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.001495/0.001495, allocations: 102.2 kB / 16.27 MB, free: 5.988 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.001541/0.001541, allocations: 189.6 kB / 17.2 MB, free: 5.602 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.336/1.336, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8228/0.8228, allocations: 135.2 MB / 426.2 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.89 kB / 0.506 GB, free: 8.336 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3155/0.3174, allocations: 80.91 MB / 0.585 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002763/0.3202, allocations: 2.035 MB / 0.587 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006824/0.3209, allocations: 0.5216 MB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.787e-05/0.321, allocations: 2.625 kB / 0.5875 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.3211, allocations: 21.55 kB / 0.5876 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.734e-05/0.3212, allocations: 50.09 kB / 0.5876 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001915/0.3214, allocations: 61.23 kB / 0.5877 GB, free: 23.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3216, allocations: 178.3 kB / 0.5878 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3218, allocations: 71.67 kB / 0.5879 GB, free: 23.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.3219, allocations: 79.38 kB / 0.588 GB, free: 23.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.322, allocations: 78.08 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.484e-05/0.322, allocations: 15.56 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.057e-05/0.3221, allocations: 15.5 kB / 0.5881 GB, free: 23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.07e-05/0.3221, allocations: 35.81 kB / 0.5881 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.495e-05/0.3222, allocations: 85.31 kB / 0.5882 GB, free: 22.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.3223, allocations: 166.4 kB / 0.5884 GB, free: 22.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.3224, allocations: 0.5 kB / 0.5884 GB, free: 22.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3224, allocations: 2.719 kB / 0.5884 GB, free: 22.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3224, allocations: 0 / 0.5884 GB, free: 22.79 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.0006473/0.323, allocations: 487.9 kB / 0.5888 GB, free: 22.33 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.3231, allocations: 10.89 kB / 0.5888 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.3231, allocations: 28.62 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3233, allocations: 215.6 kB / 0.5891 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.3234, allocations: 36.67 kB / 0.5891 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.3234, allocations: 13.84 kB / 0.5891 GB, free: 22.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003616/0.3238, allocations: 161.6 kB / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3238, allocations: 0 / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.3238, allocations: 7.094 kB / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.3238, allocations: 4.031 kB / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004509/0.3243, allocations: 150.6 kB / 0.5894 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006469/0.3249, allocations: 0.5231 MB / 0.5899 GB, free: 21.35 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.3253, allocations: 140 kB / 0.5901 GB, free: 21.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.3255, allocations: 91.86 kB / 0.5902 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3256, allocations: 0 / 0.5902 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.3256, allocations: 34.56 kB / 0.5902 GB, free: 21.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.3256, allocations: 0 / 0.5902 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006272/0.3262, allocations: 219.3 kB / 0.5904 GB, free: 20.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.3262, allocations: 52.97 kB / 0.5905 GB, free: 20.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.389e-05/0.3263, allocations: 159.3 kB / 0.5906 GB, free: 20.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.3263, allocations: 25.7 kB / 0.5906 GB, free: 20.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.79e-05/0.3264, allocations: 137.6 kB / 0.5908 GB, free: 20.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3264, allocations: 39.45 kB / 0.5908 GB, free: 20.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.3265, allocations: 33.66 kB / 0.5908 GB, free: 20.38 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.725e-05/0.3265, allocations: 321.9 kB / 0.5911 GB, free: 20.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3267, allocations: 63.94 kB / 0.5912 GB, free: 20 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001877/0.3269, allocations: 84.06 kB / 0.5913 GB, free: 19.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3273, allocations: 140 kB / 0.5914 GB, free: 19.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3273, allocations: 8.969 kB / 0.5914 GB, free: 19.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004074/0.3277, allocations: 188 kB / 0.5916 GB, free: 19.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.3277, allocations: 4 kB / 0.5916 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3277, allocations: 0 / 0.5916 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.3277, allocations: 4.625 kB / 0.5916 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3279, allocations: 41.23 kB / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.3279, allocations: 0 / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.3281, allocations: 25.39 kB / 0.5917 GB, free: 19.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.3281, allocations: 4 kB / 0.5917 GB, free: 19.49 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.792e-05/0.3282, allocations: 135.5 kB / 0.5918 GB, free: 19.35 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.3282, allocations: 15.81 kB / 0.5918 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.448e-05/0.3282, allocations: 16.72 kB / 0.5918 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3282, allocations: 0 / 0.5918 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3282, allocations: 0 / 0.5918 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3283, allocations: 1.25 kB / 0.5918 GB, free: 19.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001716/0.3284, allocations: 245.4 kB / 0.5921 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3284, allocations: 3.984 kB / 0.5921 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.3286, allocations: 33.53 kB / 0.5921 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3286, allocations: 0 / 0.5921 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3286, allocations: 8 kB / 0.5921 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3287, allocations: 1.406 kB / 0.5921 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3287, allocations: 3.984 kB / 0.5921 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.3293, allocations: 343.3 kB / 0.5925 GB, free: 18.64 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.3293, allocations: 85.05 kB / 0.5925 GB, free: 18.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.3293, allocations: 4 kB / 0.5925 GB, free: 18.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.3295, allocations: 20.97 kB / 0.5926 GB, free: 18.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.63e-05/0.3295, allocations: 15.98 kB / 0.5926 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3295, allocations: 4 kB / 0.5926 GB, free: 18.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.566e-05/0.3296, allocations: 114.6 kB / 0.5927 GB, free: 18.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3296, allocations: 0 / 0.5927 GB, free: 18.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002438/0.3299, allocations: 39.84 kB / 0.5927 GB, free: 18.34 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 6.733e-05/0.3299, allocations: 103.2 kB / 0.5928 GB, free: 18.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004239/0.3304, allocations: 153.9 kB / 0.593 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3304, allocations: 0 / 0.593 GB, free: 18.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3306, allocations: 70.08 kB / 0.593 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.3309, allocations: 29.64 kB / 0.5931 GB, free: 17.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006155/0.3315, allocations: 415 kB / 0.5935 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.3316, allocations: 0.7277 MB / 0.5942 GB, free: 16.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.075e-05/0.3317, allocations: 19.44 kB / 0.5942 GB, free: 16.82 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3317, allocations: 0 / 0.5942 GB, free: 16.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002706/0.3344, allocations: 1.81 MB / 0.596 GB, free: 15.02 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)