Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_IDEAS_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.001554/0.001554, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 192.8 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7939/0.7939, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 63.19 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3634, allocations: 80.2 MB / 0.5802 GB, free: 4.574 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02849/0.3919, allocations: 26.27 MB / 0.6058 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01298/0.4049, allocations: 7.111 MB / 0.6128 GB, free: 11.61 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00183/0.4068, allocations: 35.22 kB / 0.6128 GB, free: 11.6 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.4083, allocations: 396.8 kB / 0.6132 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003512/0.4118, allocations: 1.091 MB / 0.6143 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002778/0.4146, allocations: 0.9558 MB / 0.6152 GB, free: 9.684 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003084/0.4177, allocations: 2.083 MB / 0.6172 GB, free: 8.484 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001149/0.4189, allocations: 0.6196 MB / 0.6178 GB, free: 8.086 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002191/0.4211, allocations: 0.7241 MB / 0.6185 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.4223, allocations: 0.5389 MB / 0.6191 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001866/0.4225, allocations: 55.38 kB / 0.6191 GB, free: 7.355 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002091/0.4246, allocations: 0.8109 MB / 0.6199 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002704/0.4248, allocations: 175.5 kB / 0.6201 GB, free: 6.777 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007706/0.4256, allocations: 378.4 kB / 0.6204 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002543/0.4282, allocations: 1.201 MB / 0.6216 GB, free: 5.762 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.4282, allocations: 0 / 0.6216 GB, free: 5.762 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.4282, allocations: 0 / 0.6216 GB, free: 5.762 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.289e-05/0.4282, allocations: 0 / 0.6216 GB, free: 5.762 MB / 462.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.002163/0.4304, allocations: 1.052 MB / 0.6226 GB, free: 4.895 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.4305, allocations: 10 kB / 0.6227 GB, free: 4.895 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.4306, allocations: 89.95 kB / 0.6227 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004726/0.4311, allocations: 84.77 kB / 0.6228 GB, free: 4.773 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.4327, allocations: 0.6931 MB / 0.6235 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.784e-05/0.4327, allocations: 39.17 kB / 0.6235 GB, free: 4.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.4328, allocations: 42.91 kB / 0.6236 GB, free: 4.172 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.4338, allocations: 0.4996 MB / 0.6241 GB, free: 3.836 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.3e-05/0.4338, allocations: 5.094 kB / 0.6241 GB, free: 3.832 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.957e-05/0.4339, allocations: 17.41 kB / 0.6241 GB, free: 3.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.592e-05/0.434, allocations: 15.67 kB / 0.6241 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006483/0.4346, allocations: 321.9 kB / 0.6244 GB, free: 3.656 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.003265/0.4379, allocations: 2.768 MB / 0.6271 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/0.4382, allocations: 190.5 kB / 0.6273 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4384, allocations: 97.19 kB / 0.6274 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000349/0.4388, allocations: 356.3 kB / 0.6277 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.4388, allocations: 34.56 kB / 0.6278 GB, free: 272 kB / 462.1 MB Notification: Performance of pre-optimization done (n=22): time 1.903e-06/0.4388, allocations: 0 / 0.6278 GB, free: 272 kB / 462.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006169/0.4394, allocations: 310.3 kB / 0.6281 GB, free: 15.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.4395, allocations: 51.41 kB / 0.6281 GB, free: 15.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000609/0.4402, allocations: 0.5263 MB / 0.6286 GB, free: 15.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.653e-05/0.4402, allocations: 37.7 kB / 0.6287 GB, free: 15.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.4405, allocations: 347.2 kB / 0.629 GB, free: 14.97 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.994e-05/0.4405, allocations: 82.97 kB / 0.6291 GB, free: 14.89 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.4407, allocations: 85.55 kB / 0.6291 GB, free: 14.8 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4408, allocations: 358.8 kB / 0.6295 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001464/0.441, allocations: 88.81 kB / 0.6296 GB, free: 14.35 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.4412, allocations: 237.8 kB / 0.6298 GB, free: 14.05 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.4416, allocations: 333.5 kB / 0.6301 GB, free: 13.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.4416, allocations: 4 kB / 0.6301 GB, free: 13.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006108/0.4422, allocations: 389.5 kB / 0.6305 GB, free: 13.28 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.4423, allocations: 4 kB / 0.6305 GB, free: 13.28 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4423, allocations: 8 kB / 0.6305 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4423, allocations: 4 kB / 0.6305 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4426, allocations: 83.83 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.4426, allocations: 8 kB / 0.6306 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.443, allocations: 43.55 kB / 0.6306 GB, free: 13.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.4431, allocations: 20.22 kB / 0.6307 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000305/0.4434, allocations: 254.6 kB / 0.6309 GB, free: 12.86 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002361/0.4436, allocations: 239.7 kB / 0.6311 GB, free: 12.57 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000418/0.444, allocations: 331.9 kB / 0.6314 GB, free: 12.18 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.414e-06/0.4441, allocations: 0 / 0.6314 GB, free: 12.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006001/0.4447, allocations: 392.6 kB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.4447, allocations: 6.188 kB / 0.6318 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.4447, allocations: 8 kB / 0.6318 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.4447, allocations: 7.938 kB / 0.6318 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.445, allocations: 79.89 kB / 0.6319 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.445, allocations: 12.5 kB / 0.6319 GB, free: 11.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/0.4454, allocations: 31.75 kB / 0.632 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.4454, allocations: 19.98 kB / 0.632 GB, free: 11.63 MB / 478.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.0001533/0.4456, allocations: 204.1 kB / 0.6322 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.4457, allocations: 63.22 kB / 0.6322 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004833/0.4462, allocations: 278.2 kB / 0.6325 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/0.4462, allocations: 4 kB / 0.6325 GB, free: 11.09 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.4462, allocations: 4 kB / 0.6325 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000353/0.4466, allocations: 381.4 kB / 0.6329 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001452/0.448, allocations: 1.057 MB / 0.6339 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4481, allocations: 0 / 0.6339 GB, free: 9.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002055/0.4483, allocations: 51.91 kB / 0.6339 GB, free: 9.449 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.4483, allocations: 4 kB / 0.634 GB, free: 9.445 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.4483, allocations: 12 kB / 0.634 GB, free: 9.434 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4483, allocations: 3.984 kB / 0.634 GB, free: 9.43 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.4483, allocations: 4 kB / 0.634 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.449, allocations: 0.5224 MB / 0.6345 GB, free: 8.859 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.4492, allocations: 176.2 kB / 0.6347 GB, free: 8.668 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.4494, allocations: 8 kB / 0.6347 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003939/0.4497, allocations: 19.97 kB / 0.6347 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.4498, allocations: 19.86 kB / 0.6347 GB, free: 8.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.4498, allocations: 19.98 kB / 0.6347 GB, free: 8.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005167/0.4504, allocations: 411.1 kB / 0.6351 GB, free: 8.195 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4504, allocations: 4 kB / 0.6351 GB, free: 8.191 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001209/0.4516, allocations: 351.3 kB / 0.6354 GB, free: 7.848 MB / 478.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.001623/0.4532, allocations: 1.259 MB / 0.6367 GB, free: 6.543 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006913/0.4539, allocations: 426 kB / 0.6371 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4539, allocations: 0 / 0.6371 GB, free: 6.129 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.4541, allocations: 106.4 kB / 0.6372 GB, free: 6.027 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.4559, allocations: 379.1 kB / 0.6375 GB, free: 5.684 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/0.4618, allocations: 4.519 MB / 0.642 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.4624, allocations: 0.8941 MB / 0.6428 GB, free: 4 kB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000681/0.4631, allocations: 162.7 kB / 0.643 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002944/0.4634, allocations: 219.3 kB / 0.6432 GB, free: 15.64 MB / 494.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4634, allocations: 0 / 0.6432 GB, free: 15.64 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04561/0.509, allocations: 17.83 MB / 0.6606 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/8.221, allocations: 8.75 kB / 0.6606 GB, free: 14.13 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)