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.001212/0.001212, allocations: 105.8 kB / 16.45 MB, free: 6.5 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.001233/0.001233, allocations: 216 kB / 19.43 MB, free: 3.656 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.347/1.347, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002326/0.002326, allocations: 292.4 kB / 309.1 MB, free: 3.984 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.157/1.157, allocations: 180.9 MB / 0.5333 GB, free: 13.84 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002685/0.002685, allocations: 102.8 kB / 0.7343 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1732, allocations: 95.33 MB / 0.8274 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.02662/0.1998, allocations: 23.53 MB / 0.8503 GB, free: 2.227 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008117/0.208, allocations: 5.09 MB / 0.8553 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008395/0.2088, allocations: 43.62 kB / 0.8554 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.2096, allocations: 286 kB / 0.8556 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.2116, allocations: 0.8273 MB / 0.8564 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.2134, allocations: 0.774 MB / 0.8572 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002083/0.2154, allocations: 1.613 MB / 0.8588 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000626/0.2161, allocations: 425.6 kB / 0.8592 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.2175, allocations: 0.6345 MB / 0.8598 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.2181, allocations: 481.9 kB / 0.8603 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.182e-05/0.2182, allocations: 48 kB / 0.8603 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.2192, allocations: 0.5147 MB / 0.8608 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001657/0.2194, allocations: 147.4 kB / 0.8609 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.2197, allocations: 306.5 kB / 0.8612 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001401/0.2211, allocations: 0.9459 MB / 0.8622 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2211, allocations: 0 / 0.8622 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.2211, allocations: 0 / 0.8622 GB, free: 6.098 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2211, allocations: 0 / 0.8622 GB, free: 6.098 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.001423/0.2226, allocations: 0.9068 MB / 0.863 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.563e-05/0.2226, allocations: 12.03 kB / 0.8631 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.2227, allocations: 78.66 kB / 0.8631 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000217/0.2229, allocations: 72.52 kB / 0.8632 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.2239, allocations: 0.5768 MB / 0.8638 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/0.224, allocations: 32.94 kB / 0.8638 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.799e-05/0.224, allocations: 40 kB / 0.8638 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007125/0.2248, allocations: 436.7 kB / 0.8643 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.2248, allocations: 0 / 0.8643 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.2248, allocations: 16 kB / 0.8643 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.2248, allocations: 12 kB / 0.8643 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005264/0.2254, allocations: 307.7 kB / 0.8646 GB, free: 3.508 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.002713/0.2281, allocations: 1.928 MB / 0.8665 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005246/0.2286, allocations: 250.7 kB / 0.8667 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000184/0.2288, allocations: 112.8 kB / 0.8668 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008936/0.2297, allocations: 0.8467 MB / 0.8676 GB, free: 56 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.2297, allocations: 34.56 kB / 0.8677 GB, free: 12 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/0.2297, allocations: 0 / 0.8677 GB, free: 12 kB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007274/0.2304, allocations: 377 kB / 0.868 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.2305, allocations: 59.41 kB / 0.8681 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005675/0.2311, allocations: 474 kB / 0.8685 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.2311, allocations: 33.7 kB / 0.8686 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2313, allocations: 268.3 kB / 0.8688 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.442e-05/0.2314, allocations: 99.17 kB / 0.8689 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001211/0.2315, allocations: 69.97 kB / 0.869 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.2317, allocations: 358.8 kB / 0.8693 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.2319, allocations: 92.61 kB / 0.8694 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2321, allocations: 172.1 kB / 0.8696 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.2325, allocations: 283.7 kB / 0.8698 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2325, allocations: 0 / 0.8698 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005913/0.2331, allocations: 361.1 kB / 0.8702 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2331, allocations: 4 kB / 0.8702 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2331, allocations: 7.938 kB / 0.8702 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2332, allocations: 7.938 kB / 0.8702 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.2334, allocations: 80.11 kB / 0.8703 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2335, allocations: 4 kB / 0.8703 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.2337, allocations: 35.67 kB / 0.8703 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/0.2337, allocations: 16 kB / 0.8703 GB, free: 13.17 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.0002153/0.234, allocations: 178.4 kB / 0.8705 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.2341, allocations: 55.67 kB / 0.8706 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008488/0.2349, allocations: 481.3 kB / 0.871 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.2349, allocations: 7.938 kB / 0.871 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2349, allocations: 0 / 0.871 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006321/0.2356, allocations: 0.5686 MB / 0.8716 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.2374, allocations: 1.164 MB / 0.8727 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.2374, allocations: 0 / 0.8727 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.2376, allocations: 51.92 kB / 0.8728 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2376, allocations: 8.188 kB / 0.8728 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.2377, allocations: 11.98 kB / 0.8728 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2377, allocations: 7.938 kB / 0.8728 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.2377, allocations: 0 / 0.8728 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.2386, allocations: 0.6721 MB / 0.8735 GB, free: 9.758 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.2388, allocations: 168.7 kB / 0.8736 GB, free: 9.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.2389, allocations: 8 kB / 0.8736 GB, free: 9.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.2391, allocations: 11.98 kB / 0.8736 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.2392, allocations: 23.91 kB / 0.8737 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.375e-05/0.2392, allocations: 19.98 kB / 0.8737 GB, free: 9.512 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004158/0.2396, allocations: 346.9 kB / 0.874 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of sort global known variables: time 8e-08/0.2396, allocations: 0 / 0.874 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0006384/0.2403, allocations: 199.6 kB / 0.8742 GB, free: 8.98 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.001597/0.2419, allocations: 1.369 MB / 0.8755 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005307/0.2424, allocations: 287.4 kB / 0.8758 GB, free: 7.285 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2424, allocations: 7.938 kB / 0.8758 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002345/0.2426, allocations: 147.8 kB / 0.876 GB, free: 7.133 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.2441, allocations: 341 kB / 0.8763 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/0.2499, allocations: 4.218 MB / 0.8804 GB, free: 2.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000554/0.2505, allocations: 0.8704 MB / 0.8812 GB, free: 1.531 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004142/0.2509, allocations: 120.7 kB / 0.8814 GB, free: 1.414 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.2512, allocations: 187.4 kB / 0.8815 GB, free: 1.23 MB / 0.6231 GB Notification: Performance of SimCode: time 8.01e-07/0.2512, allocations: 4 kB / 0.8815 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04826/0.2994, allocations: 17.04 MB / 0.8982 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.499/8.799, allocations: 6.812 kB / 0.8982 GB, free: 0.4961 MB / 0.6387 GB " [Timeout remaining time 651] (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: 12.739898701198399] Failed to read output from testmodel.py, exit status != 0: 8.874708527699113 8.888862562 8.664867247 Calling exit ...