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.001108/0.001108, allocations: 118.5 kB / 16.37 MB, free: 6.004 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.001023/0.001024, allocations: 192.8 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.275/1.275, 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.7633/0.7633, allocations: 132.2 MB / 423.4 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 59.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3143, allocations: 80.18 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.002731/0.3171, allocations: 2.025 MB / 0.5835 GB, free: 26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007311/0.3179, allocations: 0.5314 MB / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.559e-05/0.318, allocations: 3.344 kB / 0.584 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.3181, allocations: 22.08 kB / 0.584 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.368e-05/0.3182, allocations: 42.3 kB / 0.584 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.3184, allocations: 59.48 kB / 0.5841 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001949/0.3186, allocations: 188.8 kB / 0.5843 GB, free: 25.35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.3188, allocations: 78.83 kB / 0.5844 GB, free: 25.3 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3189, allocations: 68.03 kB / 0.5844 GB, free: 25.26 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.845e-05/0.319, allocations: 82.55 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.319, allocations: 14.72 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.778e-05/0.319, allocations: 16.25 kB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.3191, allocations: 32.19 kB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.039e-05/0.3192, allocations: 83.62 kB / 0.5846 GB, free: 25.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.3193, allocations: 169.8 kB / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3193, allocations: 0 / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3193, allocations: 5 kB / 0.5848 GB, free: 25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.3194, allocations: 0.5938 kB / 0.5848 GB, free: 25 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.0006564/0.32, allocations: 497.2 kB / 0.5853 GB, free: 24.54 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.3201, allocations: 10.28 kB / 0.5853 GB, free: 24.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.643e-05/0.3201, allocations: 22.14 kB / 0.5853 GB, free: 24.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.3203, allocations: 213.2 kB / 0.5855 GB, free: 24.29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.3203, allocations: 44.44 kB / 0.5856 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.3204, allocations: 19.03 kB / 0.5856 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.3207, allocations: 156.9 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3207, allocations: 0 / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3208, allocations: 5.25 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3208, allocations: 4.219 kB / 0.5857 GB, free: 24.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.3212, allocations: 142.8 kB / 0.5859 GB, free: 24.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.3218, allocations: 0.527 MB / 0.5864 GB, free: 23.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003873/0.3222, allocations: 138.7 kB / 0.5865 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.3225, allocations: 73.88 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3225, allocations: 5.641 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.3225, allocations: 37.19 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.3225, allocations: 0 / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006263/0.3231, allocations: 233.1 kB / 0.5869 GB, free: 23.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.3232, allocations: 52.72 kB / 0.5869 GB, free: 23.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.3233, allocations: 152.1 kB / 0.5871 GB, free: 23.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.3233, allocations: 27.11 kB / 0.5871 GB, free: 23.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.3234, allocations: 131.5 kB / 0.5872 GB, free: 22.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.608e-05/0.3234, allocations: 36.61 kB / 0.5872 GB, free: 22.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.3234, allocations: 36.23 kB / 0.5873 GB, free: 22.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.3235, allocations: 322.1 kB / 0.5876 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3237, allocations: 60.14 kB / 0.5876 GB, free: 22.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001827/0.3239, allocations: 90.06 kB / 0.5877 GB, free: 22.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003382/0.3242, allocations: 140.6 kB / 0.5879 GB, free: 22.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3242, allocations: 7.875 kB / 0.5879 GB, free: 22.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004283/0.3247, allocations: 195.6 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3247, allocations: 5.25 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3247, allocations: 1.188 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3247, allocations: 4.469 kB / 0.5881 GB, free: 22.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.3249, allocations: 39.12 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3249, allocations: 1.281 kB / 0.5881 GB, free: 22.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.325, allocations: 24.69 kB / 0.5881 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.3251, allocations: 3.719 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 7.269e-05/0.3251, allocations: 127.9 kB / 0.5882 GB, free: 22.15 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.37e-05/0.3252, allocations: 13.31 kB / 0.5883 GB, free: 22.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.734e-05/0.3252, allocations: 23.55 kB / 0.5883 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.3252, allocations: 1.719 kB / 0.5883 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3252, allocations: 2.5 kB / 0.5883 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3252, allocations: 0 / 0.5883 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.3254, allocations: 239.9 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3254, allocations: 1.156 kB / 0.5885 GB, free: 21.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.3256, allocations: 41.05 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3256, allocations: 0.5 kB / 0.5886 GB, free: 21.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.3257, allocations: 10.12 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3257, allocations: 1.375 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3257, allocations: 1.188 kB / 0.5886 GB, free: 21.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.3263, allocations: 347.2 kB / 0.5889 GB, free: 21.61 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.739e-05/0.3263, allocations: 85.39 kB / 0.589 GB, free: 21.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.3263, allocations: 5.125 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3265, allocations: 18.97 kB / 0.589 GB, free: 21.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.3266, allocations: 18.23 kB / 0.589 GB, free: 21.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.3266, allocations: 1.344 kB / 0.589 GB, free: 21.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.297e-05/0.3266, allocations: 117.6 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3266, allocations: 1.125 kB / 0.5891 GB, free: 21.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.3269, allocations: 39.69 kB / 0.5892 GB, free: 21.38 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.231e-05/0.327, allocations: 99.97 kB / 0.5893 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004471/0.3274, allocations: 140.8 kB / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3274, allocations: 0 / 0.5894 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002581/0.3277, allocations: 86.34 kB / 0.5895 GB, free: 21.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3281, allocations: 18.53 kB / 0.5895 GB, free: 21.19 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006404/0.3287, allocations: 384.9 kB / 0.5899 GB, free: 20.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3288, allocations: 0.7165 MB / 0.5906 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.834e-05/0.3289, allocations: 15.77 kB / 0.5906 GB, free: 20.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.377e-05/0.3289, allocations: 15.38 kB / 0.5906 GB, free: 20.21 MB / 446.1 MB Notification: Performance of SimCode: time 2.41e-07/0.329, allocations: 1.125 kB / 0.5906 GB, free: 20.21 MB / 446.1 MB Notification: Performance of Templates: time 0.003518/0.3325, allocations: 1.584 MB / 0.5921 GB, free: 19 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.pipe 2>&1)