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.001235/0.001235, allocations: 107.7 kB / 18.88 MB, free: 3.051 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.001452/0.001452, allocations: 200.3 kB / 22.17 MB, free: 5.203 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.399/1.399, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.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.071/1.071, allocations: 175.8 MB / 481.9 MB, free: 7.684 MB / 382.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.001908/0.001908, allocations: 71.66 kB / 0.6705 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4988, allocations: 94.52 MB / 0.7628 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02439/0.5232, allocations: 23.65 MB / 0.7859 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008604/0.5318, allocations: 5.135 MB / 0.7909 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.5328, allocations: 31 kB / 0.791 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008613/0.5336, allocations: 288 kB / 0.7912 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.5361, allocations: 0.8259 MB / 0.7921 GB, free: 5.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001989/0.538, allocations: 0.7715 MB / 0.7928 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.54, allocations: 1.623 MB / 0.7944 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006168/0.5406, allocations: 396.4 kB / 0.7948 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.5424, allocations: 0.7266 MB / 0.7955 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006744/0.5431, allocations: 469.4 kB / 0.7959 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.906e-05/0.5431, allocations: 49.06 kB / 0.796 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00111/0.5442, allocations: 498.5 kB / 0.7964 GB, free: 3.352 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001917/0.5444, allocations: 151 kB / 0.7966 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003654/0.5448, allocations: 306.8 kB / 0.7969 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.5464, allocations: 0.9327 MB / 0.7978 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.5464, allocations: 1.922 kB / 0.7978 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5464, allocations: 0 / 0.7978 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.5464, allocations: 0 / 0.7978 GB, free: 2.734 MB / 0.5919 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.001672/0.548, allocations: 0.9062 MB / 0.7987 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.5481, allocations: 9.438 kB / 0.7987 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002734/0.5484, allocations: 72.66 kB / 0.7988 GB, free: 2.008 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.5496, allocations: 0.5796 MB / 0.7993 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.5496, allocations: 29.25 kB / 0.7994 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/0.5497, allocations: 42.62 kB / 0.7994 GB, free: 1.594 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000874/0.5506, allocations: 440.4 kB / 0.7998 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.5506, allocations: 0.5938 kB / 0.7998 GB, free: 1.379 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.74e-05/0.5507, allocations: 16.88 kB / 0.7998 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.5507, allocations: 14.12 kB / 0.7998 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006309/0.5513, allocations: 304.3 kB / 0.8001 GB, free: 1.262 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.002896/0.5542, allocations: 1.907 MB / 0.802 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/0.5548, allocations: 247.4 kB / 0.8022 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.555, allocations: 115.3 kB / 0.8023 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009605/0.5559, allocations: 0.8467 MB / 0.8032 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.556, allocations: 49.73 kB / 0.8032 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.442e-06/0.556, allocations: 0 / 0.8032 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007755/0.5567, allocations: 372 kB / 0.8036 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.5568, allocations: 55.38 kB / 0.8036 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.5574, allocations: 476.8 kB / 0.8041 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.5575, allocations: 31.08 kB / 0.8041 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002419/0.5577, allocations: 265 kB / 0.8044 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5578, allocations: 102.9 kB / 0.8045 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.5579, allocations: 69.95 kB / 0.8045 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.5581, allocations: 361.9 kB / 0.8049 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.5583, allocations: 97.17 kB / 0.805 GB, free: 13.57 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.5586, allocations: 173.7 kB / 0.8051 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.559, allocations: 276.8 kB / 0.8054 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.559, allocations: 0 / 0.8054 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006436/0.5596, allocations: 375.8 kB / 0.8058 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.5597, allocations: 9.688 kB / 0.8058 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.5597, allocations: 1.156 kB / 0.8058 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.5597, allocations: 4.125 kB / 0.8058 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.56, allocations: 74.23 kB / 0.8058 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.56, allocations: 4.578 kB / 0.8058 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.5603, allocations: 39.16 kB / 0.8059 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.5603, allocations: 25.23 kB / 0.8059 GB, free: 13.08 MB / 0.6075 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.0002203/0.5605, allocations: 179.2 kB / 0.8061 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5606, allocations: 60.64 kB / 0.8061 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008593/0.5615, allocations: 461.2 kB / 0.8066 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/0.5615, allocations: 6.031 kB / 0.8066 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.5615, allocations: 0.9375 kB / 0.8066 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006308/0.5622, allocations: 0.5655 MB / 0.8071 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.5642, allocations: 1.153 MB / 0.8083 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.78e-06/0.5642, allocations: 2.859 kB / 0.8083 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.5644, allocations: 54.34 kB / 0.8083 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5644, allocations: 3.312 kB / 0.8083 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.5644, allocations: 9.359 kB / 0.8083 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.5644, allocations: 9.203 kB / 0.8083 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5644, allocations: 9.469 kB / 0.8083 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009206/0.5654, allocations: 0.6738 MB / 0.809 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.5656, allocations: 179.5 kB / 0.8092 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.383e-05/0.5657, allocations: 9.047 kB / 0.8092 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002645/0.5659, allocations: 9.172 kB / 0.8092 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.566, allocations: 27.89 kB / 0.8092 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.566, allocations: 18.09 kB / 0.8092 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004586/0.5665, allocations: 345.1 kB / 0.8096 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5665, allocations: 3.938 kB / 0.8096 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007397/0.5672, allocations: 207.8 kB / 0.8098 GB, free: 10.73 MB / 0.6075 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.0006744/0.5679, allocations: 296.5 kB / 0.81 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004879/0.5684, allocations: 285.6 kB / 0.8103 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5684, allocations: 4.688 kB / 0.8103 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.5686, allocations: 148 kB / 0.8105 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/0.5702, allocations: 337.7 kB / 0.8108 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.572, allocations: 1.092 MB / 0.8119 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.5726, allocations: 0.8597 MB / 0.8127 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0003606/0.5729, allocations: 121.3 kB / 0.8128 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.573, allocations: 53.92 kB / 0.8129 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of SimCode: time 3.91e-07/0.573, allocations: 0 / 0.8129 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of Templates: time 0.02368/0.5967, allocations: 12.43 MB / 0.825 GB, free: 2.609 MB / 0.6075 GB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.272768944967538] Failed to read output from testmodel.py, exit status != 0: 0.6055364119820297 0.619564537 0.07023891 Calling exit ...