Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.000864/0.000864, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009907/0.0009908, allocations: 172.7 kB / 15.95 MB, free: 208 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.394/1.394, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7738/0.7738, allocations: 132.3 MB / 423.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002916/0.0002916, allocations: 8 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3818, allocations: 81.57 MB / 0.5831 GB, free: 3.992 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2403/0.6221, allocations: 221.3 MB / 0.7993 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.6431, allocations: 14.92 MB / 0.8139 GB, free: 3.723 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002413/0.6456, allocations: 67.5 kB / 0.8139 GB, free: 3.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002598/0.6482, allocations: 0.7919 MB / 0.8147 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00797/0.6562, allocations: 2.841 MB / 0.8175 GB, free: 8 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.3223/0.9785, allocations: 1.353 MB / 0.8188 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00821/0.9867, allocations: 6.225 MB / 0.8249 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.9891, allocations: 1.269 MB / 0.8261 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006364/0.9955, allocations: 2.164 MB / 0.8282 GB, free: 10.56 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.9993, allocations: 1.652 MB / 0.8298 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003766/0.9997, allocations: 87.72 kB / 0.8299 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004847/1.005, allocations: 1.506 MB / 0.8314 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009462/1.006, allocations: 0.672 MB / 0.832 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001072/1.007, allocations: 444 kB / 0.8325 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/1.01, allocations: 2.437 MB / 0.8349 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.01, allocations: 0.875 kB / 0.8349 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/1.01, allocations: 0 / 0.8349 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5e-05/1.01, allocations: 0 / 0.8349 GB, free: 10.4 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.004284/1.015, allocations: 2.134 MB / 0.8369 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/1.015, allocations: 12.59 kB / 0.8369 GB, free: 25.27 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002492/1.015, allocations: 221.2 kB / 0.8372 GB, free: 25.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/1.018, allocations: 0.5008 MB / 0.8376 GB, free: 25.11 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/1.02, allocations: 1.219 MB / 0.8388 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00013/1.02, allocations: 182.1 kB / 0.839 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/1.02, allocations: 146.8 kB / 0.8392 GB, free: 24.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002496/1.023, allocations: 1.732 MB / 0.8408 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/1.023, allocations: 11.8 kB / 0.8409 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/1.023, allocations: 60.12 kB / 0.8409 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.778e-05/1.023, allocations: 61.19 kB / 0.841 GB, free: 24.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00219/1.025, allocations: 1.38 MB / 0.8423 GB, free: 24.39 MB / 0.6544 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.008991/1.034, allocations: 8.186 MB / 0.8503 GB, free: 19.53 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/1.035, allocations: 0.9137 MB / 0.8512 GB, free: 19.49 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007469/1.036, allocations: 0.5369 MB / 0.8517 GB, free: 19.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005994/1.037, allocations: 337.3 kB / 0.8521 GB, free: 19.2 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.037, allocations: 46.47 kB / 0.8521 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 2.765e-06/1.037, allocations: 0 / 0.8521 GB, free: 19.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.006433/1.043, allocations: 3.154 MB / 0.8552 GB, free: 18.52 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/1.043, allocations: 64.47 kB / 0.8552 GB, free: 18.45 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/1.045, allocations: 1.252 MB / 0.8565 GB, free: 18.28 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/1.045, allocations: 50.95 kB / 0.8565 GB, free: 18.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004368/1.045, allocations: 0.8113 MB / 0.8573 GB, free: 17.93 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000239/1.045, allocations: 363.4 kB / 0.8576 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/1.045, allocations: 22.69 kB / 0.8577 GB, free: 17.7 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.046, allocations: 350.2 kB / 0.858 GB, free: 17.4 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007048/1.046, allocations: 436.9 kB / 0.8584 GB, free: 17.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/1.047, allocations: 0.8311 MB / 0.8592 GB, free: 16.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008408/1.048, allocations: 0.5569 MB / 0.8598 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.048, allocations: 11.78 kB / 0.8598 GB, free: 16.92 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002035/1.05, allocations: 1.403 MB / 0.8612 GB, free: 16.79 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/1.05, allocations: 361.7 kB / 0.8615 GB, free: 16.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.05, allocations: 17.62 kB / 0.8615 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/1.05, allocations: 17.22 kB / 0.8615 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.051, allocations: 277.6 kB / 0.8618 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/1.051, allocations: 22.81 kB / 0.8618 GB, free: 16.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.053, allocations: 164.4 kB / 0.862 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.232e-05/1.053, allocations: 53.69 kB / 0.862 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/1.053, allocations: 4.5 kB / 0.862 GB, free: 16.33 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001789/1.055, allocations: 1.231 MB / 0.8632 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/1.055, allocations: 10.84 kB / 0.8632 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.055, allocations: 16.19 kB / 0.8633 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009978/1.056, allocations: 281.4 kB / 0.8635 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.907e-05/1.056, allocations: 27.83 kB / 0.8636 GB, free: 16.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.057, allocations: 161.6 kB / 0.8637 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/1.057, allocations: 52.81 kB / 0.8638 GB, free: 16.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008698/1.058, allocations: 0.5115 MB / 0.8643 GB, free: 16.08 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/1.059, allocations: 160.6 kB / 0.8644 GB, free: 16 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001938/1.06, allocations: 1.158 MB / 0.8655 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/1.06, allocations: 15.17 kB / 0.8656 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.061, allocations: 3.406 kB / 0.8656 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/1.062, allocations: 1.086 MB / 0.8666 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004551/1.067, allocations: 2.793 MB / 0.8694 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.067, allocations: 3.438 kB / 0.8694 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/1.068, allocations: 258.2 kB / 0.8696 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/1.068, allocations: 6.188 kB / 0.8696 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.341e-05/1.068, allocations: 27.56 kB / 0.8696 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.756e-06/1.068, allocations: 4.609 kB / 0.8696 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.068, allocations: 5.344 kB / 0.8696 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/1.07, allocations: 1.841 MB / 0.8714 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/1.071, allocations: 337.3 kB / 0.8718 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/1.072, allocations: 19.22 kB / 0.8718 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00129/1.073, allocations: 140.2 kB / 0.8719 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/1.073, allocations: 70.38 kB / 0.872 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.691e-05/1.073, allocations: 43.91 kB / 0.872 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001202/1.074, allocations: 0.8314 MB / 0.8728 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 5.01e-07/1.074, allocations: 0 / 0.8728 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.003222/1.077, allocations: 0.7632 MB / 0.8736 GB, free: 14.57 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1]) * 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 (102): * Single equations (assignments): 102 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003862/1.081, allocations: 2.565 MB / 0.8761 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00313/1.084, allocations: 1.741 MB / 0.8778 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/1.085, allocations: 3.594 kB / 0.8778 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007849/1.085, allocations: 0.5251 MB / 0.8783 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004622/1.09, allocations: 0.9624 MB / 0.8792 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/1.107, allocations: 10.35 MB / 0.8893 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/1.108, allocations: 1.447 MB / 0.8908 GB, free: 8.25 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002145/1.11, allocations: 0.5642 MB / 0.8913 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008249/1.111, allocations: 0.6771 MB / 0.892 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of SimCode: time 9.81e-07/1.111, allocations: 3.031 kB / 0.892 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07336/1.184, allocations: 44.49 MB / 0.9354 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001585/1.184, allocations: 217.6 kB / 0.9356 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/4.005, allocations: 0 / 0.9356 GB, free: 14.81 MB / 0.7012 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: