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.001265/0.001265, allocations: 114 kB / 17.6 MB, free: 4.699 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.001286/0.001286, allocations: 186.7 kB / 20.78 MB, free: 1.539 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.375/1.375, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.022/1.022, allocations: 175.7 MB / 480.2 MB, free: 2.828 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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003002/0.003002, allocations: 68.34 kB / 0.6679 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1876, allocations: 94.53 MB / 0.7602 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02748/0.215, allocations: 23.64 MB / 0.7833 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007897/0.2229, allocations: 5.144 MB / 0.7883 GB, free: 3.855 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009778/0.2239, allocations: 23.88 kB / 0.7884 GB, free: 3.832 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009855/0.2249, allocations: 290 kB / 0.7886 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.2274, allocations: 0.8202 MB / 0.7894 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.2294, allocations: 0.7815 MB / 0.7902 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002331/0.2318, allocations: 1.629 MB / 0.7918 GB, free: 320 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.2325, allocations: 385.7 kB / 0.7922 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.2345, allocations: 0.7273 MB / 0.7929 GB, free: 15.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007587/0.2352, allocations: 473.9 kB / 0.7933 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001134/0.2354, allocations: 44 kB / 0.7934 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.2365, allocations: 499.1 kB / 0.7938 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.2367, allocations: 143.5 kB / 0.794 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003758/0.237, allocations: 306.5 kB / 0.7943 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.2387, allocations: 0.9342 MB / 0.7952 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2387, allocations: 0 / 0.7952 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.807e-06/0.2387, allocations: 4 kB / 0.7952 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.427e-05/0.2387, allocations: 0 / 0.7952 GB, free: 12.83 MB / 0.6075 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.00171/0.2404, allocations: 0.9106 MB / 0.7961 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2405, allocations: 8.031 kB / 0.7961 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.2406, allocations: 78.66 kB / 0.7961 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002342/0.2408, allocations: 68.56 kB / 0.7962 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.2419, allocations: 0.58 MB / 0.7968 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.809e-05/0.242, allocations: 29 kB / 0.7968 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.112e-05/0.242, allocations: 40 kB / 0.7968 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007217/0.2427, allocations: 432.7 kB / 0.7973 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.2428, allocations: 4 kB / 0.7973 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.2428, allocations: 16 kB / 0.7973 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.2428, allocations: 19.86 kB / 0.7973 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005364/0.2434, allocations: 303.8 kB / 0.7976 GB, free: 10.23 MB / 0.6075 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.2462, allocations: 1.919 MB / 0.7995 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.2467, allocations: 242.8 kB / 0.7997 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.2469, allocations: 116.8 kB / 0.7998 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009198/0.2478, allocations: 0.8506 MB / 0.8006 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.2479, allocations: 42.48 kB / 0.8007 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.2479, allocations: 0 / 0.8007 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007917/0.2487, allocations: 372.5 kB / 0.801 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.767e-05/0.2487, allocations: 55.34 kB / 0.8011 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000615/0.2493, allocations: 474.1 kB / 0.8015 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.2494, allocations: 29.7 kB / 0.8016 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.2496, allocations: 268.3 kB / 0.8018 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.2497, allocations: 103.1 kB / 0.8019 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001239/0.2498, allocations: 73.97 kB / 0.802 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.25, allocations: 358.8 kB / 0.8023 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.2502, allocations: 104.6 kB / 0.8024 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.2505, allocations: 172 kB / 0.8026 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004471/0.2509, allocations: 280 kB / 0.8029 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2509, allocations: 0 / 0.8029 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006745/0.2516, allocations: 365.1 kB / 0.8032 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.2516, allocations: 11.94 kB / 0.8032 GB, free: 4.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.2516, allocations: 3.984 kB / 0.8032 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.2516, allocations: 4 kB / 0.8032 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.2519, allocations: 76.11 kB / 0.8033 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2519, allocations: 4 kB / 0.8033 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002976/0.2522, allocations: 39.73 kB / 0.8033 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.2523, allocations: 15.98 kB / 0.8034 GB, free: 3.875 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.0002551/0.2525, allocations: 177.8 kB / 0.8035 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.2526, allocations: 55.61 kB / 0.8036 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00088/0.2535, allocations: 473 kB / 0.804 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.559e-05/0.2535, allocations: 7.938 kB / 0.804 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.2535, allocations: 3.984 kB / 0.804 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007054/0.2543, allocations: 0.5663 MB / 0.8046 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.2562, allocations: 1.156 MB / 0.8057 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.2562, allocations: 7.938 kB / 0.8057 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002328/0.2565, allocations: 44.11 kB / 0.8058 GB, free: 1.227 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.2565, allocations: 11.98 kB / 0.8058 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.2565, allocations: 8 kB / 0.8058 GB, free: 1.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.2565, allocations: 4 kB / 0.8058 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.2565, allocations: 4 kB / 0.8058 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009765/0.2575, allocations: 0.6755 MB / 0.8065 GB, free: 500 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002397/0.2577, allocations: 168.8 kB / 0.8066 GB, free: 312 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.2578, allocations: 12 kB / 0.8066 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.2581, allocations: 19.92 kB / 0.8067 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.2581, allocations: 27.91 kB / 0.8067 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.683e-05/0.2582, allocations: 23.98 kB / 0.8067 GB, free: 228 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004747/0.2586, allocations: 342.9 kB / 0.807 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2586, allocations: 4 kB / 0.807 GB, free: 15.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007322/0.2594, allocations: 195.6 kB / 0.8072 GB, free: 15.7 MB / 0.6231 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.001954/0.2613, allocations: 1.392 MB / 0.8086 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006052/0.2619, allocations: 279.7 kB / 0.8088 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.2619, allocations: 0 / 0.8088 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.2622, allocations: 156.5 kB / 0.809 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/0.2638, allocations: 342.8 kB / 0.8093 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/0.2701, allocations: 4.229 MB / 0.8135 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005487/0.2707, allocations: 0.8666 MB / 0.8143 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0005043/0.2712, allocations: 116.7 kB / 0.8144 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.2715, allocations: 195.4 kB / 0.8146 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of SimCode: time 9.02e-07/0.2715, allocations: 0 / 0.8146 GB, free: 7.906 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04848/0.3199, allocations: 17.1 MB / 0.8313 GB, free: 7.078 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.302, allocations: 2.344 kB / 0.8313 GB, free: 7.078 MB / 0.6387 GB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.440748463006457] Failed to read output from testmodel.py, exit status != 0: 9.379314818012062 9.738453953 9.49631279 Calling exit ...