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.001293/0.001293, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001344/0.001344, allocations: 194.6 kB / 22.17 MB, free: 5.211 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.392/1.392, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.077/1.077, allocations: 175.8 MB / 481.9 MB, free: 7.699 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.001902/0.001902, allocations: 64.08 kB / 0.6705 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4904/0.4923, allocations: 94.54 MB / 0.7628 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02255/0.5149, allocations: 23.65 MB / 0.7859 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008522/0.5234, allocations: 5.132 MB / 0.7909 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008282/0.5242, allocations: 28.41 kB / 0.791 GB, free: 6.129 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.525, allocations: 292 kB / 0.7912 GB, free: 5.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001985/0.527, allocations: 0.827 MB / 0.792 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.5289, allocations: 0.7734 MB / 0.7928 GB, free: 5.059 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00199/0.5309, allocations: 1.631 MB / 0.7944 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006188/0.5315, allocations: 392.3 kB / 0.7948 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.5331, allocations: 0.7301 MB / 0.7955 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006182/0.5337, allocations: 465.5 kB / 0.7959 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.5338, allocations: 47.22 kB / 0.796 GB, free: 3.566 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.5349, allocations: 0.4907 MB / 0.7965 GB, free: 3.383 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.535, allocations: 146.4 kB / 0.7966 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004197/0.5355, allocations: 310.8 kB / 0.7969 GB, free: 3.117 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.537, allocations: 0.9296 MB / 0.7978 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.537, allocations: 0.6562 kB / 0.7978 GB, free: 2.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.843e-06/0.537, allocations: 4.531 kB / 0.7978 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.537, allocations: 0 / 0.7978 GB, free: 2.766 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.001507/0.5385, allocations: 0.9024 MB / 0.7987 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5385, allocations: 9.219 kB / 0.7987 GB, free: 2.078 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002434/0.5388, allocations: 68.67 kB / 0.7988 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.5399, allocations: 0.584 MB / 0.7993 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.422e-05/0.54, allocations: 28.88 kB / 0.7994 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.703e-05/0.54, allocations: 38.92 kB / 0.7994 GB, free: 1.633 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008229/0.5409, allocations: 443.1 kB / 0.7998 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5409, allocations: 1.844 kB / 0.7998 GB, free: 1.414 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.5409, allocations: 15.66 kB / 0.7998 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/0.541, allocations: 10.62 kB / 0.7998 GB, free: 1.402 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005799/0.5415, allocations: 308.2 kB / 0.8001 GB, free: 1.297 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.002817/0.5444, allocations: 1.916 MB / 0.802 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004974/0.5449, allocations: 249.7 kB / 0.8022 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.545, allocations: 115.5 kB / 0.8024 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000908/0.5459, allocations: 0.8478 MB / 0.8032 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.546, allocations: 41.72 kB / 0.8032 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.546, allocations: 0 / 0.8032 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007127/0.5467, allocations: 371.4 kB / 0.8036 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.5468, allocations: 54.22 kB / 0.8036 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005835/0.5473, allocations: 476.1 kB / 0.8041 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.5474, allocations: 36.72 kB / 0.8041 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.5476, allocations: 268.3 kB / 0.8044 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.315e-05/0.5477, allocations: 95.08 kB / 0.8045 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.5478, allocations: 70.89 kB / 0.8045 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.548, allocations: 356.8 kB / 0.8049 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5482, allocations: 97.73 kB / 0.805 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002468/0.5484, allocations: 177.5 kB / 0.8051 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.5488, allocations: 277.4 kB / 0.8054 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5488, allocations: 0 / 0.8054 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000594/0.5494, allocations: 372.4 kB / 0.8058 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.5494, allocations: 9 kB / 0.8058 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5494, allocations: 2.125 kB / 0.8058 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.5495, allocations: 3.219 kB / 0.8058 GB, free: 13.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.5497, allocations: 74.8 kB / 0.8058 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.5497, allocations: 4.75 kB / 0.8058 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.55, allocations: 42.28 kB / 0.8059 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/0.5501, allocations: 18.09 kB / 0.8059 GB, free: 13.12 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.0002127/0.5503, allocations: 182.1 kB / 0.8061 GB, free: 12.97 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.5504, allocations: 57.89 kB / 0.8061 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008049/0.5512, allocations: 469.2 kB / 0.8066 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/0.5512, allocations: 5.516 kB / 0.8066 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.5512, allocations: 3.938 kB / 0.8066 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006121/0.5518, allocations: 0.5661 MB / 0.8071 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5537, allocations: 1.154 MB / 0.8083 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5537, allocations: 1.438 kB / 0.8083 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.5539, allocations: 49.44 kB / 0.8083 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.5539, allocations: 7.953 kB / 0.8083 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.554, allocations: 11.27 kB / 0.8083 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.554, allocations: 2.875 kB / 0.8083 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.554, allocations: 5.844 kB / 0.8083 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009078/0.5549, allocations: 0.676 MB / 0.809 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.5551, allocations: 175.8 kB / 0.8092 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.5552, allocations: 7.953 kB / 0.8092 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.5555, allocations: 11.66 kB / 0.8092 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.5555, allocations: 31.28 kB / 0.8092 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.589e-05/0.5556, allocations: 22.16 kB / 0.8092 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004259/0.556, allocations: 345.8 kB / 0.8096 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9.1e-08/0.556, allocations: 0 / 0.8096 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006828/0.5567, allocations: 201.6 kB / 0.8098 GB, free: 10.78 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.0006259/0.5573, allocations: 298.6 kB / 0.81 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005035/0.5578, allocations: 275.9 kB / 0.8103 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5578, allocations: 7.656 kB / 0.8103 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002155/0.558, allocations: 150.8 kB / 0.8105 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001534/0.5596, allocations: 343.2 kB / 0.8108 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.5613, allocations: 1.077 MB / 0.8118 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.5618, allocations: 0.8671 MB / 0.8127 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000347/0.5622, allocations: 123.9 kB / 0.8128 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.5623, allocations: 59.3 kB / 0.8129 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of SimCode: time 9.11e-07/0.5623, allocations: 3.938 kB / 0.8129 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of Templates: time 0.02232/0.5846, allocations: 12.42 MB / 0.825 GB, free: 2.684 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.235251246020198] Failed to read output from testmodel.py, exit status != 0: 0.5928876618854702 0.6068995189999999 0.06676868400000001 Calling exit ...