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.001291/0.001291, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.00134/0.00134, allocations: 191.8 kB / 19.41 MB, free: 3.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.335/1.335, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.036/1.036, allocations: 175.8 MB / 478.4 MB, free: 8.465 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: "" <> 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.001905/0.001905, allocations: 68.7 kB / 0.6652 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1841, allocations: 94.54 MB / 0.7575 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.3908/0.5749, allocations: 23.42 MB / 0.7804 GB, free: 10.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008356/0.5832, allocations: 5.113 MB / 0.7854 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009165/0.5842, allocations: 28.47 kB / 0.7854 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008667/0.585, allocations: 291.6 kB / 0.7857 GB, free: 6.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002102/0.5871, allocations: 0.8228 MB / 0.7865 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.5891, allocations: 0.7677 MB / 0.7873 GB, free: 5.812 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.591, allocations: 1.62 MB / 0.7888 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006141/0.5916, allocations: 406.6 kB / 0.7892 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.5933, allocations: 0.7335 MB / 0.7899 GB, free: 4.531 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005782/0.5938, allocations: 469.3 kB / 0.7904 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.658e-05/0.5939, allocations: 45.81 kB / 0.7904 GB, free: 4.332 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.5949, allocations: 0.4884 MB / 0.7909 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.5951, allocations: 151.3 kB / 0.7911 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003221/0.5954, allocations: 302 kB / 0.7913 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/0.5968, allocations: 0.932 MB / 0.7923 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.5968, allocations: 3.938 kB / 0.7923 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5968, allocations: 4 kB / 0.7923 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.5968, allocations: 1.375 kB / 0.7923 GB, free: 3.539 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.00148/0.5983, allocations: 0.9062 MB / 0.7932 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.5984, allocations: 10.23 kB / 0.7932 GB, free: 2.844 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001044/0.5985, allocations: 76.72 kB / 0.7932 GB, free: 2.781 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.5987, allocations: 67.72 kB / 0.7933 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.5998, allocations: 0.5839 MB / 0.7939 GB, free: 2.359 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.262e-05/0.5999, allocations: 29.22 kB / 0.7939 GB, free: 2.348 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.405e-05/0.6, allocations: 38.66 kB / 0.7939 GB, free: 2.336 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.6008, allocations: 441.6 kB / 0.7944 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.6008, allocations: 0 / 0.7944 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.6008, allocations: 17.14 kB / 0.7944 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/0.6009, allocations: 9.781 kB / 0.7944 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.6015, allocations: 307 kB / 0.7947 GB, free: 2.004 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.003242/0.6047, allocations: 1.916 MB / 0.7965 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000564/0.6053, allocations: 244.7 kB / 0.7968 GB, free: 0.543 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.6055, allocations: 116.6 kB / 0.7969 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009705/0.6065, allocations: 0.8528 MB / 0.7977 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.6065, allocations: 41.58 kB / 0.7978 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.6065, allocations: 1.125 kB / 0.7978 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007616/0.6073, allocations: 374.7 kB / 0.7981 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.6073, allocations: 55.27 kB / 0.7982 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.608, allocations: 476.2 kB / 0.7986 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.782e-05/0.608, allocations: 32.14 kB / 0.7987 GB, free: 15.01 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.6083, allocations: 264.6 kB / 0.7989 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.6084, allocations: 99.27 kB / 0.799 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.6085, allocations: 70.8 kB / 0.7991 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002387/0.6088, allocations: 357 kB / 0.7994 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001979/0.609, allocations: 96.95 kB / 0.7995 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003126/0.6093, allocations: 174.3 kB / 0.7997 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.6098, allocations: 280.8 kB / 0.7999 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6098, allocations: 0 / 0.7999 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007399/0.6105, allocations: 374 kB / 0.8003 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.6105, allocations: 10.28 kB / 0.8003 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.6106, allocations: 2.469 kB / 0.8003 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.6106, allocations: 8.5 kB / 0.8003 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.6109, allocations: 69.98 kB / 0.8004 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.6109, allocations: 3.406 kB / 0.8004 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.6112, allocations: 50.05 kB / 0.8004 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.216e-05/0.6112, allocations: 14.27 kB / 0.8004 GB, free: 13.83 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.0002435/0.6115, allocations: 179.8 kB / 0.8006 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.6116, allocations: 55.36 kB / 0.8007 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009735/0.6126, allocations: 477.5 kB / 0.8011 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.6126, allocations: 4.672 kB / 0.8011 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6126, allocations: 0 / 0.8011 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006664/0.6133, allocations: 0.5659 MB / 0.8017 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.6153, allocations: 1.154 MB / 0.8028 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.6153, allocations: 5.781 kB / 0.8028 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002307/0.6155, allocations: 49.73 kB / 0.8029 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.6155, allocations: 4.641 kB / 0.8029 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.6156, allocations: 9.875 kB / 0.8029 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6156, allocations: 4.078 kB / 0.8029 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6156, allocations: 2.062 kB / 0.8029 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009569/0.6165, allocations: 0.6724 MB / 0.8035 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000234/0.6168, allocations: 180.4 kB / 0.8037 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.755e-05/0.6168, allocations: 8.328 kB / 0.8037 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.6171, allocations: 10.89 kB / 0.8037 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.6172, allocations: 35.09 kB / 0.8038 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/0.6172, allocations: 18.42 kB / 0.8038 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004321/0.6176, allocations: 345.5 kB / 0.8041 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of sort global known variables: time 7e-08/0.6176, allocations: 1.5 kB / 0.8041 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006822/0.6183, allocations: 200.6 kB / 0.8043 GB, free: 11.49 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.001851/0.6202, allocations: 1.394 MB / 0.8057 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005207/0.6207, allocations: 284.7 kB / 0.8059 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6207, allocations: 1.219 kB / 0.8059 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.6209, allocations: 156.9 kB / 0.8061 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.6224, allocations: 328.8 kB / 0.8064 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.6282, allocations: 4.222 MB / 0.8105 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006342/0.6289, allocations: 0.8632 MB / 0.8114 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005239/0.6294, allocations: 129.3 kB / 0.8115 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.6297, allocations: 189.6 kB / 0.8117 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of SimCode: time 6.31e-07/0.6297, allocations: 0 / 0.8117 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05238/0.6821, allocations: 17.06 MB / 0.8283 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.739/9.421, allocations: 9.328 kB / 0.8283 GB, free: 14.48 MB / 0.6231 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_HeatMeter.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.989177138078958] Failed to read output from testmodel.py, exit status != 0: 9.498807932250202 9.514023539 8.914305805 Calling exit ...