Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.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.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater",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.0007492/0.0007493, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008774/0.0008774, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7581/0.7581, allocations: 132.3 MB / 423.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003002/0.0003002, allocations: 8.625 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4158, allocations: 81.57 MB / 0.5832 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater): time 0.02119/0.437, allocations: 21.46 MB / 0.6041 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008739/0.4458, allocations: 6.397 MB / 0.6104 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008747/0.4467, allocations: 24.66 kB / 0.6104 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007464/0.4475, allocations: 231 kB / 0.6106 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.4494, allocations: 0.7222 MB / 0.6113 GB, free: 14.76 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.4512, allocations: 0.6157 MB / 0.6119 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003914/0.4551, allocations: 3.925 MB / 0.6157 GB, free: 12.05 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.4564, allocations: 0.9015 MB / 0.6166 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.4581, allocations: 0.9442 MB / 0.6175 GB, free: 11.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.4593, allocations: 0.8311 MB / 0.6184 GB, free: 10.61 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.4594, allocations: 45.19 kB / 0.6184 GB, free: 10.6 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.4609, allocations: 0.5874 MB / 0.619 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.4611, allocations: 208.5 kB / 0.6192 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002995/0.4614, allocations: 254.5 kB / 0.6194 GB, free: 10 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.4629, allocations: 1.418 MB / 0.6208 GB, free: 9.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4629, allocations: 0 / 0.6208 GB, free: 9.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4629, allocations: 3.938 kB / 0.6208 GB, free: 9.098 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.4629, allocations: 1.25 kB / 0.6208 GB, free: 9.098 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001993/0.4649, allocations: 1.319 MB / 0.6221 GB, free: 8.074 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.465, allocations: 9.469 kB / 0.6221 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001558/0.4651, allocations: 125.2 kB / 0.6222 GB, free: 7.973 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004058/0.4656, allocations: 135.2 kB / 0.6223 GB, free: 7.91 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001886/0.4675, allocations: 1.169 MB / 0.6235 GB, free: 7.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.4675, allocations: 58.09 kB / 0.6235 GB, free: 7.031 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.4676, allocations: 79.91 kB / 0.6236 GB, free: 6.953 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.4691, allocations: 1.033 MB / 0.6246 GB, free: 5.875 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.4691, allocations: 7.953 kB / 0.6246 GB, free: 5.867 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.4692, allocations: 35.94 kB / 0.6247 GB, free: 5.832 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.4693, allocations: 23.98 kB / 0.6247 GB, free: 5.809 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.4704, allocations: 0.761 MB / 0.6254 GB, free: 5.043 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.004552/0.4749, allocations: 4.612 MB / 0.6299 GB, free: 80 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.4755, allocations: 389.5 kB / 0.6303 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/0.4758, allocations: 261.3 kB / 0.6306 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.4762, allocations: 429.8 kB / 0.631 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4763, allocations: 38.88 kB / 0.631 GB, free: 14.88 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.4763, allocations: 0 / 0.631 GB, free: 14.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.001799/0.4781, allocations: 0.8627 MB / 0.6318 GB, free: 13.98 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4782, allocations: 55.41 kB / 0.6319 GB, free: 13.92 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.4792, allocations: 0.9076 MB / 0.6328 GB, free: 13 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.118e-05/0.4793, allocations: 37.7 kB / 0.6328 GB, free: 12.96 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.4797, allocations: 0.5028 MB / 0.6333 GB, free: 12.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.4798, allocations: 142 kB / 0.6335 GB, free: 12.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.4799, allocations: 8 kB / 0.6335 GB, free: 12.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.48, allocations: 338 kB / 0.6338 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.4803, allocations: 220.9 kB / 0.634 GB, free: 11.75 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4808, allocations: 430.7 kB / 0.6344 GB, free: 11.24 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004118/0.4812, allocations: 313.6 kB / 0.6347 GB, free: 10.94 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.4812, allocations: 4 kB / 0.6347 GB, free: 10.93 MB / 478.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001258/0.4825, allocations: 0.8037 MB / 0.6355 GB, free: 10.12 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.4826, allocations: 257.7 kB / 0.6357 GB, free: 9.789 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.4827, allocations: 7.938 kB / 0.6357 GB, free: 9.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000402/0.4831, allocations: 92.78 kB / 0.6358 GB, free: 9.688 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.4834, allocations: 111.8 kB / 0.6359 GB, free: 9.578 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004783/0.4839, allocations: 0.6303 MB / 0.6366 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007139/0.4847, allocations: 103.4 kB / 0.6367 GB, free: 8.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.088e-05/0.4847, allocations: 31.92 kB / 0.6367 GB, free: 8.789 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.4847, allocations: 5.719 kB / 0.6367 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009366/0.4857, allocations: 0.6754 MB / 0.6373 GB, free: 8.105 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4857, allocations: 8 kB / 0.6374 GB, free: 8.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.4858, allocations: 61.28 kB / 0.6374 GB, free: 8.035 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003192/0.4862, allocations: 115.8 kB / 0.6375 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.4878, allocations: 1.731 MB / 0.6392 GB, free: 6.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006265/0.4884, allocations: 87.59 kB / 0.6393 GB, free: 5.961 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.863e-05/0.4884, allocations: 35.94 kB / 0.6393 GB, free: 5.926 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006925/0.4891, allocations: 484.7 kB / 0.6398 GB, free: 5.441 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.4893, allocations: 86.97 kB / 0.6399 GB, free: 5.355 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4903, allocations: 0.6462 MB / 0.6405 GB, free: 4.703 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.4904, allocations: 4 kB / 0.6405 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.4904, allocations: 0 / 0.6405 GB, free: 4.699 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008783/0.4913, allocations: 0.825 MB / 0.6413 GB, free: 3.785 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 postOpt removeSimpleEquations (simulation): time 0.002297/0.4936, allocations: 1.672 MB / 0.643 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.4936, allocations: 0 / 0.643 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00031/0.4939, allocations: 83.89 kB / 0.643 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/0.494, allocations: 40.89 kB / 0.6431 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3e-05/0.4941, allocations: 12 kB / 0.6431 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003746/0.4944, allocations: 0.5717 MB / 0.6436 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.4945, allocations: 4.031 kB / 0.6436 GB, free: 1.289 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.4957, allocations: 0.9511 MB / 0.6446 GB, free: 316 kB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004224/0.4961, allocations: 267.8 kB / 0.6448 GB, free: 28 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.436e-05/0.4962, allocations: 8 kB / 0.6448 GB, free: 20 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005642/0.4968, allocations: 79.16 kB / 0.6449 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.4969, allocations: 23.97 kB / 0.6449 GB, free: 15.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.4969, allocations: 23.98 kB / 0.645 GB, free: 15.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008178/0.4978, allocations: 0.6356 MB / 0.6456 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4978, allocations: 0 / 0.6456 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001805/0.4996, allocations: 0.565 MB / 0.6461 GB, free: 14.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (vol[1].dynBal.U,vol[2].dynBal.U,vol[3].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 (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00201/0.5016, allocations: 1.639 MB / 0.6477 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001561/0.5032, allocations: 0.9964 MB / 0.6487 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.5032, allocations: 4 kB / 0.6487 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003365/0.5035, allocations: 235.7 kB / 0.6489 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.5059, allocations: 0.5599 MB / 0.6495 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009349/0.5152, allocations: 6.192 MB / 0.6555 GB, free: 4.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008981/0.5161, allocations: 1.228 MB / 0.6567 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001272/0.5174, allocations: 463.6 kB / 0.6572 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004352/0.5179, allocations: 363.3 kB / 0.6575 GB, free: 2.762 MB / 494.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5179, allocations: 0 / 0.6575 GB, free: 2.762 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04502/0.5629, allocations: 28.43 MB / 0.6853 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/0.5632, allocations: 294.1 kB / 0.6856 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/2.895, allocations: 0 / 0.6856 GB, free: 6.5 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortWater.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortWater.pipe 2>&1) Environment - environmentSimulation: