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.001267/0.001267, allocations: 103.2 kB / 16.41 MB, free: 6.441 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.001166/0.001166, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.264/1.264, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7675/0.7675, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.73 kB / 0.582 GB, free: 23.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.145, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6061/0.7511, allocations: 242.4 MB / 0.8971 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.7764, allocations: 15.88 MB / 0.9126 GB, free: 3.449 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003486/0.78, allocations: 79.5 kB / 0.9126 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003707/0.7837, allocations: 1.177 MB / 0.9138 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.7946, allocations: 3.814 MB / 0.9175 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005098/0.7998, allocations: 1.814 MB / 0.9193 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007465/0.8072, allocations: 5.238 MB / 0.9244 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002887/0.8102, allocations: 1.673 MB / 0.926 GB, free: 5.586 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006165/0.8163, allocations: 2.647 MB / 0.9286 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.8203, allocations: 1.703 MB / 0.9303 GB, free: 1.234 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007339/0.821, allocations: 176 kB / 0.9304 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005828/0.8269, allocations: 2.701 MB / 0.9331 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001244/0.8281, allocations: 0.779 MB / 0.9338 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002501/0.8306, allocations: 1.143 MB / 0.935 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.8377, allocations: 3.568 MB / 0.9384 GB, free: 8.848 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.8377, allocations: 3.984 kB / 0.9384 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8377, allocations: 0 / 0.9384 GB, free: 8.844 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001148/0.8379, allocations: 0 / 0.9384 GB, free: 8.844 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.005568/0.8434, allocations: 2.499 MB / 0.9409 GB, free: 6.289 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.8435, allocations: 8.031 kB / 0.9409 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/0.8467, allocations: 0.5086 MB / 0.9414 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002461/0.8492, allocations: 1.362 MB / 0.9427 GB, free: 4.352 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.8493, allocations: 174.2 kB / 0.9429 GB, free: 4.168 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.8496, allocations: 155.9 kB / 0.943 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/0.8523, allocations: 1.733 MB / 0.9447 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/0.8524, allocations: 11.84 kB / 0.9447 GB, free: 2.195 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.8526, allocations: 63.98 kB / 0.9448 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.152e-05/0.8526, allocations: 62.69 kB / 0.9449 GB, free: 2.07 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002426/0.8551, allocations: 1.369 MB / 0.9462 GB, free: 0.6953 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.0105/0.8656, allocations: 8.179 MB / 0.9542 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/0.8671, allocations: 0.8924 MB / 0.9551 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008105/0.8679, allocations: 0.5385 MB / 0.9556 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006/0.8685, allocations: 324.5 kB / 0.9559 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/0.8686, allocations: 48 kB / 0.9559 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 2.755e-06/0.8686, allocations: 0 / 0.9559 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.006865/0.8754, allocations: 3.115 MB / 0.959 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.8755, allocations: 64.41 kB / 0.959 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002199/0.8777, allocations: 1.258 MB / 0.9603 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.8779, allocations: 49.7 kB / 0.9603 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000637/0.8785, allocations: 0.8133 MB / 0.9611 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.8789, allocations: 370.7 kB / 0.9615 GB, free: 204 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.8793, allocations: 226.7 kB / 0.9617 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.8794, allocations: 353.9 kB / 0.962 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000809/0.8802, allocations: 449.8 kB / 0.9625 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.8813, allocations: 0.8321 MB / 0.9633 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.8832, allocations: 1.244 MB / 0.9645 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.8832, allocations: 8 kB / 0.9645 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002539/0.8858, allocations: 1.398 MB / 0.9659 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.8858, allocations: 11.94 kB / 0.9659 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.86e-05/0.8858, allocations: 12 kB / 0.9659 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/0.8859, allocations: 16 kB / 0.9659 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.887, allocations: 271.6 kB / 0.9661 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.384e-05/0.8871, allocations: 25.48 kB / 0.9662 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.8884, allocations: 72.91 kB / 0.9662 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.8885, allocations: 51.98 kB / 0.9663 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001311/0.8899, allocations: 0.7718 MB / 0.967 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001035/0.8909, allocations: 0.8312 MB / 0.9679 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001788/0.8927, allocations: 1.221 MB / 0.969 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.546e-06/0.8927, allocations: 4 kB / 0.9691 GB, free: 7.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002429/0.8952, allocations: 1.385 MB / 0.9704 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.8952, allocations: 12 kB / 0.9704 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.8952, allocations: 8.875 kB / 0.9704 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8952, allocations: 19.94 kB / 0.9704 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.8963, allocations: 275.6 kB / 0.9707 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.832e-05/0.8964, allocations: 23.92 kB / 0.9707 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.8978, allocations: 71.94 kB / 0.9708 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.8979, allocations: 52 kB / 0.9708 GB, free: 5.973 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.0003512/0.8982, allocations: 267.8 kB / 0.9711 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.8986, allocations: 166 kB / 0.9713 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/0.9008, allocations: 1.153 MB / 0.9724 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.9008, allocations: 12 kB / 0.9724 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.9008, allocations: 0 / 0.9724 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00156/0.9024, allocations: 1.071 MB / 0.9734 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004814/0.9072, allocations: 2.781 MB / 0.9762 GB, free: 392 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.9073, allocations: 4 kB / 0.9762 GB, free: 388 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/0.9085, allocations: 251.9 kB / 0.9764 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/0.9085, allocations: 4 kB / 0.9764 GB, free: 132 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.909e-05/0.9086, allocations: 31.98 kB / 0.9764 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.9086, allocations: 4 kB / 0.9764 GB, free: 96 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.9086, allocations: 4 kB / 0.9764 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002906/0.9115, allocations: 1.814 MB / 0.9782 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007285/0.9123, allocations: 347 kB / 0.9786 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/0.9126, allocations: 20 kB / 0.9786 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.9137, allocations: 58.17 kB / 0.9786 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9139, allocations: 64.94 kB / 0.9787 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.374e-05/0.914, allocations: 39.98 kB / 0.9787 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001179/0.9151, allocations: 0.8426 MB / 0.9795 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9151, allocations: 0 / 0.9795 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002204/0.9174, allocations: 0.7733 MB / 0.9803 GB, free: 12.09 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.0006422/0.918, allocations: 285.8 kB / 0.9806 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003082/0.9211, allocations: 1.732 MB / 0.9823 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.9211, allocations: 4.125 kB / 0.9823 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008444/0.922, allocations: 0.5209 MB / 0.9828 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/0.9257, allocations: 0.8956 MB / 0.9837 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.9314, allocations: 3.525 MB / 0.9871 GB, free: 5.117 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.9325, allocations: 1.441 MB / 0.9885 GB, free: 3.641 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004379/0.9329, allocations: 139.4 kB / 0.9886 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of SimCode: time 1.103e-06/0.9329, allocations: 0 / 0.9886 GB, free: 3.504 MB / 0.7481 GB Notification: Performance of Templates: time 0.03729/0.9702, allocations: 27 MB / 1.015 GB, free: 8.703 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)