Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater",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.001213/0.001213, allocations: 103.8 kB / 16.4 MB, free: 6.508 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.001274/0.001274, allocations: 196 kB / 17.34 MB, free: 5.738 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8056/0.8056, allocations: 126.7 MB / 417.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001875/0.001875, allocations: 72.11 kB / 0.5735 GB, free: 27.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1541, allocations: 78.87 MB / 0.6506 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02838/0.1825, allocations: 26.31 MB / 0.6762 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01087/0.1934, allocations: 7.127 MB / 0.6832 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001187/0.1947, allocations: 39.75 kB / 0.6832 GB, free: 1.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1957, allocations: 389.5 kB / 0.6836 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.1987, allocations: 1.11 MB / 0.6847 GB, free: 500 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002402/0.2011, allocations: 0.9664 MB / 0.6856 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002882/0.204, allocations: 2.085 MB / 0.6877 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008762/0.2049, allocations: 0.6257 MB / 0.6883 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001974/0.2068, allocations: 0.82 MB / 0.6891 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007152/0.2076, allocations: 0.5327 MB / 0.6896 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.893e-05/0.2077, allocations: 52 kB / 0.6897 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.2093, allocations: 0.8149 MB / 0.6905 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.2096, allocations: 171.4 kB / 0.6906 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.21, allocations: 386.1 kB / 0.691 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001802/0.2118, allocations: 1.211 MB / 0.6922 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.2118, allocations: 8 kB / 0.6922 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2118, allocations: 0 / 0.6922 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.2118, allocations: 0 / 0.6922 GB, free: 8.805 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001437/0.2133, allocations: 1.085 MB / 0.6932 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2133, allocations: 15.95 kB / 0.6932 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.417e-05/0.2134, allocations: 82.72 kB / 0.6933 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002744/0.2137, allocations: 88.45 kB / 0.6934 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.2149, allocations: 0.7408 MB / 0.6941 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.2149, allocations: 37 kB / 0.6942 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.215, allocations: 43.98 kB / 0.6942 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.2158, allocations: 0.5001 MB / 0.6947 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.2158, allocations: 7.938 kB / 0.6947 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.513e-05/0.2159, allocations: 16 kB / 0.6947 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.2159, allocations: 15.98 kB / 0.6947 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005216/0.2164, allocations: 319.7 kB / 0.695 GB, free: 5.723 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.002902/0.2193, allocations: 2.907 MB / 0.6979 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.2197, allocations: 194.5 kB / 0.6981 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.2198, allocations: 101.1 kB / 0.6982 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003364/0.2202, allocations: 344.5 kB / 0.6985 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.2202, allocations: 42.56 kB / 0.6985 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.2202, allocations: 0 / 0.6985 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0005626/0.2208, allocations: 307.2 kB / 0.6988 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2208, allocations: 59.41 kB / 0.6989 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006/0.2214, allocations: 0.5303 MB / 0.6994 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.2215, allocations: 25.7 kB / 0.6994 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.2217, allocations: 356 kB / 0.6998 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.545e-05/0.2218, allocations: 87.27 kB / 0.6999 GB, free: 392 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2219, allocations: 81.64 kB / 0.6999 GB, free: 304 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.2221, allocations: 362.7 kB / 0.7003 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2223, allocations: 100.8 kB / 0.7004 GB, free: 15.83 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002757/0.2226, allocations: 229.9 kB / 0.7006 GB, free: 15.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.223, allocations: 336 kB / 0.7009 GB, free: 15.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.223, allocations: 4 kB / 0.7009 GB, free: 15.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005888/0.2236, allocations: 395.6 kB / 0.7013 GB, free: 14.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.2236, allocations: 4 kB / 0.7013 GB, free: 14.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2237, allocations: 4 kB / 0.7013 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.2237, allocations: 8 kB / 0.7013 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.2239, allocations: 76.41 kB / 0.7014 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/0.224, allocations: 15.92 kB / 0.7014 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003022/0.2243, allocations: 39.78 kB / 0.7014 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.2243, allocations: 19.98 kB / 0.7015 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003025/0.2246, allocations: 240.1 kB / 0.7017 GB, free: 14.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002638/0.2249, allocations: 238.6 kB / 0.7019 GB, free: 14.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004096/0.2253, allocations: 336.1 kB / 0.7022 GB, free: 13.68 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.2253, allocations: 0 / 0.7022 GB, free: 13.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005666/0.2259, allocations: 396.7 kB / 0.7026 GB, free: 13.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.2259, allocations: 5.875 kB / 0.7026 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2259, allocations: 8.5 kB / 0.7026 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.071e-06/0.2259, allocations: 12 kB / 0.7026 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.2262, allocations: 71.91 kB / 0.7027 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.2262, allocations: 15.92 kB / 0.7027 GB, free: 13.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2265, allocations: 31.84 kB / 0.7027 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.518e-05/0.2265, allocations: 12 kB / 0.7028 GB, free: 13.13 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001414/0.2267, allocations: 212.1 kB / 0.703 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.2268, allocations: 63.56 kB / 0.703 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004857/0.2273, allocations: 286.4 kB / 0.7033 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.2273, allocations: 4 kB / 0.7033 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2273, allocations: 0 / 0.7033 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003831/0.2277, allocations: 381.4 kB / 0.7037 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.2291, allocations: 1.065 MB / 0.7047 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2292, allocations: 0 / 0.7047 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001991/0.2294, allocations: 55.84 kB / 0.7048 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2294, allocations: 4 kB / 0.7048 GB, free: 10.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.2294, allocations: 12.09 kB / 0.7048 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2294, allocations: 0 / 0.7048 GB, free: 10.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2294, allocations: 8.281 kB / 0.7048 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.2301, allocations: 0.5264 MB / 0.7053 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.2303, allocations: 172.6 kB / 0.7055 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.728e-05/0.2303, allocations: 11.98 kB / 0.7055 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.2307, allocations: 15.98 kB / 0.7055 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.2307, allocations: 27.92 kB / 0.7055 GB, free: 10.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.2308, allocations: 15.98 kB / 0.7055 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004735/0.2312, allocations: 415.1 kB / 0.7059 GB, free: 9.656 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2313, allocations: 0 / 0.7059 GB, free: 9.656 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009365/0.2322, allocations: 355.2 kB / 0.7063 GB, free: 9.309 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001439/0.2336, allocations: 1.267 MB / 0.7075 GB, free: 8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006291/0.2343, allocations: 396.5 kB / 0.7079 GB, free: 7.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.892e-06/0.2343, allocations: 4 kB / 0.7079 GB, free: 7.609 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.2345, allocations: 105.3 kB / 0.708 GB, free: 7.508 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.2361, allocations: 379.2 kB / 0.7083 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.2415, allocations: 4.435 MB / 0.7127 GB, free: 2.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.2422, allocations: 0.902 MB / 0.7136 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006355/0.2428, allocations: 153.1 kB / 0.7137 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.2432, allocations: 219.3 kB / 0.7139 GB, free: 1.176 MB / 0.545 GB Notification: Performance of SimCode: time 1.573e-06/0.2432, allocations: 0 / 0.7139 GB, free: 1.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/0.2935, allocations: 17.96 MB / 0.7314 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.967/9.26, allocations: 19.78 kB / 0.7315 GB, free: 15.48 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)