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.0008721/0.0008721, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0008028/0.0008028, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8561/0.8561, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.00145/0.00145, allocations: 234.5 kB / 259.4 MB, free: 13 MB / 250.7 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 0.6708/0.6708, allocations: 138.4 MB / 454.3 MB, free: 30.06 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 0.6463 GB, free: 1.848 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.909e-05/2.053e-05, allocations: 2.281 kB / 0.6463 GB, free: 1.844 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.HeatMeter): time 0.2451/0.2451, allocations: 21.42 MB / 0.6672 GB, free: 43.96 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.005372/0.2505, allocations: 4.743 MB / 0.6718 GB, free: 40.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009234/0.2514, allocations: 36.66 kB / 0.6719 GB, free: 40.73 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007721/0.2522, allocations: 293.2 kB / 0.6722 GB, free: 40.55 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.2539, allocations: 0.8625 MB / 0.673 GB, free: 40.04 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001546/0.2555, allocations: 0.8069 MB / 0.6738 GB, free: 39.63 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001584/0.2571, allocations: 1.647 MB / 0.6754 GB, free: 38.84 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.2576, allocations: 394.1 kB / 0.6758 GB, free: 38.66 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001373/0.259, allocations: 0.834 MB / 0.6766 GB, free: 38.3 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005232/0.2595, allocations: 410.2 kB / 0.677 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 6.967e-05/0.2596, allocations: 44.88 kB / 0.677 GB, free: 38.16 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.2605, allocations: 419.1 kB / 0.6774 GB, free: 38.02 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2606, allocations: 151.3 kB / 0.6776 GB, free: 37.93 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002081/0.2608, allocations: 219.2 kB / 0.6778 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/0.262, allocations: 0.9509 MB / 0.6787 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.262, allocations: 0 / 0.6787 GB, free: 37.51 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.423e-06/0.262, allocations: 3.938 kB / 0.6787 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2621, allocations: 0 / 0.6787 GB, free: 37.5 MB / 0.5573 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.001035/0.2631, allocations: 0.8162 MB / 0.6795 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.2631, allocations: 9.734 kB / 0.6795 GB, free: 36.91 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.2632, allocations: 85.17 kB / 0.6796 GB, free: 36.85 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.2634, allocations: 74.55 kB / 0.6797 GB, free: 36.81 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007689/0.2642, allocations: 0.5134 MB / 0.6802 GB, free: 36.48 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2642, allocations: 32.09 kB / 0.6802 GB, free: 36.47 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.2642, allocations: 41.03 kB / 0.6802 GB, free: 36.46 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004857/0.2647, allocations: 0.5036 MB / 0.6807 GB, free: 36.16 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.2647, allocations: 4 kB / 0.6807 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.57e-05/0.2647, allocations: 15.41 kB / 0.6808 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.2648, allocations: 11.58 kB / 0.6808 GB, free: 36.14 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003332/0.2651, allocations: 305.3 kB / 0.6811 GB, free: 36.04 MB / 0.5573 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.001591/0.2667, allocations: 1.522 MB / 0.6825 GB, free: 35.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.2671, allocations: 237.2 kB / 0.6828 GB, free: 34.96 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.2672, allocations: 115.9 kB / 0.6829 GB, free: 34.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002892/0.2675, allocations: 109.2 kB / 0.683 GB, free: 34.89 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.2675, allocations: 36.42 kB / 0.683 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=26): time 2.765e-06/0.2675, allocations: 3.094 kB / 0.683 GB, free: 34.85 MB / 0.5573 GB Notification: Performance of matching and sorting (n=26): time 0.0004668/0.268, allocations: 373.1 kB / 0.6834 GB, free: 34.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.372e-05/0.268, allocations: 55.19 kB / 0.6834 GB, free: 34.63 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.2683, allocations: 478.3 kB / 0.6839 GB, free: 34.41 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.2684, allocations: 29.7 kB / 0.6839 GB, free: 34.37 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2685, allocations: 265.1 kB / 0.6842 GB, free: 34.16 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.466e-05/0.2685, allocations: 102 kB / 0.6843 GB, free: 34.07 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.2686, allocations: 69.92 kB / 0.6843 GB, free: 34.04 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.168e-05/0.2687, allocations: 359.9 kB / 0.6847 GB, free: 33.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.2688, allocations: 97.92 kB / 0.6848 GB, free: 33.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.269, allocations: 252.8 kB / 0.685 GB, free: 33.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.2692, allocations: 283.2 kB / 0.6853 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.2692, allocations: 3.938 kB / 0.6853 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004235/0.2696, allocations: 365.3 kB / 0.6856 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.2697, allocations: 5.438 kB / 0.6856 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.2697, allocations: 3.203 kB / 0.6856 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2697, allocations: 2.781 kB / 0.6856 GB, free: 33.14 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001835/0.2699, allocations: 74.05 kB / 0.6857 GB, free: 33.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.2699, allocations: 8.594 kB / 0.6857 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.27, allocations: 51.06 kB / 0.6858 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.2701, allocations: 20.47 kB / 0.6858 GB, free: 33.09 MB / 0.5573 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.000143/0.2702, allocations: 177.8 kB / 0.686 GB, free: 32.94 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-05/0.2703, allocations: 51.55 kB / 0.686 GB, free: 32.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006997/0.271, allocations: 478.8 kB / 0.6865 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.271, allocations: 6.109 kB / 0.6865 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.271, allocations: 4.562 kB / 0.6865 GB, free: 32.72 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003652/0.2714, allocations: 0.5835 MB / 0.687 GB, free: 32.27 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001208/0.2726, allocations: 1 MB / 0.688 GB, free: 31.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.2726, allocations: 9.156 kB / 0.688 GB, free: 31.69 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.2727, allocations: 54.5 kB / 0.6881 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2727, allocations: 6.281 kB / 0.6881 GB, free: 31.68 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.2727, allocations: 12.03 kB / 0.6881 GB, free: 31.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.2728, allocations: 2.375 kB / 0.6881 GB, free: 31.67 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.706e-06/0.2728, allocations: 6.734 kB / 0.6881 GB, free: 31.67 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/0.2734, allocations: 0.6675 MB / 0.6888 GB, free: 31.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.2735, allocations: 102.7 kB / 0.6889 GB, free: 31.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.617e-05/0.2736, allocations: 12.84 kB / 0.6889 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.2737, allocations: 9.688 kB / 0.6889 GB, free: 31.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.2737, allocations: 29.53 kB / 0.6889 GB, free: 31.22 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.2738, allocations: 18.89 kB / 0.6889 GB, free: 31.22 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003245/0.2741, allocations: 345.2 kB / 0.6893 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2741, allocations: 0.875 kB / 0.6893 GB, free: 31.06 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006389/0.2747, allocations: 199.5 kB / 0.6894 GB, free: 31.02 MB / 0.5573 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.001175/0.2759, allocations: 1.416 MB / 0.6908 GB, free: 30.03 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003997/0.2763, allocations: 272.9 kB / 0.6911 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2763, allocations: 1.188 kB / 0.6911 GB, free: 29.95 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.2765, allocations: 158.3 kB / 0.6912 GB, free: 29.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.2775, allocations: 342.3 kB / 0.6916 GB, free: 29.82 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.2817, allocations: 4.165 MB / 0.6956 GB, free: 27.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.2819, allocations: 263.8 kB / 0.6959 GB, free: 27.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0004032/0.2823, allocations: 119.7 kB / 0.696 GB, free: 27.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.2825, allocations: 194.8 kB / 0.6962 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of SimCode: time 1.242e-06/0.2825, allocations: 0 / 0.6962 GB, free: 27.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03615/0.3186, allocations: 18.91 MB / 0.7147 GB, free: 19.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.175/7.494, allocations: 8.672 kB / 0.7147 GB, free: 19.3 MB / 0.5573 GB " [Timeout remaining time 652] (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: 10.10739281307906] Failed to read output from testmodel.py, exit status != 0: 7.580444726161659 7.587287045 7.323616021 Calling exit ...