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.005536/0.005536, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001212/0.001212, allocations: 188.9 kB / 16.67 MB, free: 5.934 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7609/0.7609, allocations: 132.2 MB / 422.7 MB, free: 6.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 62.78 kB / 0.5814 GB, free: 23.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1752, allocations: 80.21 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6822/0.8575, allocations: 242.4 MB / 0.8964 GB, free: 3.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02228/0.8798, allocations: 15.88 MB / 0.9119 GB, free: 3.438 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003774/0.8837, allocations: 83.5 kB / 0.912 GB, free: 3.355 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004848/0.8886, allocations: 1.173 MB / 0.9131 GB, free: 2.176 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.9001, allocations: 3.82 MB / 0.9169 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005077/0.9052, allocations: 1.815 MB / 0.9186 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007114/0.9123, allocations: 5.245 MB / 0.9237 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.9145, allocations: 1.675 MB / 0.9254 GB, free: 5.566 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005596/0.9201, allocations: 2.6 MB / 0.9279 GB, free: 2.957 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003737/0.9239, allocations: 1.71 MB / 0.9296 GB, free: 1.25 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00049/0.9244, allocations: 176 kB / 0.9298 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005489/0.9299, allocations: 2.705 MB / 0.9324 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009277/0.9308, allocations: 0.7751 MB / 0.9332 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001673/0.9325, allocations: 1.143 MB / 0.9343 GB, free: 12.44 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.9386, allocations: 3.585 MB / 0.9378 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9386, allocations: 4 kB / 0.9378 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9387, allocations: 0 / 0.9378 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.278e-05/0.9387, allocations: 0 / 0.9378 GB, free: 8.84 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.004467/0.9432, allocations: 2.562 MB / 0.9403 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.9432, allocations: 12.03 kB / 0.9403 GB, free: 6.207 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.9465, allocations: 0.506 MB / 0.9408 GB, free: 5.699 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/0.9499, allocations: 1.376 MB / 0.9421 GB, free: 4.27 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002455/0.9502, allocations: 178.2 kB / 0.9423 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002451/0.9504, allocations: 155.9 kB / 0.9424 GB, free: 3.93 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.9536, allocations: 1.739 MB / 0.9441 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.89e-05/0.9537, allocations: 7.922 kB / 0.9442 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.9538, allocations: 64 kB / 0.9442 GB, free: 2.047 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-05/0.9539, allocations: 55.83 kB / 0.9443 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.9564, allocations: 1.373 MB / 0.9456 GB, free: 0.6133 MB / 0.7012 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.009421/0.9658, allocations: 8.2 MB / 0.9536 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.9673, allocations: 0.8966 MB / 0.9545 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.9681, allocations: 0.5423 MB / 0.955 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006126/0.9687, allocations: 316.2 kB / 0.9553 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.9688, allocations: 55.5 kB / 0.9554 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 2.936e-06/0.9688, allocations: 0 / 0.9554 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.006511/0.9753, allocations: 3.139 MB / 0.9584 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.9754, allocations: 64.41 kB / 0.9585 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001434/0.9768, allocations: 1.266 MB / 0.9597 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.841e-05/0.9769, allocations: 49.7 kB / 0.9598 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005838/0.9775, allocations: 0.8266 MB / 0.9606 GB, free: 424 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002902/0.9778, allocations: 392.6 kB / 0.961 GB, free: 28 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003382/0.9782, allocations: 226.9 kB / 0.9612 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9783, allocations: 353.9 kB / 0.9615 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007921/0.9791, allocations: 441.8 kB / 0.9619 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001079/0.9802, allocations: 0.8313 MB / 0.9628 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.9821, allocations: 1.248 MB / 0.964 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.9821, allocations: 0 / 0.964 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002378/0.9845, allocations: 1.414 MB / 0.9654 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.9845, allocations: 12 kB / 0.9654 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.9846, allocations: 8 kB / 0.9654 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.9846, allocations: 16 kB / 0.9654 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9857, allocations: 271.6 kB / 0.9656 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.9857, allocations: 19.94 kB / 0.9657 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.9869, allocations: 72.06 kB / 0.9657 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-05/0.987, allocations: 52 kB / 0.9658 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001275/0.9883, allocations: 0.7718 MB / 0.9665 GB, free: 10 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001033/0.9893, allocations: 0.829 MB / 0.9673 GB, free: 9.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001753/0.9911, allocations: 1.225 MB / 0.9685 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.465e-05/0.9911, allocations: 4 kB / 0.9685 GB, free: 7.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002189/0.9933, allocations: 1.394 MB / 0.9699 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9933, allocations: 9 kB / 0.9699 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9933, allocations: 8 kB / 0.9699 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.9934, allocations: 23.94 kB / 0.9699 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.9944, allocations: 279.5 kB / 0.9702 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.852e-05/0.9944, allocations: 19.94 kB / 0.9702 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.9956, allocations: 74.19 kB / 0.9703 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.9957, allocations: 47.98 kB / 0.9704 GB, free: 5.801 MB / 0.7325 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.0003249/0.996, allocations: 275.8 kB / 0.9706 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.9963, allocations: 170.9 kB / 0.9708 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002141/0.9984, allocations: 1.153 MB / 0.9719 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9984, allocations: 8 kB / 0.9719 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.9985, allocations: 0 / 0.9719 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001652/1, allocations: 1.079 MB / 0.973 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/1.004, allocations: 2.781 MB / 0.9757 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.004, allocations: 0 / 0.9757 GB, free: 200 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/1.006, allocations: 251.9 kB / 0.9759 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.145e-05/1.006, allocations: 8 kB / 0.9759 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/1.006, allocations: 27.98 kB / 0.976 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.208e-06/1.006, allocations: 11.94 kB / 0.976 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.006, allocations: 0 / 0.976 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002919/1.009, allocations: 1.823 MB / 0.9777 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005981/1.009, allocations: 343.9 kB / 0.9781 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001681/1.009, allocations: 27.98 kB / 0.9781 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009289/1.01, allocations: 53.97 kB / 0.9782 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/1.011, allocations: 72.94 kB / 0.9782 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-05/1.011, allocations: 39.98 kB / 0.9783 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001059/1.012, allocations: 0.8426 MB / 0.9791 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.844e-06/1.012, allocations: 0 / 0.9791 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001959/1.014, allocations: 0.7693 MB / 0.9798 GB, free: 11.89 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.0005617/1.014, allocations: 278.6 kB / 0.9801 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003225/1.017, allocations: 1.736 MB / 0.9818 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/1.018, allocations: 4 kB / 0.9818 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009256/1.018, allocations: 0.517 MB / 0.9823 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00411/1.023, allocations: 0.9078 MB / 0.9832 GB, free: 8.492 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/1.028, allocations: 3.5 MB / 0.9866 GB, free: 4.938 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/1.029, allocations: 1.445 MB / 0.988 GB, free: 3.457 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002052/1.032, allocations: 0.5522 MB / 0.9886 GB, free: 2.898 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/1.032, allocations: 127.4 kB / 0.9887 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of SimCode: time 5.81e-07/1.032, allocations: 0 / 0.9887 GB, free: 2.773 MB / 0.7481 GB Notification: Performance of Templates: time 0.05289/1.085, allocations: 31.54 MB / 1.019 GB, free: 3.613 MB / 0.7794 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)