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.001268/0.001268, allocations: 107 kB / 16.4 MB, free: 6.492 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.00125/0.00125, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7754/0.7754, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 68.62 kB / 0.5736 GB, free: 27.06 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1441, allocations: 78.86 MB / 0.6506 GB, free: 3.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.HeatMeter): time 0.02584/0.17, allocations: 23.24 MB / 0.6733 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008031/0.178, allocations: 5.105 MB / 0.6782 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008742/0.179, allocations: 23.88 kB / 0.6783 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0009721/0.18, allocations: 278 kB / 0.6785 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002426/0.1824, allocations: 0.7924 MB / 0.6793 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.1845, allocations: 0.758 MB / 0.6801 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002362/0.1869, allocations: 1.609 MB / 0.6816 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007885/0.1877, allocations: 489.5 kB / 0.6821 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.1896, allocations: 0.7005 MB / 0.6828 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006679/0.1903, allocations: 442 kB / 0.6832 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.626e-05/0.1904, allocations: 44 kB / 0.6832 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1915, allocations: 491.2 kB / 0.6837 GB, free: 1.547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001843/0.1917, allocations: 147.4 kB / 0.6838 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003674/0.1921, allocations: 302.5 kB / 0.6841 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001652/0.1938, allocations: 0.9225 MB / 0.685 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1938, allocations: 3.984 kB / 0.685 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/0.1938, allocations: 0 / 0.685 GB, free: 180 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.1938, allocations: 4 kB / 0.685 GB, free: 176 kB / 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.001445/0.1953, allocations: 0.9069 MB / 0.6859 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.1953, allocations: 12.03 kB / 0.6859 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001074/0.1954, allocations: 74.7 kB / 0.686 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.1957, allocations: 72.56 kB / 0.6861 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.1967, allocations: 0.58 MB / 0.6866 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.1968, allocations: 29 kB / 0.6867 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.1969, allocations: 36 kB / 0.6867 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00073/0.1976, allocations: 444.7 kB / 0.6871 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.1976, allocations: 0 / 0.6871 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.909e-05/0.1977, allocations: 16 kB / 0.6871 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.424e-05/0.1977, allocations: 12 kB / 0.6872 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005155/0.1982, allocations: 307.7 kB / 0.6875 GB, free: 13.58 MB / 0.5294 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.002804/0.201, allocations: 1.92 MB / 0.6893 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005224/0.2016, allocations: 258.8 kB / 0.6896 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.2018, allocations: 124.7 kB / 0.6897 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009351/0.2027, allocations: 0.8545 MB / 0.6905 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.2028, allocations: 38.5 kB / 0.6906 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 2.265e-06/0.2028, allocations: 0 / 0.6906 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.0007323/0.2035, allocations: 369.1 kB / 0.6909 GB, free: 9.688 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.2036, allocations: 59.39 kB / 0.691 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006082/0.2042, allocations: 470.1 kB / 0.6914 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.194e-05/0.2042, allocations: 37.7 kB / 0.6915 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.2045, allocations: 268.3 kB / 0.6917 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 9.105e-05/0.2046, allocations: 99.16 kB / 0.6918 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2047, allocations: 66.02 kB / 0.6919 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.2049, allocations: 358.8 kB / 0.6922 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.2051, allocations: 96.61 kB / 0.6923 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.2053, allocations: 172.1 kB / 0.6925 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004359/0.2058, allocations: 294.6 kB / 0.6928 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2058, allocations: 0 / 0.6928 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006046/0.2064, allocations: 365 kB / 0.6931 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2064, allocations: 7.938 kB / 0.6931 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2064, allocations: 4 kB / 0.6931 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.2065, allocations: 4.219 kB / 0.6931 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.2068, allocations: 75.91 kB / 0.6932 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.2068, allocations: 4 kB / 0.6932 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.207, allocations: 39.66 kB / 0.6932 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2071, allocations: 16 kB / 0.6932 GB, free: 7.199 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.000228/0.2073, allocations: 180.6 kB / 0.6934 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.2074, allocations: 55.61 kB / 0.6935 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008546/0.2083, allocations: 477.4 kB / 0.6939 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.716e-05/0.2083, allocations: 4 kB / 0.6939 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2083, allocations: 0 / 0.6939 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000646/0.209, allocations: 0.5614 MB / 0.6945 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.2109, allocations: 1.16 MB / 0.6956 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2109, allocations: 3.938 kB / 0.6956 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/0.2111, allocations: 60.09 kB / 0.6957 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.2112, allocations: 4 kB / 0.6957 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.2112, allocations: 11.98 kB / 0.6957 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.2112, allocations: 4 kB / 0.6957 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2112, allocations: 0 / 0.6957 GB, free: 4.52 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.2122, allocations: 0.6718 MB / 0.6963 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.2124, allocations: 176.6 kB / 0.6965 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.838e-05/0.2125, allocations: 12 kB / 0.6965 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.2127, allocations: 11.98 kB / 0.6965 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.2128, allocations: 28.05 kB / 0.6966 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.148e-05/0.2128, allocations: 19.94 kB / 0.6966 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004414/0.2133, allocations: 346.8 kB / 0.6969 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2133, allocations: 0 / 0.6969 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006813/0.214, allocations: 203.5 kB / 0.6971 GB, free: 3.016 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.001983/0.216, allocations: 1.395 MB / 0.6985 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005761/0.2165, allocations: 295.6 kB / 0.6988 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.2166, allocations: 4 kB / 0.6988 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000253/0.2168, allocations: 160.4 kB / 0.6989 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.2184, allocations: 345.9 kB / 0.6992 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005824/0.2243, allocations: 4.21 MB / 0.7034 GB, free: 12.44 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.2248, allocations: 0.8704 MB / 0.7042 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004394/0.2253, allocations: 120.7 kB / 0.7043 GB, free: 11.42 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2256, allocations: 195.2 kB / 0.7045 GB, free: 11.23 MB / 0.545 GB Notification: Performance of SimCode: time 6.61e-07/0.2256, allocations: 0 / 0.7045 GB, free: 11.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04671/0.2723, allocations: 16.97 MB / 0.7211 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.658/8.931, allocations: 12 kB / 0.7211 GB, free: 10.49 MB / 0.5606 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)