Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.HeatMeter,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 102 kB / 16.4 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 192 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7414/0.7414, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 71.69 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1385, allocations: 77.93 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02452/0.1631, allocations: 23.19 MB / 0.6667 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007509/0.1707, allocations: 5.101 MB / 0.6717 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008732/0.1716, allocations: 31.81 kB / 0.6717 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0008888/0.1725, allocations: 278.1 kB / 0.672 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.1748, allocations: 0.828 MB / 0.6728 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.1769, allocations: 0.7706 MB / 0.6736 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002043/0.1789, allocations: 1.621 MB / 0.6751 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007103/0.1797, allocations: 477.6 kB / 0.6756 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.1813, allocations: 0.6338 MB / 0.6762 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007145/0.1821, allocations: 458 kB / 0.6767 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1822, allocations: 44 kB / 0.6767 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.1833, allocations: 487.1 kB / 0.6772 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001732/0.1835, allocations: 135.5 kB / 0.6773 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000385/0.1839, allocations: 310.5 kB / 0.6776 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.1854, allocations: 0.9342 MB / 0.6785 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1854, allocations: 0 / 0.6785 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1854, allocations: 0 / 0.6785 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.109e-05/0.1854, allocations: 0 / 0.6785 GB, free: 6.129 MB / 0.5137 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.001431/0.1869, allocations: 0.9029 MB / 0.6794 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1869, allocations: 12.62 kB / 0.6794 GB, free: 5.164 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.14e-05/0.187, allocations: 82.66 kB / 0.6795 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002273/0.1873, allocations: 64.56 kB / 0.6795 GB, free: 5.012 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1883, allocations: 0.5846 MB / 0.6801 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1883, allocations: 29 kB / 0.6801 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.589e-05/0.1884, allocations: 40 kB / 0.6802 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.1891, allocations: 440.7 kB / 0.6806 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.1891, allocations: 0 / 0.6806 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/0.1891, allocations: 16 kB / 0.6806 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.1892, allocations: 15.94 kB / 0.6806 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.1896, allocations: 303.8 kB / 0.6809 GB, free: 3.535 MB / 0.5137 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.00249/0.1921, allocations: 1.916 MB / 0.6828 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004791/0.1926, allocations: 263.6 kB / 0.683 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.1928, allocations: 128.7 kB / 0.6832 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.1936, allocations: 0.8506 MB / 0.684 GB, free: 64 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1936, allocations: 34.56 kB / 0.684 GB, free: 20 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=26): time 1.884e-06/0.1936, allocations: 0 / 0.684 GB, free: 20 kB / 0.5137 GB Notification: Performance of matching and sorting (n=26): time 0.0006902/0.1943, allocations: 384.3 kB / 0.6844 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.1944, allocations: 63.34 kB / 0.6844 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.1949, allocations: 474 kB / 0.6849 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.195, allocations: 33.7 kB / 0.6849 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001846/0.1952, allocations: 260.4 kB / 0.6852 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.1953, allocations: 99.16 kB / 0.6853 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.1954, allocations: 77.97 kB / 0.6853 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1955, allocations: 354.8 kB / 0.6857 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1957, allocations: 100.6 kB / 0.6858 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.1959, allocations: 172 kB / 0.6859 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.1963, allocations: 286.6 kB / 0.6862 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1963, allocations: 0 / 0.6862 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006029/0.1969, allocations: 361.3 kB / 0.6866 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.197, allocations: 8 kB / 0.6866 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.197, allocations: 4 kB / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.197, allocations: 3.938 kB / 0.6866 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002694/0.1973, allocations: 71.91 kB / 0.6866 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.1973, allocations: 7.984 kB / 0.6867 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.1976, allocations: 43.62 kB / 0.6867 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.1976, allocations: 16 kB / 0.6867 GB, free: 13.15 MB / 0.5294 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.0001992/0.1979, allocations: 178 kB / 0.6869 GB, free: 12.97 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.198, allocations: 51.72 kB / 0.6869 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007633/0.1987, allocations: 469.1 kB / 0.6874 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.52e-05/0.1988, allocations: 15.88 kB / 0.6874 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1988, allocations: 4 kB / 0.6874 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005135/0.1993, allocations: 0.5645 MB / 0.6879 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001702/0.201, allocations: 1.152 MB / 0.6891 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.201, allocations: 4 kB / 0.6891 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002189/0.2012, allocations: 51.91 kB / 0.6891 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2013, allocations: 0 / 0.6891 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.2013, allocations: 19.97 kB / 0.6891 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2013, allocations: 0 / 0.6891 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/0.2013, allocations: 11.98 kB / 0.6892 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.2022, allocations: 0.6718 MB / 0.6898 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002178/0.2024, allocations: 184.6 kB / 0.69 GB, free: 9.562 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.2025, allocations: 8 kB / 0.69 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002826/0.2028, allocations: 15.98 kB / 0.69 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.2028, allocations: 27.91 kB / 0.69 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.2029, allocations: 12 kB / 0.69 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003857/0.2033, allocations: 346.8 kB / 0.6904 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2033, allocations: 0 / 0.6904 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006066/0.2039, allocations: 199.6 kB / 0.6906 GB, free: 8.969 MB / 0.5294 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.001592/0.2055, allocations: 1.395 MB / 0.6919 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005149/0.206, allocations: 292.7 kB / 0.6922 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.206, allocations: 448 / 0.6922 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.2063, allocations: 163.8 kB / 0.6924 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.2078, allocations: 334.1 kB / 0.6927 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005244/0.2131, allocations: 4.223 MB / 0.6968 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.2136, allocations: 0.8627 MB / 0.6977 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004007/0.214, allocations: 120.7 kB / 0.6978 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000319/0.2143, allocations: 191.4 kB / 0.698 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.2143, allocations: 0 / 0.698 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/0.2527, allocations: 16.98 MB / 0.7145 GB, free: 476 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.328/8.581, allocations: 14.94 kB / 0.7145 GB, free: 464 kB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_HeatMeter.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1)