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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001167/0.001167, allocations: 112.6 kB / 16.37 MB, free: 6.344 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.001238/0.001238, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7218/0.7218, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 64.66 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1256, allocations: 80.93 MB / 0.6652 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4986/0.6242, allocations: 242.4 MB / 0.902 GB, free: 12.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01941/0.6437, allocations: 15.89 MB / 0.9175 GB, free: 12.77 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.6459, allocations: 79.5 kB / 0.9176 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002794/0.6487, allocations: 1.173 MB / 0.9187 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008796/0.6575, allocations: 3.818 MB / 0.9224 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004232/0.6618, allocations: 1.813 MB / 0.9242 GB, free: 5.871 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.005966/0.6677, allocations: 5.236 MB / 0.9293 GB, free: 0.6211 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.6699, allocations: 1.668 MB / 0.9309 GB, free: 14.92 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/0.6748, allocations: 2.611 MB / 0.9335 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00295/0.6778, allocations: 1.705 MB / 0.9352 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003099/0.6781, allocations: 172 kB / 0.9353 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004754/0.6828, allocations: 2.712 MB / 0.938 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000776/0.6836, allocations: 0.7596 MB / 0.9387 GB, free: 6.953 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.685, allocations: 1.155 MB / 0.9398 GB, free: 5.793 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004814/0.6898, allocations: 3.56 MB / 0.9433 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.6898, allocations: 4 kB / 0.9433 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6898, allocations: 0 / 0.9433 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.102e-05/0.6899, allocations: 0 / 0.9433 GB, free: 2.219 MB / 0.7012 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.00379/0.6937, allocations: 2.499 MB / 0.9458 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.6937, allocations: 13.11 kB / 0.9458 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002765/0.6965, allocations: 0.4971 MB / 0.9463 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/0.6986, allocations: 1.359 MB / 0.9476 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.6987, allocations: 178.2 kB / 0.9478 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.6989, allocations: 159.9 kB / 0.9479 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/0.7015, allocations: 1.733 MB / 0.9496 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.7016, allocations: 7.875 kB / 0.9496 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/0.7017, allocations: 60 kB / 0.9497 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/0.7018, allocations: 62.62 kB / 0.9497 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.7041, allocations: 1.373 MB / 0.9511 GB, free: 10.08 MB / 0.7169 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.008143/0.7122, allocations: 8.191 MB / 0.9591 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001356/0.7136, allocations: 0.8968 MB / 0.9599 GB, free: 284 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008129/0.7144, allocations: 0.5419 MB / 0.9605 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.715, allocations: 316.2 kB / 0.9608 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.715, allocations: 55.56 kB / 0.9608 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.514e-06/0.715, allocations: 0 / 0.9608 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.006114/0.7212, allocations: 3.104 MB / 0.9639 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.7212, allocations: 68.34 kB / 0.9639 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.7226, allocations: 1.262 MB / 0.9652 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.299e-05/0.7227, allocations: 53.7 kB / 0.9652 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004932/0.7232, allocations: 0.8093 MB / 0.966 GB, free: 9.926 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.7235, allocations: 366.7 kB / 0.9663 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002956/0.7238, allocations: 230.7 kB / 0.9666 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7239, allocations: 357.9 kB / 0.9669 GB, free: 8.977 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007495/0.7246, allocations: 441.8 kB / 0.9673 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.7256, allocations: 0.833 MB / 0.9681 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001726/0.7274, allocations: 1.248 MB / 0.9694 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.7274, allocations: 0 / 0.9694 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002223/0.7296, allocations: 1.398 MB / 0.9707 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.7296, allocations: 12 kB / 0.9707 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.7297, allocations: 8 kB / 0.9707 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.7297, allocations: 16 kB / 0.9708 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.7308, allocations: 275.6 kB / 0.971 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.249e-05/0.7308, allocations: 23.92 kB / 0.971 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.732, allocations: 72.14 kB / 0.9711 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.7321, allocations: 51.98 kB / 0.9712 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/0.7333, allocations: 0.7679 MB / 0.9719 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009664/0.7343, allocations: 0.8312 MB / 0.9727 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001661/0.7359, allocations: 1.229 MB / 0.9739 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.7359, allocations: 4 kB / 0.9739 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002155/0.7381, allocations: 1.382 MB / 0.9753 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7381, allocations: 8 kB / 0.9753 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.649e-06/0.7381, allocations: 12.16 kB / 0.9753 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.7382, allocations: 16 kB / 0.9753 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7392, allocations: 271.6 kB / 0.9756 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.001e-05/0.7392, allocations: 26.66 kB / 0.9756 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.7404, allocations: 74.09 kB / 0.9757 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-05/0.7405, allocations: 51.98 kB / 0.9757 GB, free: 15.34 MB / 0.7481 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.0002708/0.7408, allocations: 271.8 kB / 0.976 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.741, allocations: 162 kB / 0.9761 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.743, allocations: 1.15 MB / 0.9773 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.743, allocations: 8 kB / 0.9773 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7431, allocations: 0 / 0.9773 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001511/0.7446, allocations: 1.083 MB / 0.9783 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004001/0.7486, allocations: 2.781 MB / 0.981 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7486, allocations: 0 / 0.981 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.7497, allocations: 251.9 kB / 0.9813 GB, free: 9.5 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.7498, allocations: 8 kB / 0.9813 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.747e-05/0.7498, allocations: 27.98 kB / 0.9813 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.7498, allocations: 8 kB / 0.9813 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7498, allocations: 0 / 0.9813 GB, free: 9.457 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002631/0.7525, allocations: 1.818 MB / 0.9831 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005063/0.753, allocations: 331.1 kB / 0.9834 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001656/0.7532, allocations: 27.98 kB / 0.9834 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009574/0.7541, allocations: 55.94 kB / 0.9835 GB, free: 7.176 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.7543, allocations: 72.94 kB / 0.9836 GB, free: 7.102 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/0.7544, allocations: 35.98 kB / 0.9836 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009577/0.7553, allocations: 0.8426 MB / 0.9844 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7553, allocations: 0 / 0.9844 GB, free: 6.227 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001691/0.757, allocations: 0.7694 MB / 0.9852 GB, free: 5.457 MB / 0.7481 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.0005072/0.7575, allocations: 275.6 kB / 0.9854 GB, free: 5.188 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002805/0.7604, allocations: 1.732 MB / 0.9871 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7604, allocations: 192 / 0.9871 GB, free: 3.465 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007982/0.7612, allocations: 0.517 MB / 0.9876 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003483/0.7647, allocations: 0.9178 MB / 0.9885 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004874/0.7696, allocations: 3.514 MB / 0.992 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008702/0.7704, allocations: 1.445 MB / 0.9934 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004258/0.7709, allocations: 135.4 kB / 0.9935 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of SimCode: time 5.71e-07/0.7709, allocations: 3.938 kB / 0.9935 GB, free: 12.86 MB / 0.7637 GB Notification: Performance of Templates: time 0.03246/0.8034, allocations: 26.56 MB / 1.019 GB, free: 2.477 MB / 0.7794 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)