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.00128/0.00128, allocations: 107.4 kB / 16.4 MB, free: 6.504 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.001235/0.001235, allocations: 196.5 kB / 19.35 MB, free: 3.73 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.369/1.369, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.032/1.032, allocations: 173.5 MB / 470.7 MB, free: 13.6 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.002091/0.002091, allocations: 75.8 kB / 0.6479 GB, free: 11.71 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1892, allocations: 89.52 MB / 0.7353 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.3992/0.5884, allocations: 23.24 MB / 0.758 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007095/0.5956, allocations: 5.092 MB / 0.7629 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009148/0.5965, allocations: 25.56 kB / 0.763 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008199/0.5974, allocations: 282 kB / 0.7632 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.5996, allocations: 0.7918 MB / 0.764 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.6017, allocations: 0.759 MB / 0.7648 GB, free: 3.539 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00242/0.6041, allocations: 1.618 MB / 0.7663 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007268/0.6049, allocations: 488.9 kB / 0.7668 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.6066, allocations: 0.7065 MB / 0.7675 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000573/0.6072, allocations: 443.8 kB / 0.7679 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.22e-05/0.6073, allocations: 44.97 kB / 0.768 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.6085, allocations: 488.7 kB / 0.7684 GB, free: 2.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001516/0.6087, allocations: 146.2 kB / 0.7686 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.6089, allocations: 308.1 kB / 0.7689 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.6104, allocations: 0.9294 MB / 0.7698 GB, free: 2.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.6104, allocations: 6.562 kB / 0.7698 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.512e-06/0.6104, allocations: 0 / 0.7698 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.609e-05/0.6104, allocations: 0 / 0.7698 GB, free: 2.668 MB / 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.001175/0.6116, allocations: 0.9016 MB / 0.7706 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.6117, allocations: 14.56 kB / 0.7707 GB, free: 2.066 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.555e-05/0.6118, allocations: 74.84 kB / 0.7707 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002091/0.612, allocations: 70.94 kB / 0.7708 GB, free: 1.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008838/0.6129, allocations: 0.5821 MB / 0.7714 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.6129, allocations: 28.19 kB / 0.7714 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.613, allocations: 41.66 kB / 0.7714 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.6136, allocations: 437.2 kB / 0.7719 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.6136, allocations: 0 / 0.7719 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.679e-05/0.6137, allocations: 15 kB / 0.7719 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.6137, allocations: 15.23 kB / 0.7719 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004544/0.6142, allocations: 306.7 kB / 0.7722 GB, free: 1.605 MB / 0.5762 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.002276/0.6164, allocations: 1.916 MB / 0.774 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/0.6169, allocations: 263.8 kB / 0.7743 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.6171, allocations: 119.1 kB / 0.7744 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007707/0.6179, allocations: 0.8522 MB / 0.7752 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.618, allocations: 43.56 kB / 0.7753 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 1.864e-06/0.618, allocations: 0 / 0.7753 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.0006911/0.6187, allocations: 370.9 kB / 0.7756 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.6187, allocations: 54.48 kB / 0.7757 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005613/0.6193, allocations: 473.6 kB / 0.7761 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.6193, allocations: 39.61 kB / 0.7762 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.6196, allocations: 264.4 kB / 0.7764 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.6197, allocations: 96.69 kB / 0.7765 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.6198, allocations: 72.03 kB / 0.7766 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.62, allocations: 356.1 kB / 0.7769 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.6202, allocations: 98.33 kB / 0.777 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.6204, allocations: 173.1 kB / 0.7772 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004607/0.6209, allocations: 282.9 kB / 0.7775 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.6209, allocations: 5.094 kB / 0.7775 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006956/0.6216, allocations: 366.6 kB / 0.7778 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6216, allocations: 8.719 kB / 0.7778 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.6216, allocations: 5.062 kB / 0.7778 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.6217, allocations: 4.188 kB / 0.7778 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.622, allocations: 73.62 kB / 0.7779 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.622, allocations: 8.234 kB / 0.7779 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.6223, allocations: 41.91 kB / 0.7779 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.6223, allocations: 17.41 kB / 0.778 GB, free: 14.48 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.0002211/0.6225, allocations: 177.1 kB / 0.7781 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.6226, allocations: 55.11 kB / 0.7782 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008735/0.6235, allocations: 477 kB / 0.7786 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6236, allocations: 5.203 kB / 0.7786 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.6236, allocations: 1.438 kB / 0.7786 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006369/0.6242, allocations: 0.5688 MB / 0.7792 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/0.6262, allocations: 1.159 MB / 0.7803 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.6262, allocations: 1.094 kB / 0.7803 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/0.6264, allocations: 46.97 kB / 0.7804 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.6264, allocations: 1.844 kB / 0.7804 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.806e-05/0.6265, allocations: 12.25 kB / 0.7804 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/0.6265, allocations: 6.062 kB / 0.7804 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.6265, allocations: 8.859 kB / 0.7804 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009861/0.6275, allocations: 0.6671 MB / 0.7811 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002387/0.6277, allocations: 176.1 kB / 0.7812 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.6278, allocations: 9.203 kB / 0.7812 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.6281, allocations: 16.22 kB / 0.7813 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.6282, allocations: 26.09 kB / 0.7813 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.6282, allocations: 16 kB / 0.7813 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005095/0.6287, allocations: 345.7 kB / 0.7816 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6287, allocations: 0.6562 kB / 0.7816 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008592/0.6296, allocations: 206.6 kB / 0.7818 GB, free: 12.95 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.002138/0.6317, allocations: 1.393 MB / 0.7832 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.6323, allocations: 301.1 kB / 0.7835 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6323, allocations: 0 / 0.7835 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.6326, allocations: 166.3 kB / 0.7836 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6342, allocations: 338.7 kB / 0.784 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005744/0.6399, allocations: 4.22 MB / 0.7881 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005747/0.6405, allocations: 0.8691 MB / 0.7889 GB, free: 9.441 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005386/0.6411, allocations: 118.4 kB / 0.789 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002676/0.6414, allocations: 188.4 kB / 0.7892 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of SimCode: time 9.32e-07/0.6414, allocations: 0 / 0.7892 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04622/0.6876, allocations: 16.98 MB / 0.8058 GB, free: 3.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.713/9.4, allocations: 5.406 kB / 0.8058 GB, free: 3.086 MB / 0.5919 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 sys.exit(0), Time elapsed: 13.116076375124976] Failed to read output from testmodel.py, exit status != 0: 9.474038499873132 9.486710886 8.873454568 Calling exit ...