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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00267/0.00267, allocations: 194.3 kB / 16.13 MB, free: 6.656 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.35/1.35, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7887/0.7887, allocations: 132.2 MB / 422.2 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 64.47 kB / 0.5011 GB, free: 9.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1849, allocations: 80.21 MB / 0.5794 GB, free: 9.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5289/0.7139, allocations: 240.5 MB / 0.8143 GB, free: 2.699 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02405/0.738, allocations: 16.07 MB / 0.83 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003977/0.742, allocations: 75.5 kB / 0.83 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003893/0.7459, allocations: 1.01 MB / 0.831 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01078/0.7568, allocations: 3.604 MB / 0.8345 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.7621, allocations: 1.622 MB / 0.8361 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009323/0.7714, allocations: 7.404 MB / 0.8433 GB, free: 4.852 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002467/0.7739, allocations: 1.413 MB / 0.8447 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006137/0.7801, allocations: 2.35 MB / 0.847 GB, free: 1.047 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004177/0.7843, allocations: 1.774 MB / 0.8488 GB, free: 15.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004473/0.7847, allocations: 100 kB / 0.8489 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006482/0.7912, allocations: 3.148 MB / 0.8519 GB, free: 12.02 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0009582/0.7922, allocations: 0.6971 MB / 0.8526 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001656/0.7939, allocations: 1.069 MB / 0.8536 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005541/0.7994, allocations: 3.637 MB / 0.8572 GB, free: 6.602 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7995, allocations: 8 kB / 0.8572 GB, free: 6.594 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.062e-06/0.7995, allocations: 0 / 0.8572 GB, free: 6.594 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.711e-05/0.7995, allocations: 0 / 0.8572 GB, free: 6.594 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.00435/0.8039, allocations: 2.499 MB / 0.8596 GB, free: 4.039 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.8039, allocations: 12.03 kB / 0.8597 GB, free: 4.027 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003085/0.807, allocations: 0.5019 MB / 0.8602 GB, free: 3.523 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002161/0.8092, allocations: 1.269 MB / 0.8614 GB, free: 2.199 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/0.8094, allocations: 174.2 kB / 0.8616 GB, free: 2.016 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002134/0.8096, allocations: 152 kB / 0.8617 GB, free: 1.867 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002865/0.8125, allocations: 1.744 MB / 0.8634 GB, free: 52 kB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.952e-05/0.8125, allocations: 3.938 kB / 0.8634 GB, free: 48 kB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3331/1.146, allocations: 61.42 kB / 0.8635 GB, free: 227.9 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001496/1.146, allocations: 61.03 kB / 0.8635 GB, free: 227.9 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002951/1.149, allocations: 1.371 MB / 0.8649 GB, free: 227.9 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.008601/1.157, allocations: 8.177 MB / 0.8728 GB, free: 222.1 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/1.159, allocations: 0.8945 MB / 0.8737 GB, free: 221.8 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007168/1.159, allocations: 0.5382 MB / 0.8742 GB, free: 221.6 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005447/1.16, allocations: 319.1 kB / 0.8746 GB, free: 221.3 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/1.16, allocations: 53.47 kB / 0.8746 GB, free: 221.2 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 3.637e-06/1.16, allocations: 0 / 0.8746 GB, free: 221.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.0072/1.167, allocations: 3.115 MB / 0.8776 GB, free: 219.8 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/1.167, allocations: 61.38 kB / 0.8777 GB, free: 219.7 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/1.169, allocations: 1.255 MB / 0.8789 GB, free: 219.3 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.583e-05/1.169, allocations: 47.52 kB / 0.879 GB, free: 219.2 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/1.169, allocations: 0.8195 MB / 0.8798 GB, free: 218.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000227/1.17, allocations: 360.9 kB / 0.8801 GB, free: 218.3 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.17, allocations: 232 kB / 0.8803 GB, free: 218.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.124e-05/1.17, allocations: 351.4 kB / 0.8807 GB, free: 217.9 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/1.171, allocations: 443.7 kB / 0.8811 GB, free: 217.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008875/1.172, allocations: 0.8306 MB / 0.8819 GB, free: 217.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001545/1.173, allocations: 1.257 MB / 0.8831 GB, free: 216.4 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/1.173, allocations: 2.906 kB / 0.8831 GB, free: 216.4 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002223/1.175, allocations: 1.398 MB / 0.8845 GB, free: 215.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/1.175, allocations: 13.3 kB / 0.8845 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.175, allocations: 9.562 kB / 0.8845 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/1.176, allocations: 14.81 kB / 0.8845 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/1.177, allocations: 279.5 kB / 0.8848 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.958e-05/1.177, allocations: 21.95 kB / 0.8848 GB, free: 215.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/1.178, allocations: 166.2 kB / 0.885 GB, free: 215.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.962e-05/1.178, allocations: 46.72 kB / 0.885 GB, free: 215.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001208/1.18, allocations: 0.769 MB / 0.8858 GB, free: 215.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008299/1.18, allocations: 0.8217 MB / 0.8866 GB, free: 214.8 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/1.182, allocations: 1.235 MB / 0.8878 GB, free: 214 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/1.182, allocations: 2.938 kB / 0.8878 GB, free: 214 MB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002169/1.184, allocations: 1.389 MB / 0.8891 GB, free: 213.5 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/1.184, allocations: 9.719 kB / 0.8892 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.184, allocations: 9.719 kB / 0.8892 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/1.184, allocations: 13.22 kB / 0.8892 GB, free: 213.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/1.185, allocations: 276.7 kB / 0.8894 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.206e-05/1.185, allocations: 22.38 kB / 0.8895 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/1.187, allocations: 160.5 kB / 0.8896 GB, free: 213.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.609e-05/1.187, allocations: 51.59 kB / 0.8897 GB, free: 213.4 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.0003433/1.187, allocations: 267 kB / 0.8899 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002293/1.188, allocations: 163.6 kB / 0.8901 GB, free: 213.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/1.189, allocations: 1.161 MB / 0.8912 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.867e-06/1.19, allocations: 12.06 kB / 0.8912 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.19, allocations: 7.25 kB / 0.8912 GB, free: 212.6 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001414/1.191, allocations: 1.073 MB / 0.8923 GB, free: 212 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004205/1.195, allocations: 2.777 MB / 0.895 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/1.195, allocations: 2.438 kB / 0.895 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.196, allocations: 251 kB / 0.8952 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/1.196, allocations: 9.312 kB / 0.8952 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/1.196, allocations: 29.89 kB / 0.8953 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/1.196, allocations: 12.38 kB / 0.8953 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.196, allocations: 2.75 kB / 0.8953 GB, free: 210.8 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003093/1.199, allocations: 1.803 MB / 0.897 GB, free: 209.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000862/1.2, allocations: 344.7 kB / 0.8974 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/1.201, allocations: 19.69 kB / 0.8974 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.202, allocations: 143.4 kB / 0.8975 GB, free: 209.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001523/1.202, allocations: 65.09 kB / 0.8976 GB, free: 209.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.746e-05/1.202, allocations: 37.64 kB / 0.8976 GB, free: 209.6 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001176/1.203, allocations: 0.8428 MB / 0.8985 GB, free: 209.3 MB / 0.67 GB Notification: Performance of sort global known variables: time 9.52e-07/1.203, allocations: 96 / 0.8985 GB, free: 209.3 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002296/1.206, allocations: 0.7745 MB / 0.8992 GB, free: 209.3 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.0006067/1.206, allocations: 263.2 kB / 0.8995 GB, free: 209.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003304/1.21, allocations: 1.726 MB / 0.9011 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/1.21, allocations: 1.031 kB / 0.9011 GB, free: 208.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008738/1.21, allocations: 0.5202 MB / 0.9017 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00454/1.215, allocations: 0.9624 MB / 0.9026 GB, free: 208.2 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005845/1.221, allocations: 4.16 MB / 0.9067 GB, free: 205.7 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009958/1.222, allocations: 1.444 MB / 0.9081 GB, free: 204.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002431/1.224, allocations: 0.5682 MB / 0.9086 GB, free: 204.8 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/1.225, allocations: 133.4 kB / 0.9087 GB, free: 204.8 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/1.225, allocations: 0 / 0.9087 GB, free: 204.8 MB / 0.67 GB Notification: Performance of Templates: time 0.05836/1.283, allocations: 30.45 MB / 0.9385 GB, free: 193.3 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)