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.001259/0.001259, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001425/0.001425, allocations: 216.9 kB / 22.25 MB, free: 5.082 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.389/1.389, allocations: 230.6 MB / 256 MB, free: 8.008 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.002397/0.002397, allocations: 277.6 kB / 312.7 MB, free: 2.801 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.163/1.163, allocations: 180.6 MB / 0.5369 GB, free: 13.01 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.002749/0.002749, allocations: 101.6 kB / 0.7396 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1724, allocations: 95.39 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02701/0.1994, allocations: 23.76 MB / 0.8559 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.007753/0.2072, allocations: 5.109 MB / 0.8609 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006248/0.2078, allocations: 39.62 kB / 0.861 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00074/0.2085, allocations: 294 kB / 0.8613 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.2103, allocations: 0.8358 MB / 0.8621 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.2121, allocations: 0.8107 MB / 0.8629 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001942/0.214, allocations: 1.656 MB / 0.8645 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005725/0.2146, allocations: 398.1 kB / 0.8649 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.216, allocations: 0.6423 MB / 0.8655 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.2166, allocations: 485.9 kB / 0.866 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.208e-05/0.2167, allocations: 48 kB / 0.866 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00102/0.2177, allocations: 0.5302 MB / 0.8665 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.2179, allocations: 143.4 kB / 0.8667 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.2182, allocations: 306.5 kB / 0.8669 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.2195, allocations: 0.9498 MB / 0.8679 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2195, allocations: 0 / 0.8679 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2195, allocations: 4 kB / 0.8679 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.2195, allocations: 0 / 0.8679 GB, free: 4.516 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.001295/0.2208, allocations: 0.8283 MB / 0.8687 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.2208, allocations: 17.28 kB / 0.8687 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.328e-05/0.2209, allocations: 74.72 kB / 0.8688 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002015/0.2211, allocations: 68.52 kB / 0.8688 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/0.2221, allocations: 0.5152 MB / 0.8693 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.017e-05/0.2221, allocations: 29 kB / 0.8694 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.138e-05/0.2222, allocations: 43.94 kB / 0.8694 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006657/0.2228, allocations: 436.7 kB / 0.8698 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.2229, allocations: 0 / 0.8698 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.2229, allocations: 19.94 kB / 0.8698 GB, free: 2.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.2229, allocations: 15.94 kB / 0.8699 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005026/0.2234, allocations: 303.8 kB / 0.8701 GB, free: 2.098 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.002629/0.226, allocations: 1.78 MB / 0.8719 GB, free: 228 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.2265, allocations: 238.8 kB / 0.8721 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.2267, allocations: 120.7 kB / 0.8722 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004645/0.2272, allocations: 108 kB / 0.8723 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.2272, allocations: 42.55 kB / 0.8724 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.2272, allocations: 0 / 0.8724 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=26): time 0.0006815/0.2279, allocations: 368.2 kB / 0.8727 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.2279, allocations: 63.34 kB / 0.8728 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005614/0.2285, allocations: 486 kB / 0.8732 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.406e-05/0.2285, allocations: 29.7 kB / 0.8733 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.2287, allocations: 256.5 kB / 0.8735 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.437e-05/0.2288, allocations: 99.11 kB / 0.8736 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000107/0.2289, allocations: 73.97 kB / 0.8737 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.2291, allocations: 358.8 kB / 0.874 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.2293, allocations: 100.6 kB / 0.8741 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.2295, allocations: 172.7 kB / 0.8743 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003976/0.2299, allocations: 275.7 kB / 0.8746 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.2299, allocations: 4 kB / 0.8746 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005901/0.2305, allocations: 369 kB / 0.8749 GB, free: 13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2305, allocations: 8 kB / 0.8749 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2305, allocations: 0 / 0.8749 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.2305, allocations: 12.16 kB / 0.8749 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.2308, allocations: 75.89 kB / 0.875 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.2308, allocations: 4 kB / 0.875 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.2311, allocations: 31.73 kB / 0.875 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/0.2311, allocations: 19.98 kB / 0.8751 GB, free: 12.86 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.0002082/0.2313, allocations: 173.8 kB / 0.8752 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.2314, allocations: 55.67 kB / 0.8753 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008044/0.2322, allocations: 489 kB / 0.8757 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.2322, allocations: 11.92 kB / 0.8758 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.2322, allocations: 0 / 0.8758 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005955/0.2328, allocations: 0.5807 MB / 0.8763 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.2346, allocations: 1.056 MB / 0.8773 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.415e-05/0.2346, allocations: 3.984 kB / 0.8774 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.2349, allocations: 56.11 kB / 0.8774 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.2349, allocations: 4 kB / 0.8774 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.513e-05/0.2349, allocations: 11.98 kB / 0.8774 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.2349, allocations: 4 kB / 0.8774 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.2349, allocations: 3.938 kB / 0.8774 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.2359, allocations: 0.6846 MB / 0.8781 GB, free: 9.547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.2361, allocations: 99.58 kB / 0.8782 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.446e-05/0.2361, allocations: 8 kB / 0.8782 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.2364, allocations: 8 kB / 0.8782 GB, free: 9.434 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.2364, allocations: 31.89 kB / 0.8782 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.2365, allocations: 19.98 kB / 0.8783 GB, free: 9.383 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004247/0.2369, allocations: 342.9 kB / 0.8786 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2369, allocations: 0 / 0.8786 GB, free: 9.051 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006802/0.2376, allocations: 199.6 kB / 0.8788 GB, free: 8.855 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.001518/0.2391, allocations: 1.397 MB / 0.8801 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004894/0.2396, allocations: 287.2 kB / 0.8804 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2396, allocations: 0 / 0.8804 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002408/0.2398, allocations: 151.8 kB / 0.8806 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.2413, allocations: 349 kB / 0.8809 GB, free: 6.652 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005293/0.2466, allocations: 4.217 MB / 0.885 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.247, allocations: 0.8743 MB / 0.8859 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003422/0.2474, allocations: 120.6 kB / 0.886 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.2477, allocations: 191.4 kB / 0.8862 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of SimCode: time 4.31e-07/0.2477, allocations: 4 kB / 0.8862 GB, free: 1.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05172/0.2994, allocations: 17.38 MB / 0.9031 GB, free: 0 / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.08, allocations: 20.03 kB / 0.9032 GB, free: 15.98 MB / 0.6544 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.08014643199931] Failed to read output from testmodel.py, exit status != 0: 11.187556241999118 11.205075736 10.982159726 Calling exit ...