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.001201/0.001201, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001126/0.001126, allocations: 183 kB / 17.34 MB, free: 5.766 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.365/1.365, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8783/0.8783, allocations: 135.1 MB / 426.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 62.72 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1672, allocations: 80.92 MB / 0.6653 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.7242/0.8915, allocations: 242.4 MB / 0.902 GB, free: 12.8 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.9183, allocations: 15.89 MB / 0.9175 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00382/0.9222, allocations: 75.56 kB / 0.9176 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/0.9265, allocations: 1.173 MB / 0.9188 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.9388, allocations: 3.818 MB / 0.9225 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006004/0.9448, allocations: 1.811 MB / 0.9242 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008783/0.9536, allocations: 5.251 MB / 0.9294 GB, free: 0.7109 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003688/0.9574, allocations: 1.666 MB / 0.931 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008955/0.9664, allocations: 2.65 MB / 0.9336 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005056/0.9715, allocations: 1.704 MB / 0.9353 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.9725, allocations: 176 kB / 0.9354 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007592/0.9801, allocations: 2.701 MB / 0.9381 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001802/0.982, allocations: 0.7635 MB / 0.9388 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.003242/0.9852, allocations: 1.155 MB / 0.9399 GB, free: 5.848 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.9945, allocations: 3.572 MB / 0.9434 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9945, allocations: 3.938 kB / 0.9434 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.044e-06/0.9945, allocations: 0 / 0.9434 GB, free: 2.262 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001309/0.9947, allocations: 0 / 0.9434 GB, free: 2.262 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.007305/1.002, allocations: 2.495 MB / 0.9459 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/1.002, allocations: 9.109 kB / 0.9459 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003909/1.006, allocations: 0.5079 MB / 0.9464 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/1.01, allocations: 1.355 MB / 0.9477 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002632/1.01, allocations: 174.2 kB / 0.9479 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005936/1.011, allocations: 155.9 kB / 0.948 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004809/1.016, allocations: 1.737 MB / 0.9497 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.768e-05/1.016, allocations: 0 / 0.9497 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/1.016, allocations: 60 kB / 0.9498 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/1.016, allocations: 70.56 kB / 0.9498 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003227/1.019, allocations: 1.369 MB / 0.9512 GB, free: 10.13 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.01351/1.033, allocations: 8.191 MB / 0.9592 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/1.035, allocations: 0.9004 MB / 0.96 GB, free: 340 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/1.036, allocations: 0.5341 MB / 0.9606 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008464/1.037, allocations: 320.5 kB / 0.9609 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/1.037, allocations: 47.56 kB / 0.9609 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 4.508e-06/1.037, allocations: 0 / 0.9609 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.009061/1.046, allocations: 3.112 MB / 0.964 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/1.046, allocations: 60.41 kB / 0.964 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/1.049, allocations: 1.266 MB / 0.9652 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001964/1.049, allocations: 49.7 kB / 0.9653 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000812/1.05, allocations: 0.8133 MB / 0.9661 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/1.05, allocations: 362.7 kB / 0.9664 GB, free: 9.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004738/1.051, allocations: 234.6 kB / 0.9667 GB, free: 9.391 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000188/1.051, allocations: 357.8 kB / 0.967 GB, free: 9.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/1.052, allocations: 445.8 kB / 0.9674 GB, free: 8.598 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001378/1.053, allocations: 0.8312 MB / 0.9682 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/1.056, allocations: 1.252 MB / 0.9695 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.451e-05/1.056, allocations: 4 kB / 0.9695 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003169/1.059, allocations: 1.398 MB / 0.9708 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/1.059, allocations: 8 kB / 0.9708 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.059, allocations: 8 kB / 0.9708 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.556e-05/1.059, allocations: 16 kB / 0.9709 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.06, allocations: 271.6 kB / 0.9711 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.784e-05/1.06, allocations: 24.36 kB / 0.9711 GB, free: 4.492 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001766/1.062, allocations: 75.84 kB / 0.9712 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/1.062, allocations: 52 kB / 0.9713 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001735/1.064, allocations: 0.7729 MB / 0.972 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001364/1.066, allocations: 0.8248 MB / 0.9728 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002234/1.068, allocations: 1.229 MB / 0.974 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-05/1.068, allocations: 4 kB / 0.974 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.003054/1.071, allocations: 1.382 MB / 0.9754 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/1.071, allocations: 12.03 kB / 0.9754 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/1.071, allocations: 12 kB / 0.9754 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/1.071, allocations: 12 kB / 0.9754 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/1.072, allocations: 279.5 kB / 0.9757 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.833e-05/1.072, allocations: 19.94 kB / 0.9757 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001785/1.074, allocations: 78.25 kB / 0.9758 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/1.074, allocations: 52 kB / 0.9758 GB, free: 15.39 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.0004553/1.075, allocations: 259.9 kB / 0.9761 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005508/1.075, allocations: 170 kB / 0.9762 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/1.078, allocations: 1.16 MB / 0.9774 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/1.078, allocations: 16 kB / 0.9774 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.078, allocations: 0 / 0.9774 GB, free: 13.78 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/1.08, allocations: 1.071 MB / 0.9784 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005924/1.086, allocations: 2.777 MB / 0.9811 GB, free: 9.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.086, allocations: 4 kB / 0.9811 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00133/1.087, allocations: 255.9 kB / 0.9814 GB, free: 9.547 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.348e-05/1.087, allocations: 4 kB / 0.9814 GB, free: 9.543 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/1.087, allocations: 24 kB / 0.9814 GB, free: 9.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/1.087, allocations: 7.984 kB / 0.9814 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.087, allocations: 0 / 0.9814 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/1.091, allocations: 1.826 MB / 0.9832 GB, free: 7.648 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000968/1.092, allocations: 335.1 kB / 0.9835 GB, free: 7.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004299/1.092, allocations: 24 kB / 0.9835 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.094, allocations: 51.94 kB / 0.9836 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/1.094, allocations: 68.91 kB / 0.9837 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/1.094, allocations: 35.98 kB / 0.9837 GB, free: 7.121 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001693/1.096, allocations: 0.8466 MB / 0.9845 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.096, allocations: 3.938 kB / 0.9845 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003043/1.099, allocations: 0.7656 MB / 0.9853 GB, free: 5.508 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.000819/1.1, allocations: 273.9 kB / 0.9855 GB, free: 5.242 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003787/1.103, allocations: 1.736 MB / 0.9872 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/1.103, allocations: 0 / 0.9872 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.105, allocations: 0.5131 MB / 0.9877 GB, free: 3 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005157/1.11, allocations: 0.9139 MB / 0.9886 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007201/1.117, allocations: 3.521 MB / 0.9921 GB, free: 14.52 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.118, allocations: 1.441 MB / 0.9935 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006672/1.119, allocations: 139.4 kB / 0.9936 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of SimCode: time 1.623e-06/1.119, allocations: 0 / 0.9936 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of Templates: time 0.04919/1.168, allocations: 26.75 MB / 1.02 GB, free: 2.34 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)