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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002024/0.002024, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.129/1.129, allocations: 175.7 MB / 480.2 MB, free: 2.738 MB / 366.1 MB " [Timeout remaining time 179] 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=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001917/0.001917, allocations: 62.36 kB / 0.6683 GB, free: 10.58 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.277, allocations: 94.54 MB / 0.7607 GB, free: 296 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling): time 0.00386/0.2808, allocations: 2.05 MB / 0.7627 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009781/0.2818, allocations: 0.5414 MB / 0.7632 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.2819, allocations: 0 / 0.7632 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.282, allocations: 31.72 kB / 0.7632 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.2821, allocations: 43.58 kB / 0.7633 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.2824, allocations: 55.91 kB / 0.7633 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.2826, allocations: 183.2 kB / 0.7635 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.2828, allocations: 46.34 kB / 0.7635 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.283, allocations: 75.69 kB / 0.7636 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.2831, allocations: 87.62 kB / 0.7637 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.2832, allocations: 16 kB / 0.7637 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.039e-05/0.2832, allocations: 16 kB / 0.7637 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.822e-05/0.2832, allocations: 35.84 kB / 0.7638 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.799e-05/0.2833, allocations: 83.58 kB / 0.7638 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.2836, allocations: 171.2 kB / 0.764 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2836, allocations: 0 / 0.764 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2836, allocations: 0 / 0.764 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.2836, allocations: 0 / 0.764 GB, free: 12.84 MB / 0.5762 GB 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.000873/0.2845, allocations: 498.6 kB / 0.7645 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.2845, allocations: 8.031 kB / 0.7645 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.2846, allocations: 20.84 kB / 0.7645 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.2848, allocations: 216 kB / 0.7647 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.671e-05/0.2849, allocations: 38.27 kB / 0.7647 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.285, allocations: 12.38 kB / 0.7648 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004191/0.2854, allocations: 165.7 kB / 0.7649 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2854, allocations: 0 / 0.7649 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.2854, allocations: 4 kB / 0.7649 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2854, allocations: 4 kB / 0.7649 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/0.2859, allocations: 143.9 kB / 0.7651 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009504/0.2869, allocations: 0.5269 MB / 0.7656 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004638/0.2873, allocations: 134.6 kB / 0.7657 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.2876, allocations: 72.75 kB / 0.7658 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.2876, allocations: 0 / 0.7658 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.2876, allocations: 38.56 kB / 0.7658 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.2876, allocations: 4 kB / 0.7658 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.000768/0.2884, allocations: 217.4 kB / 0.766 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.2884, allocations: 55.39 kB / 0.7661 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.2886, allocations: 153.5 kB / 0.7662 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.2886, allocations: 33.7 kB / 0.7663 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.2887, allocations: 132.2 kB / 0.7664 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.2888, allocations: 43.64 kB / 0.7664 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.307e-05/0.2888, allocations: 29.7 kB / 0.7664 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.289, allocations: 326.8 kB / 0.7668 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.2892, allocations: 63.89 kB / 0.7668 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.2895, allocations: 88.06 kB / 0.7669 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.2899, allocations: 141.5 kB / 0.767 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.2899, allocations: 3.938 kB / 0.767 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004743/0.2903, allocations: 189.4 kB / 0.7672 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2903, allocations: 4 kB / 0.7672 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2904, allocations: 4 kB / 0.7672 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2904, allocations: 8 kB / 0.7672 GB, free: 9.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.2906, allocations: 39.91 kB / 0.7673 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.2906, allocations: 0 / 0.7673 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.2907, allocations: 27.91 kB / 0.7673 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.2907, allocations: 4 kB / 0.7673 GB, free: 9.199 MB / 0.5762 GB 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 0.0001431/0.2909, allocations: 129.7 kB / 0.7674 GB, free: 9.062 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.2909, allocations: 11.91 kB / 0.7674 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.291, allocations: 24.7 kB / 0.7675 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.291, allocations: 4 kB / 0.7675 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.291, allocations: 0 / 0.7675 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.291, allocations: 0 / 0.7675 GB, free: 9.016 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003184/0.2913, allocations: 245.4 kB / 0.7677 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.2913, allocations: 0 / 0.7677 GB, free: 8.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.2915, allocations: 35.97 kB / 0.7677 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2915, allocations: 0 / 0.7677 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.2915, allocations: 3.938 kB / 0.7677 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2915, allocations: 0 / 0.7677 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2915, allocations: 4 kB / 0.7677 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007465/0.2923, allocations: 339.6 kB / 0.7681 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.332e-05/0.2923, allocations: 97.09 kB / 0.7682 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.2924, allocations: 4 kB / 0.7682 GB, free: 8.219 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2925, allocations: 15.98 kB / 0.7682 GB, free: 8.203 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.2926, allocations: 19.95 kB / 0.7682 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.888e-06/0.2926, allocations: 4 kB / 0.7682 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001234/0.2927, allocations: 112.1 kB / 0.7683 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2927, allocations: 0 / 0.7683 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002664/0.293, allocations: 39.89 kB / 0.7684 GB, free: 8.031 MB / 0.5762 GB 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 0.0001334/0.2931, allocations: 103.2 kB / 0.7684 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.2936, allocations: 139.8 kB / 0.7686 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2936, allocations: 0 / 0.7686 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.2938, allocations: 84.05 kB / 0.7687 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003909/0.2942, allocations: 23.94 kB / 0.7687 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.2951, allocations: 392.9 kB / 0.7691 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/0.2956, allocations: 0.7158 MB / 0.7698 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.791e-05/0.2957, allocations: 12.53 kB / 0.7698 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.928e-05/0.2957, allocations: 15.44 kB / 0.7698 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/0.2957, allocations: 0 / 0.7698 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.005356/0.3011, allocations: 1.643 MB / 0.7714 GB, free: 4.867 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Cooling.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.669703913852572]