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.0008216/0.0008217, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004735/0.004735, allocations: 169 kB / 16.26 MB, free: 6.652 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.246/1.246, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7355/0.7355, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003266, allocations: 12 kB / 0.5041 GB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3512, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.2206/0.5719, allocations: 237.2 MB / 0.8154 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3231/0.895, allocations: 15.89 MB / 0.8309 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/0.8972, allocations: 70.16 kB / 0.831 GB, free: 2.289 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.8997, allocations: 1.02 MB / 0.832 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008398/0.9081, allocations: 3.594 MB / 0.8355 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004187/0.9123, allocations: 1.608 MB / 0.8371 GB, free: 2.055 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007989/0.9203, allocations: 7.416 MB / 0.8443 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.9225, allocations: 1.383 MB / 0.8456 GB, free: 1.891 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004825/0.9273, allocations: 2.308 MB / 0.8479 GB, free: 1.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003709/0.931, allocations: 1.725 MB / 0.8496 GB, free: 1.848 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004738/0.9315, allocations: 85.59 kB / 0.8497 GB, free: 1.844 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006045/0.9376, allocations: 3.132 MB / 0.8527 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001041/0.9386, allocations: 0.682 MB / 0.8534 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.9402, allocations: 1.052 MB / 0.8544 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004562/0.9447, allocations: 3.597 MB / 0.8579 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.9447, allocations: 3.625 kB / 0.8579 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9448, allocations: 0 / 0.8579 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.949e-05/0.9448, allocations: 3.938 kB / 0.8579 GB, free: 1.566 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.003313/0.9481, allocations: 2.118 MB / 0.86 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.9482, allocations: 8 kB / 0.86 GB, free: 16.43 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002272/0.9484, allocations: 220.1 kB / 0.8602 GB, free: 16.39 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002741/0.9511, allocations: 0.5029 MB / 0.8607 GB, free: 16.27 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/0.9529, allocations: 1.266 MB / 0.8619 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.953, allocations: 180.9 kB / 0.8621 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.9532, allocations: 154.3 kB / 0.8623 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.9556, allocations: 1.742 MB / 0.864 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.9557, allocations: 5.812 kB / 0.864 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.9558, allocations: 58.5 kB / 0.864 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.416e-05/0.9559, allocations: 63.28 kB / 0.8641 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.958, allocations: 1.39 MB / 0.8654 GB, free: 15.5 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.007568/0.9656, allocations: 8.211 MB / 0.8735 GB, free: 10.63 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.967, allocations: 0.9119 MB / 0.8744 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008452/0.9679, allocations: 0.541 MB / 0.8749 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.9685, allocations: 335.7 kB / 0.8752 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.323e-05/0.9685, allocations: 48.06 kB / 0.8753 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 2.575e-06/0.9686, allocations: 0 / 0.8753 GB, free: 10.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.00629/0.9748, allocations: 3.159 MB / 0.8783 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/0.9749, allocations: 64.84 kB / 0.8784 GB, free: 9.562 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.9762, allocations: 1.259 MB / 0.8796 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.043e-05/0.9762, allocations: 55.86 kB / 0.8797 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004778/0.9767, allocations: 0.8196 MB / 0.8805 GB, free: 8.938 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.977, allocations: 363.9 kB / 0.8808 GB, free: 8.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.9771, allocations: 103.8 kB / 0.8809 GB, free: 8.648 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001179/0.9772, allocations: 358.2 kB / 0.8813 GB, free: 8.328 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007514/0.978, allocations: 443.8 kB / 0.8817 GB, free: 8.262 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009944/0.979, allocations: 0.8367 MB / 0.8825 GB, free: 7.715 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.9807, allocations: 1.263 MB / 0.8837 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.9807, allocations: 3.312 kB / 0.8837 GB, free: 7.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002131/0.9829, allocations: 1.426 MB / 0.8851 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.9832, allocations: 366.1 kB / 0.8855 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.9832, allocations: 9.156 kB / 0.8855 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.758e-05/0.9832, allocations: 16.94 kB / 0.8855 GB, free: 6.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.9843, allocations: 285.9 kB / 0.8858 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.9844, allocations: 18.09 kB / 0.8858 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9858, allocations: 163.7 kB / 0.886 GB, free: 6.477 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.961e-05/0.9859, allocations: 58.8 kB / 0.886 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.721e-06/0.9859, allocations: 7.562 kB / 0.886 GB, free: 6.465 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001834/0.9878, allocations: 1.231 MB / 0.8872 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.9878, allocations: 10.28 kB / 0.8872 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.9878, allocations: 20.19 kB / 0.8873 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/0.9888, allocations: 281.8 kB / 0.8875 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.9889, allocations: 28.47 kB / 0.8875 GB, free: 6.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.9902, allocations: 167 kB / 0.8877 GB, free: 6.195 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-05/0.9903, allocations: 49.94 kB / 0.8878 GB, free: 6.195 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006808/0.991, allocations: 0.5033 MB / 0.8882 GB, free: 5.965 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/0.9912, allocations: 163.4 kB / 0.8884 GB, free: 5.883 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/0.9932, allocations: 1.175 MB / 0.8896 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.9932, allocations: 13.45 kB / 0.8896 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9932, allocations: 0 / 0.8896 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00152/0.9948, allocations: 1.093 MB / 0.8906 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.9988, allocations: 2.793 MB / 0.8934 GB, free: 4.289 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.9988, allocations: 4.031 kB / 0.8934 GB, free: 4.285 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.9999, allocations: 252.6 kB / 0.8936 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/1, allocations: 6.688 kB / 0.8936 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/1, allocations: 27.08 kB / 0.8936 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/1, allocations: 11.45 kB / 0.8936 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1, allocations: 0.9688 kB / 0.8936 GB, free: 4.246 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/1.003, allocations: 1.842 MB / 0.8954 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004961/1.003, allocations: 340 kB / 0.8958 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001673/1.003, allocations: 19.62 kB / 0.8958 GB, free: 3.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.004, allocations: 152.2 kB / 0.8959 GB, free: 3.461 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.005, allocations: 68.53 kB / 0.896 GB, free: 3.434 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.636e-05/1.005, allocations: 35.98 kB / 0.896 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009107/1.006, allocations: 0.8458 MB / 0.8969 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.006, allocations: 0 / 0.8969 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001707/1.007, allocations: 0.7618 MB / 0.8976 GB, free: 3.176 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 (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.003174/1.011, allocations: 2.566 MB / 0.9001 GB, free: 2.09 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002649/1.013, allocations: 1.75 MB / 0.9018 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.013, allocations: 3.375 kB / 0.9018 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007642/1.014, allocations: 0.5298 MB / 0.9023 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004842/1.019, allocations: 0.9647 MB / 0.9033 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0179/1.037, allocations: 13.94 MB / 0.9169 GB, free: 5.527 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009292/1.038, allocations: 1.447 MB / 0.9183 GB, free: 4.094 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002017/1.04, allocations: 0.5524 MB / 0.9188 GB, free: 3.535 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000735/1.04, allocations: 0.6771 MB / 0.9195 GB, free: 3.367 MB / 0.67 GB Notification: Performance of SimCode: time 6.11e-07/1.04, allocations: 0 / 0.9195 GB, free: 3.367 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5965/1.637, allocations: 43.37 MB / 0.9619 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002713/1.637, allocations: 237.8 kB / 0.9621 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/4.719, allocations: 3.938 kB / 0.9621 GB, free: 8.461 MB / 0.7169 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/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)