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.001577/0.001577, allocations: 106.3 kB / 15.99 MB, free: 6.352 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.001574/0.001574, allocations: 189 kB / 16.91 MB, free: 6.188 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8343/0.8343, allocations: 135.1 MB / 425.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 59.91 kB / 0.5055 GB, free: 8.785 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4317/0.4331, allocations: 80.91 MB / 0.5845 GB, free: 24.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5855/1.019, allocations: 239.7 MB / 0.8186 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02093/1.04, allocations: 15.85 MB / 0.8341 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003623/1.043, allocations: 72.56 kB / 0.8342 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00362/1.047, allocations: 1.053 MB / 0.8352 GB, free: 0.6055 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01167/1.059, allocations: 3.586 MB / 0.8387 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005392/1.064, allocations: 1.639 MB / 0.8403 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008518/1.073, allocations: 5.256 MB / 0.8454 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003046/1.076, allocations: 1.629 MB / 0.847 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007114/1.083, allocations: 2.598 MB / 0.8496 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004622/1.088, allocations: 1.823 MB / 0.8513 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005421/1.088, allocations: 174.3 kB / 0.8515 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007399/1.096, allocations: 2.833 MB / 0.8543 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.00131/1.097, allocations: 0.7734 MB / 0.855 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002249/1.099, allocations: 1.151 MB / 0.8562 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004894/1.104, allocations: 2.643 MB / 0.8587 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/1.104, allocations: 0 / 0.8587 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.415e-06/1.104, allocations: 0 / 0.8587 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.621e-05/1.104, allocations: 0 / 0.8587 GB, free: 5.34 MB / 0.5919 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.004655/1.109, allocations: 2.493 MB / 0.8612 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/1.109, allocations: 13.11 kB / 0.8612 GB, free: 2.812 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/1.112, allocations: 0.5075 MB / 0.8617 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002406/1.114, allocations: 1.277 MB / 0.8629 GB, free: 1.043 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/1.115, allocations: 178.2 kB / 0.8631 GB, free: 0.8555 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002154/1.115, allocations: 154.5 kB / 0.8632 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003092/1.118, allocations: 1.731 MB / 0.8649 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/1.118, allocations: 10.47 kB / 0.8649 GB, free: 14.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/1.118, allocations: 56 kB / 0.865 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.916e-05/1.118, allocations: 70.69 kB / 0.8651 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002442/1.121, allocations: 1.368 MB / 0.8664 GB, free: 13.42 MB / 0.6075 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.009947/1.131, allocations: 8.167 MB / 0.8744 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/1.132, allocations: 0.9016 MB / 0.8753 GB, free: 3.801 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008675/1.133, allocations: 0.538 MB / 0.8758 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006642/1.134, allocations: 318.9 kB / 0.8761 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.252e-05/1.134, allocations: 43.56 kB / 0.8761 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/1.134, allocations: 0 / 0.8761 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.007455/1.141, allocations: 3.116 MB / 0.8792 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.141, allocations: 60.41 kB / 0.8792 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/1.143, allocations: 1.27 MB / 0.8805 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001083/1.143, allocations: 49.7 kB / 0.8805 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/1.144, allocations: 0.8147 MB / 0.8813 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000319/1.144, allocations: 367.7 kB / 0.8817 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/1.144, allocations: 226.8 kB / 0.8819 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001582/1.145, allocations: 349.9 kB / 0.8822 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008196/1.145, allocations: 445.8 kB / 0.8826 GB, free: 12.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/1.147, allocations: 0.8324 MB / 0.8835 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/1.148, allocations: 1.252 MB / 0.8847 GB, free: 9.754 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/1.148, allocations: 3.938 kB / 0.8847 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002578/1.151, allocations: 1.404 MB / 0.8861 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.151, allocations: 8 kB / 0.8861 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.151, allocations: 8 kB / 0.8861 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/1.151, allocations: 16 kB / 0.8861 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/1.152, allocations: 273.8 kB / 0.8863 GB, free: 8.105 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.456e-05/1.152, allocations: 25.05 kB / 0.8864 GB, free: 8.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/1.154, allocations: 159.7 kB / 0.8865 GB, free: 7.93 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/1.154, allocations: 48 kB / 0.8866 GB, free: 7.883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001404/1.156, allocations: 0.7688 MB / 0.8873 GB, free: 7.109 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001061/1.157, allocations: 0.8269 MB / 0.8881 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001891/1.159, allocations: 1.234 MB / 0.8893 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.649e-06/1.159, allocations: 7.984 kB / 0.8893 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002634/1.161, allocations: 1.392 MB / 0.8907 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/1.161, allocations: 8 kB / 0.8907 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.161, allocations: 12 kB / 0.8907 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.161, allocations: 12 kB / 0.8907 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.162, allocations: 281.9 kB / 0.891 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-05/1.162, allocations: 21.06 kB / 0.891 GB, free: 3.145 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.164, allocations: 170.8 kB / 0.8912 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/1.164, allocations: 52 kB / 0.8912 GB, free: 2.93 MB / 0.6231 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.0003927/1.165, allocations: 262 kB / 0.8915 GB, free: 2.684 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/1.165, allocations: 162 kB / 0.8916 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/1.168, allocations: 1.149 MB / 0.8928 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/1.168, allocations: 12 kB / 0.8928 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.168, allocations: 0 / 0.8928 GB, free: 1.348 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001717/1.169, allocations: 1.071 MB / 0.8938 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/1.175, allocations: 2.777 MB / 0.8965 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/1.175, allocations: 4 kB / 0.8965 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.176, allocations: 247.7 kB / 0.8968 GB, free: 13.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.795e-05/1.176, allocations: 12.16 kB / 0.8968 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.191e-05/1.176, allocations: 35.97 kB / 0.8968 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/1.176, allocations: 4 kB / 0.8968 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/1.176, allocations: 4 kB / 0.8968 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/1.179, allocations: 1.807 MB / 0.8986 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008317/1.18, allocations: 331 kB / 0.8989 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003494/1.18, allocations: 43.23 kB / 0.8989 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/1.182, allocations: 138.1 kB / 0.8991 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001527/1.182, allocations: 60.91 kB / 0.8991 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.191e-05/1.182, allocations: 43.98 kB / 0.8992 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001391/1.184, allocations: 0.8465 MB / 0.9 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.184, allocations: 0 / 0.9 GB, free: 9.816 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00264/1.186, allocations: 0.7656 MB / 0.9007 GB, free: 9.051 MB / 0.6387 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.0007387/1.187, allocations: 268 kB / 0.901 GB, free: 8.809 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004441/1.191, allocations: 1.997 MB / 0.9029 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.192, allocations: 4.062 kB / 0.903 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/1.192, allocations: 0.5164 MB / 0.9035 GB, free: 6.398 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004667/1.197, allocations: 0.9175 MB / 0.9044 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/1.205, allocations: 4.24 MB / 0.9085 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/1.206, allocations: 1.441 MB / 0.9099 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/1.207, allocations: 139.4 kB / 0.91 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of SimCode: time 8.42e-07/1.207, allocations: 0 / 0.91 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of Templates: time 0.04599/1.253, allocations: 26.56 MB / 0.936 GB, free: 5.309 MB / 0.67 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)