Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.001426/0.001427, allocations: 107.8 kB / 17.08 MB, free: 5.992 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.001573/0.001573, allocations: 191.6 kB / 20.03 MB, free: 3.062 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.487/1.487, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.229/1.229, allocations: 173.4 MB / 471.3 MB, free: 6.562 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.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 71.83 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2155, allocations: 89.52 MB / 0.7364 GB, free: 3.629 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02815/0.2437, allocations: 23.24 MB / 0.7591 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008892/0.2527, allocations: 5.092 MB / 0.7641 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00126/0.254, allocations: 31.81 kB / 0.7641 GB, free: 7.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.2551, allocations: 282.1 kB / 0.7644 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.258, allocations: 0.785 MB / 0.7652 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.2605, allocations: 0.7658 MB / 0.7659 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00274/0.2632, allocations: 1.609 MB / 0.7675 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008423/0.2641, allocations: 493.5 kB / 0.768 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002233/0.2663, allocations: 0.7079 MB / 0.7686 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.267, allocations: 450 kB / 0.7691 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.747e-05/0.2671, allocations: 48 kB / 0.7691 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.2685, allocations: 487.1 kB / 0.7696 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.2687, allocations: 135.6 kB / 0.7697 GB, free: 1.422 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004082/0.2691, allocations: 310.5 kB / 0.77 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.2707, allocations: 0.9186 MB / 0.7709 GB, free: 200 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2707, allocations: 4 kB / 0.7709 GB, free: 196 kB / 0.5762 GB Notification: Performance of FrontEnd: time 3.126e-06/0.2707, allocations: 0 / 0.7709 GB, free: 196 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.2708, allocations: 3.938 kB / 0.7709 GB, free: 192 kB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001516/0.2723, allocations: 0.9109 MB / 0.7718 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2723, allocations: 8.031 kB / 0.7718 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/0.2726, allocations: 72.55 kB / 0.7719 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.2737, allocations: 0.5802 MB / 0.7724 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/0.2737, allocations: 32.98 kB / 0.7725 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.024e-05/0.2738, allocations: 39.94 kB / 0.7725 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007273/0.2745, allocations: 440.7 kB / 0.7729 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.2745, allocations: 0 / 0.7729 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/0.2746, allocations: 20 kB / 0.773 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.2746, allocations: 12 kB / 0.773 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.2751, allocations: 303.7 kB / 0.7733 GB, free: 13.67 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.2779, allocations: 1.919 MB / 0.7751 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005411/0.2785, allocations: 254.8 kB / 0.7754 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.2787, allocations: 124.8 kB / 0.7755 GB, free: 11.24 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009325/0.2796, allocations: 0.8506 MB / 0.7763 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.2797, allocations: 38.56 kB / 0.7764 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.353e-06/0.2797, allocations: 0 / 0.7764 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0007628/0.2805, allocations: 372.4 kB / 0.7767 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.2805, allocations: 55.41 kB / 0.7768 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005915/0.2811, allocations: 470.1 kB / 0.7772 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.467e-05/0.2812, allocations: 37.64 kB / 0.7773 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.2814, allocations: 272.4 kB / 0.7775 GB, free: 8.938 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.976e-05/0.2815, allocations: 103.1 kB / 0.7776 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001178/0.2817, allocations: 69.98 kB / 0.7777 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.2818, allocations: 362.7 kB / 0.778 GB, free: 8.398 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/0.282, allocations: 96.59 kB / 0.7781 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.2823, allocations: 172 kB / 0.7783 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004189/0.2827, allocations: 280 kB / 0.7785 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.2827, allocations: 4 kB / 0.7786 GB, free: 7.812 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006001/0.2833, allocations: 361.2 kB / 0.7789 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.2833, allocations: 11.88 kB / 0.7789 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.2834, allocations: 8 kB / 0.7789 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.2834, allocations: 4 kB / 0.7789 GB, free: 7.43 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2837, allocations: 75.88 kB / 0.779 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.2837, allocations: 4.219 kB / 0.779 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.2839, allocations: 43.72 kB / 0.779 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.284, allocations: 15.98 kB / 0.7791 GB, free: 7.293 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002245/0.2842, allocations: 177.8 kB / 0.7792 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.764e-05/0.2843, allocations: 55.61 kB / 0.7793 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008649/0.2852, allocations: 473.1 kB / 0.7797 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.2852, allocations: 7.984 kB / 0.7797 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2852, allocations: 0 / 0.7797 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006607/0.2859, allocations: 0.5663 MB / 0.7803 GB, free: 5.949 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001876/0.2878, allocations: 1.16 MB / 0.7814 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.2878, allocations: 0 / 0.7814 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.288, allocations: 51.91 kB / 0.7815 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.288, allocations: 4 kB / 0.7815 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.2881, allocations: 8.188 kB / 0.7815 GB, free: 4.633 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2881, allocations: 8 kB / 0.7815 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2881, allocations: 0 / 0.7815 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.2891, allocations: 0.6718 MB / 0.7821 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002143/0.2893, allocations: 172.7 kB / 0.7823 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.2894, allocations: 8 kB / 0.7823 GB, free: 3.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2896, allocations: 11.95 kB / 0.7823 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.2897, allocations: 27.91 kB / 0.7824 GB, free: 3.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.2897, allocations: 19.98 kB / 0.7824 GB, free: 3.664 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000449/0.2902, allocations: 342.9 kB / 0.7827 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2902, allocations: 7.938 kB / 0.7827 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006893/0.2909, allocations: 199.6 kB / 0.7829 GB, free: 3.129 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0007758/0.2917, allocations: 307.4 kB / 0.7832 GB, free: 2.832 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005675/0.2922, allocations: 299.6 kB / 0.7835 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.2923, allocations: 0 / 0.7835 GB, free: 2.539 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.2925, allocations: 155.8 kB / 0.7836 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.2941, allocations: 332.1 kB / 0.7839 GB, free: 2.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.296, allocations: 1.107 MB / 0.785 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005434/0.2965, allocations: 0.8588 MB / 0.7859 GB, free: 20 kB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/0.2967, allocations: 59.48 kB / 0.7859 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of SimCode: time 4.71e-07/0.2967, allocations: 0 / 0.7859 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of Templates: time 0.01734/0.3141, allocations: 9.925 MB / 0.7956 GB, free: 6.125 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.739614116027951] Failed to read output from testmodel.py, exit status != 0: 0.32120375288650393 0.334401676 0.06102136700000001 Calling exit ...