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.00134/0.00134, allocations: 101 kB / 16.35 MB, free: 6.285 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.001312/0.001312, allocations: 196.2 kB / 17.29 MB, free: 5.863 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.327/1.327, 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/package.mo): time 0.7676/0.7676, allocations: 132.2 MB / 423.3 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67.89 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3481, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5458/0.8939, allocations: 242.4 MB / 0.8182 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01964/0.9136, allocations: 15.88 MB / 0.8337 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004056/0.9177, allocations: 79.28 kB / 0.8338 GB, free: 0.6289 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.9213, allocations: 1.182 MB / 0.8349 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0102/0.9315, allocations: 3.813 MB / 0.8387 GB, free: 296 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005009/0.9365, allocations: 1.811 MB / 0.8404 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008285/0.9448, allocations: 5.249 MB / 0.8455 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002991/0.9478, allocations: 1.675 MB / 0.8472 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006182/0.954, allocations: 2.6 MB / 0.8497 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004015/0.9581, allocations: 1.715 MB / 0.8514 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006189/0.9587, allocations: 175.6 kB / 0.8516 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006317/0.965, allocations: 2.704 MB / 0.8542 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001306/0.9664, allocations: 0.7708 MB / 0.855 GB, free: 9.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00259/0.969, allocations: 1.147 MB / 0.8561 GB, free: 8.102 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.9753, allocations: 3.566 MB / 0.8596 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9754, allocations: 0 / 0.8596 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.435e-06/0.9754, allocations: 0 / 0.8596 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.482e-05/0.9754, allocations: 7.938 kB / 0.8596 GB, free: 4.719 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.004487/0.9799, allocations: 2.495 MB / 0.862 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.98, allocations: 12.03 kB / 0.862 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002944/0.9829, allocations: 0.5067 MB / 0.8625 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.9855, allocations: 1.363 MB / 0.8638 GB, free: 348 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001468/0.9857, allocations: 174.2 kB / 0.864 GB, free: 160 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.9859, allocations: 151.9 kB / 0.8642 GB, free: 8 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.9888, allocations: 1.736 MB / 0.8658 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.9888, allocations: 3.938 kB / 0.8659 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.989, allocations: 64 kB / 0.8659 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.969e-05/0.989, allocations: 65.22 kB / 0.866 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002337/0.9914, allocations: 1.366 MB / 0.8673 GB, free: 12.72 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.009577/1.001, allocations: 8.189 MB / 0.8753 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.002, allocations: 0.9028 MB / 0.8762 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008231/1.003, allocations: 0.5307 MB / 0.8767 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000643/1.004, allocations: 326 kB / 0.877 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.887e-05/1.004, allocations: 47.56 kB / 0.8771 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 3.606e-06/1.004, allocations: 0 / 0.8771 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.006531/1.011, allocations: 3.113 MB / 0.8801 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/1.011, allocations: 64.41 kB / 0.8802 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.012, allocations: 1.266 MB / 0.8814 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/1.012, allocations: 45.7 kB / 0.8814 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/1.013, allocations: 0.8147 MB / 0.8822 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/1.013, allocations: 368.1 kB / 0.8826 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/1.013, allocations: 226.8 kB / 0.8828 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.013, allocations: 349.9 kB / 0.8831 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007698/1.014, allocations: 444.5 kB / 0.8836 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/1.015, allocations: 0.8326 MB / 0.8844 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00176/1.017, allocations: 1.247 MB / 0.8856 GB, free: 9.043 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.017, allocations: 7.938 kB / 0.8856 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00221/1.019, allocations: 1.409 MB / 0.887 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/1.019, allocations: 10.66 kB / 0.887 GB, free: 7.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/1.019, allocations: 8 kB / 0.887 GB, free: 7.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.42e-05/1.019, allocations: 16 kB / 0.887 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/1.02, allocations: 276.3 kB / 0.8873 GB, free: 7.387 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.02, allocations: 21.25 kB / 0.8873 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.022, allocations: 67.94 kB / 0.8874 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.783e-05/1.022, allocations: 52 kB / 0.8874 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/1.023, allocations: 0.7679 MB / 0.8882 GB, free: 6.48 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/1.024, allocations: 0.8305 MB / 0.889 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001708/1.026, allocations: 1.23 MB / 0.8902 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/1.026, allocations: 0 / 0.8902 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002172/1.028, allocations: 1.393 MB / 0.8915 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/1.028, allocations: 8 kB / 0.8915 GB, free: 2.816 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.028, allocations: 8 kB / 0.8915 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/1.028, allocations: 16 kB / 0.8916 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/1.029, allocations: 277.7 kB / 0.8918 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.801e-05/1.029, allocations: 21.16 kB / 0.8918 GB, free: 2.523 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/1.03, allocations: 76.16 kB / 0.8919 GB, free: 2.449 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/1.03, allocations: 48 kB / 0.892 GB, free: 2.402 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.0003079/1.031, allocations: 265.9 kB / 0.8922 GB, free: 2.152 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/1.031, allocations: 169.9 kB / 0.8924 GB, free: 1.984 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002115/1.033, allocations: 1.157 MB / 0.8935 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.033, allocations: 8 kB / 0.8935 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.033, allocations: 0 / 0.8935 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001619/1.035, allocations: 1.078 MB / 0.8946 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/1.039, allocations: 2.77 MB / 0.8973 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.039, allocations: 0 / 0.8973 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.041, allocations: 250 kB / 0.8975 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/1.041, allocations: 15.94 kB / 0.8975 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/1.041, allocations: 24 kB / 0.8976 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.424e-05/1.041, allocations: 18.59 kB / 0.8976 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.041, allocations: 0 / 0.8976 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002818/1.044, allocations: 1.813 MB / 0.8993 GB, free: 10.73 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007381/1.044, allocations: 333.5 kB / 0.8997 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.045, allocations: 27.94 kB / 0.8997 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/1.046, allocations: 57.66 kB / 0.8997 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.046, allocations: 68.91 kB / 0.8998 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/1.046, allocations: 35.98 kB / 0.8998 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001158/1.047, allocations: 0.8426 MB / 0.9007 GB, free: 9.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.5e-07/1.047, allocations: 4 kB / 0.9007 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001912/1.049, allocations: 0.7539 MB / 0.9014 GB, free: 8.602 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.0005735/1.05, allocations: 282.8 kB / 0.9017 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00351/1.053, allocations: 1.732 MB / 0.9034 GB, free: 6.691 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/1.053, allocations: 7.938 kB / 0.9034 GB, free: 6.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000916/1.054, allocations: 0.5175 MB / 0.9039 GB, free: 6.191 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003502/1.058, allocations: 0.9102 MB / 0.9048 GB, free: 5.32 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005555/1.063, allocations: 3.449 MB / 0.9081 GB, free: 1.836 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001326/1.064, allocations: 1.441 MB / 0.9095 GB, free: 368 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00192/1.066, allocations: 0.5639 MB / 0.9101 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004701/1.067, allocations: 127.4 kB / 0.9102 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of SimCode: time 9.51e-07/1.067, allocations: 0 / 0.9102 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.05196/1.119, allocations: 31.25 MB / 0.9407 GB, free: 0.9648 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)