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.001177/0.001177, allocations: 110.5 kB / 16.41 MB, free: 6.496 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.001112/0.001112, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7795/0.7795, allocations: 132.2 MB / 423.4 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.38 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 80.21 MB / 0.6603 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6275/0.7758, allocations: 242.4 MB / 0.897 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02244/0.7983, allocations: 15.9 MB / 0.9126 GB, free: 3.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.8015, allocations: 75.56 kB / 0.9126 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003146/0.8047, allocations: 1.173 MB / 0.9138 GB, free: 2.363 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0107/0.8154, allocations: 3.818 MB / 0.9175 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005113/0.8206, allocations: 1.808 MB / 0.9193 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007881/0.8285, allocations: 5.247 MB / 0.9244 GB, free: 7.465 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0028/0.8313, allocations: 1.669 MB / 0.926 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007178/0.8385, allocations: 2.65 MB / 0.9286 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/0.8426, allocations: 1.697 MB / 0.9303 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005304/0.8431, allocations: 176 kB / 0.9304 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006385/0.8495, allocations: 2.712 MB / 0.9331 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.8506, allocations: 0.7596 MB / 0.9338 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00183/0.8524, allocations: 1.155 MB / 0.935 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00681/0.8592, allocations: 3.575 MB / 0.9385 GB, free: 9.012 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.8593, allocations: 3.938 kB / 0.9385 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.403e-06/0.8593, allocations: 0 / 0.9385 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.179e-05/0.8593, allocations: 0 / 0.9385 GB, free: 9.008 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.004455/0.8638, allocations: 2.495 MB / 0.9409 GB, free: 6.457 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.8638, allocations: 8.031 kB / 0.9409 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002965/0.8668, allocations: 0.5047 MB / 0.9414 GB, free: 5.941 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.8692, allocations: 1.359 MB / 0.9427 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/0.8694, allocations: 170.2 kB / 0.9429 GB, free: 4.348 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002327/0.8696, allocations: 159.9 kB / 0.943 GB, free: 4.191 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003008/0.8726, allocations: 1.737 MB / 0.9447 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.8727, allocations: 3.906 kB / 0.9447 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000139/0.8728, allocations: 60 kB / 0.9448 GB, free: 2.316 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.014e-05/0.8729, allocations: 66.62 kB / 0.9449 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.8754, allocations: 1.369 MB / 0.9462 GB, free: 0.875 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.009589/0.885, allocations: 8.179 MB / 0.9542 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001465/0.8865, allocations: 0.9041 MB / 0.9551 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000839/0.8873, allocations: 0.5385 MB / 0.9556 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006076/0.8879, allocations: 316.5 kB / 0.9559 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.926e-05/0.888, allocations: 51.44 kB / 0.9559 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 3.226e-06/0.888, allocations: 4 kB / 0.9559 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.006867/0.8949, allocations: 3.118 MB / 0.959 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.8949, allocations: 60.41 kB / 0.959 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.8965, allocations: 1.262 MB / 0.9603 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.935e-05/0.8966, allocations: 53.7 kB / 0.9603 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005715/0.8972, allocations: 0.8133 MB / 0.9611 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.8975, allocations: 362.7 kB / 0.9615 GB, free: 380 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.8978, allocations: 230.7 kB / 0.9617 GB, free: 144 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.898, allocations: 353.9 kB / 0.962 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/0.8988, allocations: 441.8 kB / 0.9625 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.8999, allocations: 0.8351 MB / 0.9633 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.9018, allocations: 1.252 MB / 0.9645 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9018, allocations: 4 kB / 0.9645 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002521/0.9043, allocations: 1.398 MB / 0.9659 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.9043, allocations: 8 kB / 0.9659 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.9044, allocations: 8 kB / 0.9659 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.9044, allocations: 16 kB / 0.9659 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.9055, allocations: 275.6 kB / 0.9662 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.06e-05/0.9056, allocations: 23.92 kB / 0.9662 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/0.9071, allocations: 73.42 kB / 0.9662 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.9072, allocations: 48 kB / 0.9663 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001428/0.9086, allocations: 0.7757 MB / 0.967 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001103/0.9098, allocations: 0.8291 MB / 0.9679 GB, free: 9.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001899/0.9117, allocations: 1.229 MB / 0.9691 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.065e-06/0.9117, allocations: 0 / 0.9691 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002506/0.9142, allocations: 1.39 MB / 0.9704 GB, free: 6.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.9142, allocations: 8 kB / 0.9704 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.9142, allocations: 13.72 kB / 0.9704 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9143, allocations: 16 kB / 0.9705 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.9154, allocations: 275.5 kB / 0.9707 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.761e-05/0.9154, allocations: 19.94 kB / 0.9707 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.9168, allocations: 75.94 kB / 0.9708 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.9169, allocations: 48 kB / 0.9709 GB, free: 6.148 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.0003674/0.9173, allocations: 263.9 kB / 0.9711 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.9177, allocations: 166 kB / 0.9713 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.92, allocations: 1.154 MB / 0.9724 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.92, allocations: 15.92 kB / 0.9724 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.9201, allocations: 4.875 kB / 0.9724 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001666/0.9217, allocations: 1.071 MB / 0.9735 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005041/0.9268, allocations: 2.777 MB / 0.9762 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.9268, allocations: 0 / 0.9762 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/0.928, allocations: 259.9 kB / 0.9764 GB, free: 308 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.9281, allocations: 4 kB / 0.9764 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.9281, allocations: 21 kB / 0.9764 GB, free: 284 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.9282, allocations: 11.98 kB / 0.9764 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.9282, allocations: 0 / 0.9764 GB, free: 272 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/0.9312, allocations: 1.826 MB / 0.9782 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/0.932, allocations: 335 kB / 0.9786 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003133/0.9323, allocations: 20 kB / 0.9786 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001223/0.9335, allocations: 59.94 kB / 0.9786 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.9337, allocations: 68.91 kB / 0.9787 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.279e-05/0.9338, allocations: 35.98 kB / 0.9787 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001306/0.9351, allocations: 0.8466 MB / 0.9796 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9351, allocations: 3.938 kB / 0.9796 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002519/0.9376, allocations: 0.7656 MB / 0.9803 GB, free: 12.26 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.0007244/0.9384, allocations: 270.5 kB / 0.9806 GB, free: 12 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003336/0.9417, allocations: 1.74 MB / 0.9823 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.9417, allocations: 0 / 0.9823 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0009231/0.9427, allocations: 0.5169 MB / 0.9828 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004321/0.947, allocations: 0.9138 MB / 0.9837 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006195/0.9532, allocations: 3.521 MB / 0.9871 GB, free: 5.289 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/0.9545, allocations: 1.441 MB / 0.9885 GB, free: 3.812 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005413/0.9551, allocations: 139.4 kB / 0.9886 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of SimCode: time 1.132e-06/0.9551, allocations: 0 / 0.9886 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of Templates: time 0.04197/0.997, allocations: 26.74 MB / 1.015 GB, free: 9.133 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)