Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001342/0.001342, allocations: 102.9 kB / 16.37 MB, free: 6.441 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.0013/0.0013, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7794/0.7794, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 55.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3134, allocations: 80.2 MB / 0.5815 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.002512/0.3159, allocations: 2.025 MB / 0.5835 GB, free: 26.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.3166, allocations: 0.5327 MB / 0.584 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.83e-05/0.3167, allocations: 2.562 kB / 0.584 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001013/0.3168, allocations: 25.88 kB / 0.584 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.645e-05/0.3169, allocations: 43.3 kB / 0.5841 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000175/0.317, allocations: 56.09 kB / 0.5841 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3172, allocations: 180.7 kB / 0.5843 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.3174, allocations: 78.8 kB / 0.5844 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.3175, allocations: 76.12 kB / 0.5844 GB, free: 25.28 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.452e-05/0.3176, allocations: 75.38 kB / 0.5845 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3176, allocations: 14.44 kB / 0.5845 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.684e-05/0.3176, allocations: 14.97 kB / 0.5845 GB, free: 25.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.3177, allocations: 39.69 kB / 0.5846 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.946e-05/0.3177, allocations: 82.38 kB / 0.5846 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3179, allocations: 166.5 kB / 0.5848 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.3179, allocations: 1.938 kB / 0.5848 GB, free: 25.02 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3179, allocations: 3.312 kB / 0.5848 GB, free: 25.02 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3179, allocations: 3.938 kB / 0.5848 GB, free: 25.02 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.0006146/0.3185, allocations: 494.9 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3186, allocations: 9.688 kB / 0.5853 GB, free: 24.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.3186, allocations: 22.94 kB / 0.5853 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.3188, allocations: 208.5 kB / 0.5855 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.052e-05/0.3188, allocations: 50.98 kB / 0.5856 GB, free: 24.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.19e-05/0.3189, allocations: 13.34 kB / 0.5856 GB, free: 24.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000344/0.3192, allocations: 151.9 kB / 0.5857 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.3192, allocations: 0 / 0.5857 GB, free: 24.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3193, allocations: 6.625 kB / 0.5857 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3193, allocations: 3.031 kB / 0.5857 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004381/0.3197, allocations: 149.7 kB / 0.5859 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000612/0.3203, allocations: 0.5289 MB / 0.5864 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003735/0.3207, allocations: 136.5 kB / 0.5865 GB, free: 23.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.3209, allocations: 81.98 kB / 0.5866 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.321, allocations: 1.438 kB / 0.5866 GB, free: 23.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.071e-05/0.321, allocations: 31.81 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.173e-06/0.321, allocations: 1.469 kB / 0.5866 GB, free: 23.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006271/0.3216, allocations: 230.3 kB / 0.5869 GB, free: 23.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.661e-05/0.3216, allocations: 53.09 kB / 0.5869 GB, free: 23.26 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.3217, allocations: 152.6 kB / 0.587 GB, free: 23.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.3218, allocations: 27.05 kB / 0.5871 GB, free: 23.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.3218, allocations: 132 kB / 0.5872 GB, free: 22.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.3218, allocations: 41.73 kB / 0.5872 GB, free: 22.94 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.3219, allocations: 27.28 kB / 0.5873 GB, free: 22.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.829e-05/0.3219, allocations: 321.6 kB / 0.5876 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3221, allocations: 63.19 kB / 0.5876 GB, free: 22.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.3223, allocations: 90.52 kB / 0.5877 GB, free: 22.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.3227, allocations: 133.5 kB / 0.5878 GB, free: 22.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3227, allocations: 6.094 kB / 0.5879 GB, free: 22.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004162/0.3231, allocations: 192.2 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3231, allocations: 8.766 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.3231, allocations: 3.812 kB / 0.588 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3232, allocations: 1.188 kB / 0.5881 GB, free: 22.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.3234, allocations: 39.12 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3234, allocations: 2.406 kB / 0.5881 GB, free: 22.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.3235, allocations: 19.83 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.3235, allocations: 12.41 kB / 0.5881 GB, free: 22.29 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.294e-05/0.3236, allocations: 128.4 kB / 0.5882 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.3236, allocations: 17.28 kB / 0.5883 GB, free: 22.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.3237, allocations: 20.16 kB / 0.5883 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3237, allocations: 1.156 kB / 0.5883 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3237, allocations: 6.844 kB / 0.5883 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3237, allocations: 5.422 kB / 0.5883 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001966/0.3239, allocations: 238.8 kB / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3239, allocations: 0 / 0.5885 GB, free: 21.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.3241, allocations: 41.03 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.205e-06/0.3241, allocations: 1.312 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3242, allocations: 7.984 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3242, allocations: 1.812 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3242, allocations: 0.625 kB / 0.5886 GB, free: 21.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006194/0.3248, allocations: 339.4 kB / 0.5889 GB, free: 21.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.8e-05/0.3248, allocations: 90.27 kB / 0.589 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/0.3249, allocations: 5.25 kB / 0.589 GB, free: 21.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.325, allocations: 17.91 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.3251, allocations: 23.59 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3251, allocations: 2.75 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.26e-05/0.3252, allocations: 111.6 kB / 0.5891 GB, free: 21.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3252, allocations: 2.156 kB / 0.5891 GB, free: 21.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000264/0.3254, allocations: 44.58 kB / 0.5892 GB, free: 21.39 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.886e-05/0.3255, allocations: 97.88 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000429/0.3259, allocations: 144.7 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.326, allocations: 1.406 kB / 0.5894 GB, free: 21.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.3262, allocations: 75.52 kB / 0.5895 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.3265, allocations: 20.83 kB / 0.5895 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006521/0.3271, allocations: 379.7 kB / 0.5899 GB, free: 20.96 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.3273, allocations: 0.7188 MB / 0.5906 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.895e-05/0.3273, allocations: 6.656 kB / 0.5906 GB, free: 20.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.3274, allocations: 18.41 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3274, allocations: 1.156 kB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of Templates: time 0.003516/0.3309, allocations: 1.588 MB / 0.5921 GB, free: 18.97 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile (rm -f IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; mkfifo IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe >> ../files/IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.sim & ./IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1)