Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 213.8 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.386/1.386, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002368/0.002368, allocations: 283.7 kB / 312.7 MB, free: 2.633 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.184/1.184, allocations: 180.6 MB / 0.5369 GB, free: 14.55 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 105.8 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1682, allocations: 95.38 MB / 0.8327 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02411/0.1923, allocations: 21.59 MB / 0.8537 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007518/0.1998, allocations: 4.721 MB / 0.8584 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007782/0.2006, allocations: 43.69 kB / 0.8584 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008152/0.2014, allocations: 289.9 kB / 0.8587 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002058/0.2035, allocations: 0.8319 MB / 0.8595 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001874/0.2054, allocations: 0.7732 MB / 0.8602 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002103/0.2075, allocations: 1.639 MB / 0.8618 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.2081, allocations: 402.1 kB / 0.8622 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001489/0.2096, allocations: 0.6441 MB / 0.8629 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006023/0.2102, allocations: 453.9 kB / 0.8633 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.2102, allocations: 44 kB / 0.8633 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00093/0.2112, allocations: 419.1 kB / 0.8637 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.2113, allocations: 147.4 kB / 0.8639 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.2116, allocations: 258.8 kB / 0.8641 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.2128, allocations: 0.9265 MB / 0.865 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2128, allocations: 4 kB / 0.865 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2128, allocations: 0 / 0.865 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.2129, allocations: 0 / 0.865 GB, free: 7.117 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.001325/0.2142, allocations: 0.829 MB / 0.8658 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.2142, allocations: 13.34 kB / 0.8658 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.515e-05/0.2143, allocations: 78.64 kB / 0.8659 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002068/0.2145, allocations: 76.52 kB / 0.866 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.2155, allocations: 0.5073 MB / 0.8665 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/0.2156, allocations: 29 kB / 0.8665 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.332e-05/0.2156, allocations: 43.95 kB / 0.8666 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007206/0.2164, allocations: 0.5095 MB / 0.8671 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.2164, allocations: 0 / 0.8671 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.2164, allocations: 19.98 kB / 0.8671 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.2164, allocations: 12 kB / 0.8671 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005099/0.2169, allocations: 303.8 kB / 0.8674 GB, free: 4.598 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.002478/0.2194, allocations: 1.524 MB / 0.8689 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005147/0.2199, allocations: 240.7 kB / 0.8691 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.2201, allocations: 117.6 kB / 0.8692 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004634/0.2206, allocations: 103.8 kB / 0.8693 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.2206, allocations: 38.56 kB / 0.8693 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.2206, allocations: 4 kB / 0.8693 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.000705/0.2213, allocations: 368.4 kB / 0.8697 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2214, allocations: 55.41 kB / 0.8697 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/0.2219, allocations: 482 kB / 0.8702 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.222, allocations: 29.7 kB / 0.8702 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002131/0.2222, allocations: 268.3 kB / 0.8705 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/0.2223, allocations: 99.23 kB / 0.8706 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.2224, allocations: 70.03 kB / 0.8707 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2226, allocations: 358.8 kB / 0.871 GB, free: 0.7617 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.2227, allocations: 96.59 kB / 0.8711 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.223, allocations: 257.8 kB / 0.8713 GB, free: 384 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004018/0.2234, allocations: 279.5 kB / 0.8716 GB, free: 80 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.2234, allocations: 3.938 kB / 0.8716 GB, free: 76 kB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000591/0.224, allocations: 365.1 kB / 0.872 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.224, allocations: 8 kB / 0.872 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.224, allocations: 3.984 kB / 0.872 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.224, allocations: 11.92 kB / 0.872 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.2243, allocations: 71.91 kB / 0.872 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/0.2243, allocations: 7.938 kB / 0.8721 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.2246, allocations: 39.67 kB / 0.8721 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.742e-05/0.2246, allocations: 19.98 kB / 0.8721 GB, free: 15.55 MB / 0.6231 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.0002017/0.2248, allocations: 181.9 kB / 0.8723 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.314e-05/0.2249, allocations: 51.67 kB / 0.8723 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008034/0.2257, allocations: 477.1 kB / 0.8728 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.449e-05/0.2257, allocations: 15.92 kB / 0.8728 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2257, allocations: 0 / 0.8728 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005998/0.2263, allocations: 0.5807 MB / 0.8734 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.228, allocations: 1.006 MB / 0.8744 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2281, allocations: 0 / 0.8744 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.2283, allocations: 56.16 kB / 0.8744 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.2283, allocations: 4 kB / 0.8744 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.272e-05/0.2283, allocations: 8 kB / 0.8744 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.2283, allocations: 7.938 kB / 0.8744 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2283, allocations: 0 / 0.8744 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009165/0.2292, allocations: 0.6846 MB / 0.8751 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002042/0.2294, allocations: 99.53 kB / 0.8752 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.831e-05/0.2295, allocations: 11.98 kB / 0.8752 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.2297, allocations: 12 kB / 0.8752 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.652e-05/0.2298, allocations: 27.89 kB / 0.8752 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.2298, allocations: 19.98 kB / 0.8753 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004087/0.2302, allocations: 346.9 kB / 0.8756 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2302, allocations: 0 / 0.8756 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006371/0.2309, allocations: 203.5 kB / 0.8758 GB, free: 11.6 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.001615/0.2325, allocations: 1.404 MB / 0.8772 GB, free: 10.15 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005187/0.233, allocations: 283.2 kB / 0.8774 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.852e-06/0.233, allocations: 0 / 0.8774 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000234/0.2332, allocations: 155.7 kB / 0.8776 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001466/0.2347, allocations: 329.4 kB / 0.8779 GB, free: 9.406 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/0.2401, allocations: 4.221 MB / 0.882 GB, free: 5.023 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2404, allocations: 278.2 kB / 0.8823 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003916/0.2408, allocations: 112.7 kB / 0.8824 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.2411, allocations: 191.4 kB / 0.8826 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of SimCode: time 8.52e-07/0.2411, allocations: 0 / 0.8826 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05258/0.2936, allocations: 18.8 MB / 0.9009 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.37, allocations: 10.73 kB / 0.9009 GB, free: 2.062 MB / 0.6387 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_HeatMeter.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.458237847778946] Failed to read output from testmodel.py, exit status != 0: 11.478420986328274 11.494188342 11.278158754 Calling exit ...