Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater,fileNamePrefix="IDEAS_dev_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.001358/0.001358, 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.001136/0.001136, allocations: 194.3 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.33/1.33, 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-master/package.mo): time 0.909/0.909, allocations: 135.1 MB / 425.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 73.44 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.146, allocations: 80.92 MB / 0.5845 GB, free: 4.484 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.2829/0.4289, allocations: 26.24 MB / 0.6101 GB, free: 35.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007623/0.4366, allocations: 7.12 MB / 0.617 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008593/0.4375, allocations: 34.34 kB / 0.6171 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000804/0.4383, allocations: 387.7 kB / 0.6174 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.4404, allocations: 1.112 MB / 0.6185 GB, free: 35.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00193/0.4423, allocations: 0.9388 MB / 0.6194 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.444, allocations: 2.088 MB / 0.6215 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005825/0.4446, allocations: 0.6118 MB / 0.6221 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.4458, allocations: 0.7296 MB / 0.6228 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005083/0.4464, allocations: 0.5496 MB / 0.6233 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.036e-05/0.4465, allocations: 55.31 kB / 0.6234 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.4477, allocations: 0.8056 MB / 0.6242 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.4478, allocations: 168.3 kB / 0.6243 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.4481, allocations: 386 kB / 0.6247 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.4493, allocations: 1.203 MB / 0.6259 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4493, allocations: 0 / 0.6259 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4493, allocations: 0 / 0.6259 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.847e-06/0.4493, allocations: 0 / 0.6259 GB, free: 32.59 MB / 0.4981 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.001098/0.4505, allocations: 1.059 MB / 0.6269 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.4505, allocations: 8.781 kB / 0.6269 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.042e-05/0.4506, allocations: 84.12 kB / 0.627 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002577/0.4508, allocations: 89.75 kB / 0.6271 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008372/0.4517, allocations: 0.697 MB / 0.6278 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.4517, allocations: 34.75 kB / 0.6278 GB, free: 31.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.4518, allocations: 51.66 kB / 0.6278 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.4524, allocations: 0.5022 MB / 0.6283 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4524, allocations: 0 / 0.6283 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.4525, allocations: 18 kB / 0.6284 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.152e-05/0.4525, allocations: 11.88 kB / 0.6284 GB, free: 30.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004441/0.4529, allocations: 323.6 kB / 0.6287 GB, free: 30.87 MB / 0.4981 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.001967/0.4549, allocations: 2.759 MB / 0.6314 GB, free: 28.62 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.4552, allocations: 192.5 kB / 0.6316 GB, free: 28.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.4553, allocations: 98.94 kB / 0.6316 GB, free: 28.5 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.4556, allocations: 352.4 kB / 0.632 GB, free: 28.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.271e-05/0.4556, allocations: 39.38 kB / 0.632 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.4556, allocations: 0 / 0.632 GB, free: 28.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=22): time 0.0004821/0.4561, allocations: 304.8 kB / 0.6323 GB, free: 27.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.08e-05/0.4561, allocations: 54.22 kB / 0.6324 GB, free: 27.87 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004616/0.4566, allocations: 0.53 MB / 0.6329 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.4566, allocations: 28.55 kB / 0.6329 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.4568, allocations: 345.6 kB / 0.6332 GB, free: 27.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.4569, allocations: 84.53 kB / 0.6333 GB, free: 27.26 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.457, allocations: 88.86 kB / 0.6334 GB, free: 27.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.496e-05/0.457, allocations: 356.8 kB / 0.6337 GB, free: 26.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.4572, allocations: 97.88 kB / 0.6338 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001824/0.4574, allocations: 234.5 kB / 0.6341 GB, free: 26.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.4577, allocations: 337.1 kB / 0.6344 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.4577, allocations: 7.094 kB / 0.6344 GB, free: 26.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004797/0.4582, allocations: 389.1 kB / 0.6348 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.4582, allocations: 6.188 kB / 0.6348 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4582, allocations: 4.406 kB / 0.6348 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.4582, allocations: 8.812 kB / 0.6348 GB, free: 26.19 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.4585, allocations: 76.48 kB / 0.6348 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4585, allocations: 10.5 kB / 0.6349 GB, free: 26.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.4588, allocations: 44 kB / 0.6349 GB, free: 26.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.4589, allocations: 20.44 kB / 0.6349 GB, free: 26.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002332/0.4591, allocations: 244.5 kB / 0.6352 GB, free: 26 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001675/0.4593, allocations: 240.9 kB / 0.6354 GB, free: 25.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002807/0.4596, allocations: 337.6 kB / 0.6357 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.873e-06/0.4596, allocations: 0 / 0.6357 GB, free: 25.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0004467/0.46, allocations: 387.9 kB / 0.6361 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.46, allocations: 7.938 kB / 0.6361 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4601, allocations: 5.375 kB / 0.6361 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.551e-06/0.4601, allocations: 9.5 kB / 0.6361 GB, free: 25.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.4603, allocations: 78.94 kB / 0.6362 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.4603, allocations: 7.734 kB / 0.6362 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.4606, allocations: 39.84 kB / 0.6362 GB, free: 25.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.479e-05/0.4606, allocations: 21.75 kB / 0.6362 GB, free: 25.3 MB / 0.4981 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 9.047e-05/0.4607, allocations: 202 kB / 0.6364 GB, free: 25.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.4608, allocations: 55.59 kB / 0.6365 GB, free: 25.08 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004236/0.4613, allocations: 284 kB / 0.6368 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.4613, allocations: 3.062 kB / 0.6368 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4613, allocations: 0 / 0.6368 GB, free: 24.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002698/0.4616, allocations: 391.2 kB / 0.6371 GB, free: 24.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4627, allocations: 1.058 MB / 0.6382 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4627, allocations: 3.094 kB / 0.6382 GB, free: 23.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.4629, allocations: 52.02 kB / 0.6382 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.463, allocations: 2.875 kB / 0.6382 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.463, allocations: 9.719 kB / 0.6382 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.463, allocations: 2.938 kB / 0.6382 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.463, allocations: 3.031 kB / 0.6382 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004976/0.4635, allocations: 0.5207 MB / 0.6387 GB, free: 23.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.4637, allocations: 174.5 kB / 0.6389 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.577e-05/0.4637, allocations: 9.594 kB / 0.6389 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.4641, allocations: 16.31 kB / 0.6389 GB, free: 23.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.4641, allocations: 26.66 kB / 0.639 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.4642, allocations: 14.12 kB / 0.639 GB, free: 23.39 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003644/0.4645, allocations: 412 kB / 0.6394 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.02e-07/0.4645, allocations: 0 / 0.6394 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009571/0.4655, allocations: 360.6 kB / 0.6397 GB, free: 23.11 MB / 0.4981 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.001031/0.4665, allocations: 1.262 MB / 0.6409 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005337/0.4671, allocations: 419.1 kB / 0.6413 GB, free: 22.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4671, allocations: 4.312 kB / 0.6413 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.4672, allocations: 104.1 kB / 0.6414 GB, free: 22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.4688, allocations: 385 kB / 0.6418 GB, free: 21.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/0.473, allocations: 4.498 MB / 0.6462 GB, free: 19 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.4733, allocations: 0.9008 MB / 0.6471 GB, free: 18.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000551/0.4738, allocations: 166.6 kB / 0.6472 GB, free: 18.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.4741, allocations: 214.6 kB / 0.6474 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.4741, allocations: 0 / 0.6474 GB, free: 18.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04597/0.5201, allocations: 17.85 MB / 0.6649 GB, free: 16.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.172, allocations: 4.719 kB / 0.6649 GB, free: 16.26 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesWater.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)