Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_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.0007953/0.0007952, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00549/0.005491, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9001/0.9001, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003446/0.0003446, allocations: 8 kB / 0.5077 GB, free: 4.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 82.31 MB / 0.5881 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4567/0.6007, allocations: 237.2 MB / 0.8197 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02007/0.6208, allocations: 15.89 MB / 0.8352 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002104/0.6229, allocations: 67.5 kB / 0.8353 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002632/0.6256, allocations: 1.018 MB / 0.8363 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008468/0.634, allocations: 3.6 MB / 0.8398 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.6378, allocations: 1.616 MB / 0.8414 GB, free: 8.668 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007065/0.6449, allocations: 7.411 MB / 0.8486 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.6469, allocations: 1.392 MB / 0.85 GB, free: 15.82 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.6513, allocations: 2.303 MB / 0.8522 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003149/0.6544, allocations: 1.719 MB / 0.8539 GB, free: 11.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.6548, allocations: 88 kB / 0.854 GB, free: 11.71 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004673/0.6594, allocations: 3.137 MB / 0.857 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007814/0.6602, allocations: 0.6697 MB / 0.8577 GB, free: 7.891 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001358/0.6616, allocations: 1.063 MB / 0.8587 GB, free: 6.816 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.6657, allocations: 3.598 MB / 0.8623 GB, free: 3.207 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6657, allocations: 4 kB / 0.8623 GB, free: 3.203 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6657, allocations: 0 / 0.8623 GB, free: 3.203 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.943e-05/0.6657, allocations: 0 / 0.8623 GB, free: 3.203 MB / 0.67 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.003688/0.6694, allocations: 2.11 MB / 0.8643 GB, free: 1.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.6695, allocations: 12.03 kB / 0.8643 GB, free: 1.027 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.6698, allocations: 215.1 kB / 0.8645 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.6727, allocations: 0.5087 MB / 0.865 GB, free: 304 kB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2166/0.8893, allocations: 1.273 MB / 0.8663 GB, free: 219.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8894, allocations: 175.2 kB / 0.8664 GB, free: 219.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.8896, allocations: 157 kB / 0.8666 GB, free: 219.6 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.892, allocations: 1.742 MB / 0.8683 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.8921, allocations: 2.938 kB / 0.8683 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.8922, allocations: 64.97 kB / 0.8684 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.347e-05/0.8923, allocations: 62.25 kB / 0.8684 GB, free: 219.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.8945, allocations: 1.393 MB / 0.8698 GB, free: 219.3 MB / 0.67 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.006356/0.9008, allocations: 8.184 MB / 0.8778 GB, free: 214.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001226/0.9021, allocations: 0.9173 MB / 0.8787 GB, free: 213.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007422/0.9028, allocations: 0.544 MB / 0.8792 GB, free: 213.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005085/0.9033, allocations: 334.8 kB / 0.8795 GB, free: 213.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.9034, allocations: 42.59 kB / 0.8796 GB, free: 213.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.484e-06/0.9034, allocations: 3.719 kB / 0.8796 GB, free: 213.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.005601/0.909, allocations: 3.175 MB / 0.8827 GB, free: 211.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.909, allocations: 63.59 kB / 0.8827 GB, free: 211.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/0.9101, allocations: 1.255 MB / 0.8839 GB, free: 211.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.9102, allocations: 50.55 kB / 0.884 GB, free: 211.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003698/0.9106, allocations: 0.8153 MB / 0.8848 GB, free: 210.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/0.9108, allocations: 362.3 kB / 0.8851 GB, free: 210.2 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.9109, allocations: 104.6 kB / 0.8852 GB, free: 210.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.911, allocations: 351.5 kB / 0.8856 GB, free: 209.8 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007066/0.9117, allocations: 450.1 kB / 0.886 GB, free: 209.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008304/0.9125, allocations: 0.84 MB / 0.8868 GB, free: 209.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.9141, allocations: 1.26 MB / 0.8881 GB, free: 208.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.9141, allocations: 7.156 kB / 0.8881 GB, free: 208.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001949/0.916, allocations: 1.427 MB / 0.8895 GB, free: 207.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/0.9161, allocations: 362.9 kB / 0.8898 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9162, allocations: 14.72 kB / 0.8898 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.9162, allocations: 16.28 kB / 0.8898 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9172, allocations: 279.2 kB / 0.8901 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.9172, allocations: 20.38 kB / 0.8901 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.9186, allocations: 158.8 kB / 0.8903 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.016e-05/0.9187, allocations: 56.62 kB / 0.8903 GB, free: 207.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.9187, allocations: 6.125 kB / 0.8903 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001718/0.9205, allocations: 1.239 MB / 0.8915 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.9205, allocations: 8.688 kB / 0.8915 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.9205, allocations: 19.56 kB / 0.8916 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009786/0.9215, allocations: 280.8 kB / 0.8918 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.9215, allocations: 24.55 kB / 0.8919 GB, free: 206.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001323/0.9228, allocations: 164.5 kB / 0.892 GB, free: 206.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.9229, allocations: 50.77 kB / 0.8921 GB, free: 206.7 MB / 0.67 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.0005451/0.9235, allocations: 0.5042 MB / 0.8926 GB, free: 206.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001791/0.9237, allocations: 167.1 kB / 0.8927 GB, free: 206.3 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.9255, allocations: 1.175 MB / 0.8939 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9255, allocations: 10.5 kB / 0.8939 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.9255, allocations: 3.562 kB / 0.8939 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001443/0.927, allocations: 1.095 MB / 0.8949 GB, free: 205.3 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003706/0.9307, allocations: 2.797 MB / 0.8977 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.9307, allocations: 3 kB / 0.8977 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.9319, allocations: 256.5 kB / 0.8979 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.9319, allocations: 5.125 kB / 0.8979 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.95e-05/0.932, allocations: 23.28 kB / 0.8979 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.932, allocations: 12.38 kB / 0.898 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.932, allocations: 7.875 kB / 0.898 GB, free: 204 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.9347, allocations: 1.844 MB / 0.8998 GB, free: 203.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.9352, allocations: 333.5 kB / 0.9001 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/0.9354, allocations: 27.47 kB / 0.9001 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9366, allocations: 137.4 kB / 0.9002 GB, free: 202.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.9367, allocations: 68.48 kB / 0.9003 GB, free: 202.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.475e-05/0.9368, allocations: 39.55 kB / 0.9003 GB, free: 202.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001044/0.9379, allocations: 0.8412 MB / 0.9012 GB, free: 202.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9379, allocations: 0.875 kB / 0.9012 GB, free: 202.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002066/0.94, allocations: 0.7666 MB / 0.9019 GB, free: 202.5 MB / 0.67 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.003259/0.9432, allocations: 2.565 MB / 0.9044 GB, free: 201 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002807/0.946, allocations: 1.75 MB / 0.9061 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.9461, allocations: 1.438 kB / 0.9061 GB, free: 200.5 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008183/0.9469, allocations: 0.5318 MB / 0.9067 GB, free: 200.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004614/0.9515, allocations: 0.9633 MB / 0.9076 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.9682, allocations: 13.93 MB / 0.9212 GB, free: 191.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009682/0.9692, allocations: 1.449 MB / 0.9226 GB, free: 191 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002073/0.9713, allocations: 0.56 MB / 0.9232 GB, free: 190.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007463/0.9721, allocations: 0.6858 MB / 0.9238 GB, free: 190.4 MB / 0.67 GB Notification: Performance of SimCode: time 4.91e-07/0.9721, allocations: 0 / 0.9238 GB, free: 190.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4375/1.41, allocations: 43.38 MB / 0.9662 GB, free: 160.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001309/1.41, allocations: 231 kB / 0.9664 GB, free: 160.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.942/4.352, allocations: 0 / 0.9664 GB, free: 160.4 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)