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.001443/0.001443, allocations: 105.5 kB / 16.27 MB, free: 5.93 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.001351/0.001351, allocations: 188.3 kB / 17.2 MB, free: 5.574 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.275/1.275, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7304/0.7304, allocations: 122.9 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.91 kB / 0.4912 GB, free: 7.371 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3023, allocations: 77.93 MB / 0.5673 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02019/0.3226, allocations: 26.25 MB / 0.5929 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007554/0.3301, allocations: 7.126 MB / 0.5999 GB, free: 7.598 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008076/0.331, allocations: 43.88 kB / 0.5999 GB, free: 7.578 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007704/0.3318, allocations: 381.4 kB / 0.6003 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002023/0.3338, allocations: 1.107 MB / 0.6014 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001864/0.3357, allocations: 0.9461 MB / 0.6023 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001905/0.3376, allocations: 2.098 MB / 0.6043 GB, free: 4.449 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006561/0.3383, allocations: 0.6224 MB / 0.6049 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001251/0.3396, allocations: 0.7182 MB / 0.6056 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004955/0.3401, allocations: 0.5405 MB / 0.6062 GB, free: 2.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.671e-05/0.3402, allocations: 60 kB / 0.6062 GB, free: 2.871 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001268/0.3414, allocations: 0.807 MB / 0.607 GB, free: 2.062 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001274/0.3416, allocations: 167.4 kB / 0.6072 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002669/0.3418, allocations: 382.1 kB / 0.6075 GB, free: 1.523 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001133/0.343, allocations: 1.2 MB / 0.6087 GB, free: 328 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.343, allocations: 0 / 0.6087 GB, free: 328 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.343, allocations: 0 / 0.6087 GB, free: 328 kB / 446.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.343, allocations: 0 / 0.6087 GB, free: 328 kB / 446.1 MB 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.001214/0.3442, allocations: 1.051 MB / 0.6097 GB, free: 15.21 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.3443, allocations: 8.625 kB / 0.6097 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.245e-05/0.3444, allocations: 86.7 kB / 0.6098 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002668/0.3446, allocations: 88 kB / 0.6099 GB, free: 15.03 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009448/0.3456, allocations: 0.7058 MB / 0.6106 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.654e-05/0.3456, allocations: 33 kB / 0.6106 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.3457, allocations: 48 kB / 0.6107 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007109/0.3464, allocations: 0.5 MB / 0.6112 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.3465, allocations: 4 kB / 0.6112 GB, free: 13.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.3465, allocations: 16 kB / 0.6112 GB, free: 13.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3465, allocations: 20 kB / 0.6112 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.347, allocations: 323.7 kB / 0.6115 GB, free: 13.31 MB / 462.1 MB 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.002505/0.3495, allocations: 2.76 MB / 0.6142 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002863/0.3498, allocations: 194.5 kB / 0.6144 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.35, allocations: 100.8 kB / 0.6145 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002722/0.3503, allocations: 340.8 kB / 0.6148 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.3503, allocations: 42.44 kB / 0.6149 GB, free: 9.551 MB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.723e-06/0.3503, allocations: 0 / 0.6149 GB, free: 9.551 MB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005341/0.3509, allocations: 303.3 kB / 0.6151 GB, free: 9.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.3509, allocations: 59.41 kB / 0.6152 GB, free: 9.18 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.3514, allocations: 0.5264 MB / 0.6157 GB, free: 8.645 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.817e-05/0.3515, allocations: 29.7 kB / 0.6157 GB, free: 8.609 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.3517, allocations: 347.5 kB / 0.6161 GB, free: 8.266 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.3518, allocations: 78.86 kB / 0.6162 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3519, allocations: 81.5 kB / 0.6162 GB, free: 8.102 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.352, allocations: 358.8 kB / 0.6166 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.3522, allocations: 108.7 kB / 0.6167 GB, free: 7.633 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00022/0.3524, allocations: 237.9 kB / 0.6169 GB, free: 7.336 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003693/0.3528, allocations: 345 kB / 0.6172 GB, free: 6.945 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3528, allocations: 0 / 0.6172 GB, free: 6.945 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005195/0.3533, allocations: 380.7 kB / 0.6176 GB, free: 6.566 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.3534, allocations: 8 kB / 0.6176 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3534, allocations: 7.938 kB / 0.6176 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.3534, allocations: 11.98 kB / 0.6176 GB, free: 6.539 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.3536, allocations: 71.91 kB / 0.6177 GB, free: 6.469 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3537, allocations: 7.938 kB / 0.6177 GB, free: 6.461 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.354, allocations: 55.98 kB / 0.6178 GB, free: 6.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.354, allocations: 16 kB / 0.6178 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002695/0.3543, allocations: 252 kB / 0.618 GB, free: 6.141 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002146/0.3545, allocations: 226 kB / 0.6182 GB, free: 5.855 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003388/0.3549, allocations: 335.5 kB / 0.6185 GB, free: 5.473 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.387e-06/0.3549, allocations: 4 kB / 0.6185 GB, free: 5.469 MB / 462.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005154/0.3554, allocations: 384.4 kB / 0.6189 GB, free: 5.086 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.3554, allocations: 8 kB / 0.6189 GB, free: 5.078 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3554, allocations: 4 kB / 0.6189 GB, free: 5.074 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.3555, allocations: 8.562 kB / 0.6189 GB, free: 5.066 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.3557, allocations: 79.89 kB / 0.619 GB, free: 4.988 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3557, allocations: 11.88 kB / 0.619 GB, free: 4.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/0.356, allocations: 35.73 kB / 0.6191 GB, free: 4.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.356, allocations: 20 kB / 0.6191 GB, free: 4.922 MB / 462.1 MB 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.0001125/0.3562, allocations: 200.1 kB / 0.6193 GB, free: 4.719 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.3563, allocations: 55.34 kB / 0.6193 GB, free: 4.664 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.3567, allocations: 283.7 kB / 0.6196 GB, free: 4.383 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3567, allocations: 3.938 kB / 0.6196 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3567, allocations: 0 / 0.6196 GB, free: 4.379 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003405/0.3571, allocations: 385.4 kB / 0.62 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001302/0.3584, allocations: 1.051 MB / 0.621 GB, free: 2.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.3584, allocations: 4 kB / 0.621 GB, free: 2.797 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.3586, allocations: 55.91 kB / 0.621 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3586, allocations: 4 kB / 0.621 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.3587, allocations: 4 kB / 0.621 GB, free: 2.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.3587, allocations: 7.984 kB / 0.6211 GB, free: 2.727 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.3587, allocations: 12.16 kB / 0.6211 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.3593, allocations: 0.5221 MB / 0.6216 GB, free: 2.148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001823/0.3595, allocations: 176.2 kB / 0.6217 GB, free: 1.957 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.3596, allocations: 12 kB / 0.6218 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003331/0.3599, allocations: 11.98 kB / 0.6218 GB, free: 1.934 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.36, allocations: 23.92 kB / 0.6218 GB, free: 1.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.724e-05/0.36, allocations: 23.98 kB / 0.6218 GB, free: 1.887 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.3604, allocations: 411.1 kB / 0.6222 GB, free: 1.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3605, allocations: 0 / 0.6222 GB, free: 1.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009686/0.3614, allocations: 347.3 kB / 0.6225 GB, free: 1.141 MB / 462.1 MB 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.001299/0.3627, allocations: 1.27 MB / 0.6238 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006141/0.3634, allocations: 416.7 kB / 0.6242 GB, free: 15.42 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3634, allocations: 4 kB / 0.6242 GB, free: 15.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3635, allocations: 99.83 kB / 0.6243 GB, free: 15.32 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.3652, allocations: 379.8 kB / 0.6246 GB, free: 14.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.3701, allocations: 4.532 MB / 0.6291 GB, free: 10.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004105/0.3706, allocations: 0.8981 MB / 0.6299 GB, free: 9.285 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000603/0.3712, allocations: 158.5 kB / 0.6301 GB, free: 9.137 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.3715, allocations: 219.4 kB / 0.6303 GB, free: 8.922 MB / 478.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3715, allocations: 0 / 0.6303 GB, free: 8.922 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.409, allocations: 17.85 MB / 0.6477 GB, free: 7.367 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/7.937, allocations: 6.469 kB / 0.6477 GB, free: 7.363 MB / 494.1 MB (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)