Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47",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.001692/0.001692, 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.002125/0.002125, allocations: 195.5 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7463/0.7463, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 69.33 kB / 0.5019 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3259, allocations: 80.2 MB / 0.5802 GB, free: 4.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04083/0.3668, allocations: 40.32 MB / 0.6196 GB, free: 6.227 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007327/0.3742, allocations: 4.061 MB / 0.6235 GB, free: 2.922 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001124/0.3753, allocations: 39.72 kB / 0.6236 GB, free: 2.906 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3764, allocations: 347.2 kB / 0.6239 GB, free: 2.609 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006242/0.3826, allocations: 2.501 MB / 0.6263 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.385, allocations: 0.9131 MB / 0.6272 GB, free: 172 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003047/0.388, allocations: 2.185 MB / 0.6294 GB, free: 14.9 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001023/0.3891, allocations: 0.6487 MB / 0.63 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004569/0.3936, allocations: 2.374 MB / 0.6323 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001032/0.3947, allocations: 0.556 MB / 0.6329 GB, free: 11.5 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.3949, allocations: 56 kB / 0.6329 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005338/0.4002, allocations: 3.155 MB / 0.636 GB, free: 8.289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.4005, allocations: 179.4 kB / 0.6362 GB, free: 8.113 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005371/0.4011, allocations: 398.1 kB / 0.6365 GB, free: 7.723 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003339/0.4044, allocations: 1.82 MB / 0.6383 GB, free: 5.898 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.4044, allocations: 0 / 0.6383 GB, free: 5.898 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4044, allocations: 0 / 0.6383 GB, free: 5.898 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.4045, allocations: 0 / 0.6383 GB, free: 5.898 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001732/0.4062, allocations: 1.192 MB / 0.6395 GB, free: 4.656 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.4062, allocations: 8.031 kB / 0.6395 GB, free: 4.648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.335e-05/0.4063, allocations: 82.72 kB / 0.6396 GB, free: 4.559 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/0.4076, allocations: 159.9 kB / 0.6397 GB, free: 4.402 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.4089, allocations: 0.7515 MB / 0.6405 GB, free: 3.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.4089, allocations: 33 kB / 0.6405 GB, free: 3.578 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.409, allocations: 44 kB / 0.6405 GB, free: 3.535 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007843/0.4098, allocations: 0.5196 MB / 0.641 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.4098, allocations: 3.938 kB / 0.641 GB, free: 2.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.842e-05/0.4099, allocations: 20 kB / 0.6411 GB, free: 2.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.4099, allocations: 15.98 kB / 0.6411 GB, free: 2.945 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.4105, allocations: 347.6 kB / 0.6414 GB, free: 2.605 MB / 478.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.002545/0.413, allocations: 2.459 MB / 0.6438 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/0.4135, allocations: 266.5 kB / 0.6441 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001965/0.4137, allocations: 136.8 kB / 0.6442 GB, free: 15.56 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.4145, allocations: 1.374 MB / 0.6455 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4146, allocations: 38.5 kB / 0.6456 GB, free: 13.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/0.4146, allocations: 4 kB / 0.6456 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=43): time 0.004181/0.4188, allocations: 1.783 MB / 0.6473 GB, free: 11.95 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/0.4188, allocations: 55.41 kB / 0.6474 GB, free: 11.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005975/0.4194, allocations: 0.5107 MB / 0.6479 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.4195, allocations: 29.7 kB / 0.6479 GB, free: 11.33 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4197, allocations: 324.4 kB / 0.6482 GB, free: 11 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4198, allocations: 149.8 kB / 0.6484 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.4199, allocations: 102.1 kB / 0.6484 GB, free: 10.75 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4201, allocations: 362.8 kB / 0.6488 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.4203, allocations: 151 kB / 0.6489 GB, free: 10.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/0.4206, allocations: 270.7 kB / 0.6492 GB, free: 9.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.4212, allocations: 450 kB / 0.6496 GB, free: 9.453 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4213, allocations: 4 kB / 0.6496 GB, free: 9.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009892/0.4222, allocations: 0.6108 MB / 0.6502 GB, free: 8.824 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4223, allocations: 4 kB / 0.6502 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.4223, allocations: 4 kB / 0.6502 GB, free: 8.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/0.423, allocations: 201.7 kB / 0.6504 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4233, allocations: 67.91 kB / 0.6505 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009884/0.4243, allocations: 1.347 MB / 0.6518 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4247, allocations: 20.11 kB / 0.6518 GB, free: 7.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4247, allocations: 28.08 kB / 0.6519 GB, free: 7.102 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004054/0.4251, allocations: 313.2 kB / 0.6522 GB, free: 6.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003053/0.4255, allocations: 262.4 kB / 0.6524 GB, free: 6.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005633/0.426, allocations: 438.8 kB / 0.6528 GB, free: 6.023 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.324e-06/0.426, allocations: 0 / 0.6528 GB, free: 6.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001002/0.4271, allocations: 0.5993 MB / 0.6534 GB, free: 5.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.4271, allocations: 11.98 kB / 0.6534 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4271, allocations: 0 / 0.6534 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007049/0.4278, allocations: 201.9 kB / 0.6536 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.428, allocations: 67.91 kB / 0.6537 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000988/0.429, allocations: 1.358 MB / 0.655 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/0.4294, allocations: 15.98 kB / 0.655 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.678e-05/0.4295, allocations: 20 kB / 0.655 GB, free: 3.684 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000165/0.4296, allocations: 208.1 kB / 0.6552 GB, free: 3.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/0.4298, allocations: 63.25 kB / 0.6553 GB, free: 3.41 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.4311, allocations: 0.626 MB / 0.6559 GB, free: 2.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.4311, allocations: 4 kB / 0.6559 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.4312, allocations: 3.938 kB / 0.6559 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008741/0.432, allocations: 0.6628 MB / 0.6566 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.4342, allocations: 1.437 MB / 0.658 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4342, allocations: 4.031 kB / 0.658 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.4344, allocations: 59.78 kB / 0.658 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009715/0.4354, allocations: 229.4 kB / 0.6582 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.4354, allocations: 8 kB / 0.6583 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001041/0.4365, allocations: 1.327 MB / 0.6595 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4365, allocations: 128 / 0.6595 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.4379, allocations: 0.881 MB / 0.6604 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4382, allocations: 188.3 kB / 0.6606 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.174e-05/0.4383, allocations: 16 kB / 0.6606 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000405/0.4387, allocations: 12 kB / 0.6606 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.4388, allocations: 31.95 kB / 0.6606 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.985e-05/0.4388, allocations: 15.98 kB / 0.6607 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004357/0.4393, allocations: 358.8 kB / 0.661 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4393, allocations: 0 / 0.661 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001401/0.4407, allocations: 455.8 kB / 0.6614 GB, free: 12.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002585/0.4433, allocations: 1.769 MB / 0.6632 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.4447, allocations: 0.7108 MB / 0.6639 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4447, allocations: 0 / 0.6639 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004882/0.4452, allocations: 243.7 kB / 0.6641 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001488/0.4467, allocations: 331.6 kB / 0.6644 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.4534, allocations: 5.005 MB / 0.6693 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.4538, allocations: 0.9144 MB / 0.6702 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006093/0.4545, allocations: 197.4 kB / 0.6704 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003108/0.4548, allocations: 243.3 kB / 0.6706 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4548, allocations: 0 / 0.6706 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/0.4996, allocations: 22.34 MB / 0.6924 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.92, allocations: 12.44 kB / 0.6924 GB, free: 13.36 MB / 0.5294 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_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_CoupledVolumesGlycol47.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)