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.008725/0.008725, allocations: 100.9 kB / 15.73 MB, free: 6 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.001827/0.001827, allocations: 189.1 kB / 16.67 MB, free: 5.934 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7376/0.7376, allocations: 132.2 MB / 422.7 MB, free: 1.711 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 63.91 kB / 0.5809 GB, free: 8.082 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.4, allocations: 80.2 MB / 0.6592 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02359/0.4236, allocations: 26.26 MB / 0.6848 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01046/0.4341, allocations: 7.124 MB / 0.6918 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.4356, allocations: 35.06 kB / 0.6918 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.4367, allocations: 394 kB / 0.6922 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003164/0.4399, allocations: 1.16 MB / 0.6933 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002462/0.4424, allocations: 0.949 MB / 0.6943 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002966/0.4453, allocations: 2.103 MB / 0.6963 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009297/0.4463, allocations: 0.6151 MB / 0.6969 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.4483, allocations: 0.7514 MB / 0.6976 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007237/0.449, allocations: 0.5344 MB / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 8.741e-05/0.4491, allocations: 54.91 kB / 0.6982 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.4509, allocations: 0.8163 MB / 0.699 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002072/0.4511, allocations: 171.3 kB / 0.6992 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004353/0.4516, allocations: 381.9 kB / 0.6995 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.4533, allocations: 1.223 MB / 0.7007 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4533, allocations: 0 / 0.7007 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4533, allocations: 0 / 0.7007 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.4533, allocations: 0 / 0.7007 GB, free: 9.488 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.001494/0.4548, allocations: 1.082 MB / 0.7018 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4549, allocations: 13.66 kB / 0.7018 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.965e-05/0.455, allocations: 85.58 kB / 0.7019 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.4553, allocations: 86.44 kB / 0.702 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.4565, allocations: 0.7431 MB / 0.7027 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.319e-05/0.4566, allocations: 32.62 kB / 0.7027 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.291e-05/0.4567, allocations: 49.38 kB / 0.7028 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.4574, allocations: 0.5045 MB / 0.7033 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4575, allocations: 5.219 kB / 0.7033 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-05/0.4575, allocations: 20.22 kB / 0.7033 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.556e-05/0.4576, allocations: 12.38 kB / 0.7033 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005077/0.4581, allocations: 317.7 kB / 0.7036 GB, free: 7.324 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.002776/0.4608, allocations: 2.752 MB / 0.7063 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003192/0.4612, allocations: 202.3 kB / 0.7065 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4613, allocations: 104.3 kB / 0.7066 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.4617, allocations: 345 kB / 0.7069 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.4617, allocations: 36 kB / 0.7069 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=22): time 1.703e-06/0.4617, allocations: 1.219 kB / 0.707 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of matching and sorting (n=22): time 0.0005899/0.4623, allocations: 309.9 kB / 0.7072 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.4624, allocations: 56.44 kB / 0.7073 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.463, allocations: 0.5299 MB / 0.7078 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.463, allocations: 31.77 kB / 0.7078 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.4632, allocations: 352 kB / 0.7082 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.4633, allocations: 90.12 kB / 0.7083 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4634, allocations: 76.69 kB / 0.7083 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.4636, allocations: 365.8 kB / 0.7087 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.4637, allocations: 102.5 kB / 0.7088 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.464, allocations: 234.2 kB / 0.709 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003885/0.4644, allocations: 341.4 kB / 0.7093 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4644, allocations: 4 kB / 0.7093 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005633/0.465, allocations: 392.8 kB / 0.7097 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.465, allocations: 4 kB / 0.7097 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.465, allocations: 4 kB / 0.7097 GB, free: 1.723 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.465, allocations: 8 kB / 0.7097 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002684/0.4653, allocations: 75.84 kB / 0.7098 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.4653, allocations: 12.5 kB / 0.7098 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.4657, allocations: 43.77 kB / 0.7099 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.4658, allocations: 20 kB / 0.7099 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000295/0.4661, allocations: 248 kB / 0.7101 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002352/0.4663, allocations: 235.7 kB / 0.7103 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003757/0.4667, allocations: 332.1 kB / 0.7107 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.4667, allocations: 4 kB / 0.7107 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005209/0.4672, allocations: 392.8 kB / 0.711 GB, free: 252 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.4672, allocations: 4 kB / 0.711 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4673, allocations: 8.5 kB / 0.711 GB, free: 240 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.4673, allocations: 8 kB / 0.7111 GB, free: 232 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.4675, allocations: 79.84 kB / 0.7111 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.4675, allocations: 8 kB / 0.7111 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.4679, allocations: 39.77 kB / 0.7112 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4679, allocations: 16 kB / 0.7112 GB, free: 88 kB / 0.5294 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.0001533/0.4681, allocations: 200.1 kB / 0.7114 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.4682, allocations: 63.56 kB / 0.7114 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004673/0.4686, allocations: 288.7 kB / 0.7117 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.4687, allocations: 4 kB / 0.7117 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4687, allocations: 0 / 0.7117 GB, free: 15.53 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003418/0.469, allocations: 380.9 kB / 0.7121 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.4705, allocations: 1.061 MB / 0.7131 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.4705, allocations: 4 kB / 0.7131 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.4707, allocations: 51.92 kB / 0.7132 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.4707, allocations: 4 kB / 0.7132 GB, free: 13.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.461e-05/0.4708, allocations: 11.98 kB / 0.7132 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.4708, allocations: 4 kB / 0.7132 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4708, allocations: 4.281 kB / 0.7132 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/0.4715, allocations: 0.5173 MB / 0.7137 GB, free: 13.31 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002593/0.4718, allocations: 180.5 kB / 0.7139 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.949e-05/0.4719, allocations: 8 kB / 0.7139 GB, free: 13.11 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003495/0.4722, allocations: 15.98 kB / 0.7139 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.4723, allocations: 32 kB / 0.7139 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.4723, allocations: 12 kB / 0.7139 GB, free: 13.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004944/0.4728, allocations: 415 kB / 0.7143 GB, free: 12.64 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.4728, allocations: 0 / 0.7143 GB, free: 12.64 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001218/0.474, allocations: 355.2 kB / 0.7147 GB, free: 12.29 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.001452/0.4755, allocations: 1.271 MB / 0.7159 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007153/0.4762, allocations: 404.5 kB / 0.7163 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4762, allocations: 0 / 0.7163 GB, free: 10.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001464/0.4764, allocations: 109.4 kB / 0.7164 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001761/0.4782, allocations: 382.2 kB / 0.7168 GB, free: 10.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005299/0.4835, allocations: 4.429 MB / 0.7211 GB, free: 5.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/0.4841, allocations: 0.8941 MB / 0.722 GB, free: 4.531 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005417/0.4847, allocations: 153 kB / 0.7221 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.4849, allocations: 215.3 kB / 0.7223 GB, free: 4.176 MB / 0.545 GB Notification: Performance of SimCode: time 7.72e-07/0.4849, allocations: 0 / 0.7223 GB, free: 4.176 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04184/0.5268, allocations: 17.95 MB / 0.7399 GB, free: 2.562 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.756/9.283, allocations: 3.984 kB / 0.7399 GB, free: 2.559 MB / 0.5606 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)