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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.002101/0.002101, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.629/1.629, allocations: 225.6 MB / 249.4 MB, free: 3.316 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.131/1.131, allocations: 175.7 MB / 480.2 MB, free: 2.84 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_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") translateModel(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00272/0.00272, allocations: 62.78 kB / 0.6683 GB, free: 10.74 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2695, allocations: 94.53 MB / 0.7607 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating): time 0.003913/0.2734, allocations: 2.054 MB / 0.7627 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001122/0.2745, allocations: 0.5415 MB / 0.7632 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.2746, allocations: 0 / 0.7632 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2748, allocations: 31.72 kB / 0.7632 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.2749, allocations: 43.58 kB / 0.7633 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.2752, allocations: 55.86 kB / 0.7633 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002783/0.2755, allocations: 183.2 kB / 0.7635 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.2757, allocations: 54.33 kB / 0.7635 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.2759, allocations: 67.77 kB / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.276, allocations: 83.62 kB / 0.7637 GB, free: 13.24 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.276, allocations: 16 kB / 0.7637 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 2.925e-05/0.2761, allocations: 12 kB / 0.7637 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.425e-05/0.2761, allocations: 43.83 kB / 0.7638 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.2762, allocations: 79.59 kB / 0.7638 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.2765, allocations: 171.2 kB / 0.764 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.2765, allocations: 4 kB / 0.764 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2765, allocations: 0 / 0.764 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.2765, allocations: 0 / 0.764 GB, free: 12.92 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.0009367/0.2775, allocations: 494.6 kB / 0.7645 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.2775, allocations: 12.03 kB / 0.7645 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.2776, allocations: 20.84 kB / 0.7645 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.2779, allocations: 220 kB / 0.7647 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.204e-05/0.2779, allocations: 34.27 kB / 0.7647 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.278, allocations: 16.38 kB / 0.7648 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004365/0.2784, allocations: 161.7 kB / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2784, allocations: 0 / 0.7649 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.2785, allocations: 11.98 kB / 0.7649 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.2785, allocations: 7.938 kB / 0.7649 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.279, allocations: 139.9 kB / 0.7651 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009304/0.2799, allocations: 0.527 MB / 0.7656 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.2804, allocations: 130.6 kB / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.2806, allocations: 72.81 kB / 0.7658 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.2806, allocations: 3.938 kB / 0.7658 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.2807, allocations: 38.56 kB / 0.7658 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.2807, allocations: 0 / 0.7658 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12): time 0.0007379/0.2814, allocations: 221.4 kB / 0.766 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.436e-05/0.2815, allocations: 55.41 kB / 0.7661 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.2816, allocations: 153.5 kB / 0.7662 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2817, allocations: 29.7 kB / 0.7663 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.2818, allocations: 132.2 kB / 0.7664 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.2818, allocations: 43.58 kB / 0.7664 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.2819, allocations: 37.7 kB / 0.7665 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2821, allocations: 326.8 kB / 0.7668 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000202/0.2823, allocations: 55.95 kB / 0.7668 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002336/0.2825, allocations: 88.42 kB / 0.7669 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.2829, allocations: 138.5 kB / 0.767 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2829, allocations: 3.938 kB / 0.767 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004932/0.2834, allocations: 196.7 kB / 0.7672 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.2834, allocations: 4 kB / 0.7672 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2834, allocations: 0 / 0.7672 GB, free: 9.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.2835, allocations: 4 kB / 0.7672 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.2836, allocations: 39.91 kB / 0.7673 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.2837, allocations: 0 / 0.7673 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.2838, allocations: 31.97 kB / 0.7673 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.2838, allocations: 4 kB / 0.7673 GB, free: 9.273 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.0001383/0.2839, allocations: 129.7 kB / 0.7674 GB, free: 9.137 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.284, allocations: 11.91 kB / 0.7674 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.052e-05/0.284, allocations: 16.72 kB / 0.7675 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.284, allocations: 0 / 0.7675 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2841, allocations: 3.984 kB / 0.7675 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/0.2841, allocations: 4 kB / 0.7675 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003064/0.2844, allocations: 249.4 kB / 0.7677 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2844, allocations: 0 / 0.7677 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.2846, allocations: 39.91 kB / 0.7677 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.2846, allocations: 4 kB / 0.7677 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.2846, allocations: 0 / 0.7677 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2846, allocations: 0 / 0.7677 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2846, allocations: 0 / 0.7677 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.2853, allocations: 343.2 kB / 0.7681 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.2854, allocations: 93.03 kB / 0.7682 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.2855, allocations: 0 / 0.7682 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.2856, allocations: 20.05 kB / 0.7682 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2857, allocations: 15.97 kB / 0.7682 GB, free: 8.262 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.2857, allocations: 4 kB / 0.7682 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001016/0.2858, allocations: 116.1 kB / 0.7683 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.2858, allocations: 3.938 kB / 0.7683 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002643/0.2861, allocations: 39.89 kB / 0.7684 GB, free: 8.102 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.0001486/0.2862, allocations: 95.25 kB / 0.7684 GB, free: 8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000484/0.2867, allocations: 144.4 kB / 0.7686 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2867, allocations: 0 / 0.7686 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000226/0.2869, allocations: 75.83 kB / 0.7687 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.2873, allocations: 34.02 kB / 0.7687 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.2883, allocations: 396.9 kB / 0.7691 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004483/0.2887, allocations: 0.7158 MB / 0.7698 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 6.491e-05/0.2888, allocations: 12.55 kB / 0.7698 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.783e-05/0.2889, allocations: 11.44 kB / 0.7698 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of SimCode: time 1.062e-06/0.2889, allocations: 0 / 0.7698 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of Templates: time 0.005293/0.2941, allocations: 1.633 MB / 0.7714 GB, free: 4.949 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.makefile [Timeout 660] (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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Discrete.Examples.HysteresisRelease_Heating.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.592851966619492]