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.001259/0.001259, allocations: 113.4 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.001276/0.001276, allocations: 192.2 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.256/1.256, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7538/0.7538, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.91 kB / 0.5067 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3049, allocations: 80.91 MB / 0.5858 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002994/0.308, allocations: 2.044 MB / 0.5878 GB, free: 24.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008337/0.3088, allocations: 0.5244 MB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.309, allocations: 1.625 kB / 0.5883 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.3091, allocations: 23.08 kB / 0.5883 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3092, allocations: 45.97 kB / 0.5883 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.3094, allocations: 52.09 kB / 0.5884 GB, free: 23.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.3097, allocations: 184.4 kB / 0.5886 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3098, allocations: 76.23 kB / 0.5886 GB, free: 23.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001261/0.31, allocations: 74.2 kB / 0.5887 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.3101, allocations: 87.61 kB / 0.5888 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.3101, allocations: 14.69 kB / 0.5888 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.879e-05/0.3101, allocations: 16.06 kB / 0.5888 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.132e-05/0.3102, allocations: 32.12 kB / 0.5888 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/0.3103, allocations: 79.98 kB / 0.5889 GB, free: 23.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.3104, allocations: 174 kB / 0.5891 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3104, allocations: 0 / 0.5891 GB, free: 23.03 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3105, allocations: 1.5 kB / 0.5891 GB, free: 23.03 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3105, allocations: 0 / 0.5891 GB, free: 23.03 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.0006718/0.3111, allocations: 493.7 kB / 0.5896 GB, free: 22.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.3112, allocations: 9.109 kB / 0.5896 GB, free: 22.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.3112, allocations: 25.38 kB / 0.5896 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.3114, allocations: 208 kB / 0.5898 GB, free: 22.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.3115, allocations: 47.59 kB / 0.5898 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.117e-05/0.3115, allocations: 12.38 kB / 0.5898 GB, free: 22.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.3118, allocations: 156.8 kB / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.3119, allocations: 0 / 0.59 GB, free: 22.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3119, allocations: 8 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.3119, allocations: 0.75 kB / 0.59 GB, free: 22.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003931/0.3123, allocations: 154.4 kB / 0.5902 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.3129, allocations: 0.5181 MB / 0.5907 GB, free: 21.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.3133, allocations: 141 kB / 0.5908 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.3135, allocations: 76.8 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.3135, allocations: 1.625 kB / 0.5909 GB, free: 21.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.102e-05/0.3135, allocations: 34.56 kB / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.3135, allocations: 0 / 0.5909 GB, free: 21.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005649/0.3141, allocations: 225 kB / 0.5911 GB, free: 20.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.935e-05/0.3141, allocations: 63.28 kB / 0.5912 GB, free: 20.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.265e-05/0.3142, allocations: 155.1 kB / 0.5913 GB, free: 20.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3142, allocations: 25.7 kB / 0.5913 GB, free: 20.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.513e-05/0.3143, allocations: 142.2 kB / 0.5915 GB, free: 20.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.417e-05/0.3143, allocations: 35.45 kB / 0.5915 GB, free: 20.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.541e-05/0.3144, allocations: 29.72 kB / 0.5915 GB, free: 20.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.3144, allocations: 322.8 kB / 0.5919 GB, free: 20.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3146, allocations: 65.62 kB / 0.5919 GB, free: 19.98 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.3148, allocations: 88.98 kB / 0.592 GB, free: 19.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.3151, allocations: 133.1 kB / 0.5921 GB, free: 19.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3151, allocations: 7.938 kB / 0.5921 GB, free: 19.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003753/0.3155, allocations: 184.4 kB / 0.5923 GB, free: 19.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3155, allocations: 10.12 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3155, allocations: 0 / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3155, allocations: 4 kB / 0.5923 GB, free: 19.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.3157, allocations: 45.64 kB / 0.5924 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3157, allocations: 0 / 0.5924 GB, free: 19.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3158, allocations: 24.67 kB / 0.5924 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.3159, allocations: 4 kB / 0.5924 GB, free: 19.48 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.758e-05/0.3159, allocations: 135.4 kB / 0.5925 GB, free: 19.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.199e-05/0.316, allocations: 11.81 kB / 0.5925 GB, free: 19.33 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.316, allocations: 16.72 kB / 0.5926 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.316, allocations: 0.7812 kB / 0.5926 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.316, allocations: 0 / 0.5926 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.316, allocations: 0.5625 kB / 0.5926 GB, free: 19.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.3162, allocations: 246.3 kB / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3162, allocations: 0 / 0.5928 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.3164, allocations: 33.84 kB / 0.5928 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3164, allocations: 0 / 0.5928 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.3164, allocations: 4 kB / 0.5928 GB, free: 18.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.3164, allocations: 3.984 kB / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3164, allocations: 0 / 0.5928 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005416/0.317, allocations: 354.2 kB / 0.5932 GB, free: 18.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.317, allocations: 89.03 kB / 0.5932 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.317, allocations: 0 / 0.5932 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3172, allocations: 25.75 kB / 0.5933 GB, free: 18.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.723e-05/0.3172, allocations: 7.984 kB / 0.5933 GB, free: 18.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.3173, allocations: 8 kB / 0.5933 GB, free: 18.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.3173, allocations: 111.8 kB / 0.5934 GB, free: 18.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3173, allocations: 1.094 kB / 0.5934 GB, free: 18.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3176, allocations: 39.84 kB / 0.5934 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 7.254e-05/0.3176, allocations: 109.7 kB / 0.5935 GB, free: 18.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.318, allocations: 145 kB / 0.5937 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.318, allocations: 0 / 0.5937 GB, free: 18.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001695/0.3182, allocations: 76.98 kB / 0.5938 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3185, allocations: 25.39 kB / 0.5938 GB, free: 17.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006109/0.3192, allocations: 381.3 kB / 0.5941 GB, free: 17.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.3193, allocations: 0.7184 MB / 0.5948 GB, free: 16.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.3194, allocations: 11.2 kB / 0.5949 GB, free: 16.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.3194, allocations: 15.44 kB / 0.5949 GB, free: 16.85 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3194, allocations: 0 / 0.5949 GB, free: 16.85 MB / 446.1 MB Notification: Performance of Templates: time 0.003524/0.3229, allocations: 1.59 MB / 0.5964 GB, free: 15.28 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)