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.008658/0.008658, allocations: 104 kB / 15.73 MB, free: 6.051 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.001685/0.001685, allocations: 196.2 kB / 16.68 MB, free: 5.961 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.35/1.35, allocations: 222.9 MB / 240.4 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.8718/0.8718, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 71.17 kB / 0.5813 GB, free: 23.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 80.21 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6129/0.7572, allocations: 242.4 MB / 0.8964 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.7823, allocations: 15.89 MB / 0.9119 GB, free: 3.41 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003426/0.7858, allocations: 79.5 kB / 0.912 GB, free: 3.332 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003782/0.7896, allocations: 1.227 MB / 0.9132 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.8002, allocations: 3.951 MB / 0.917 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.00531/0.8055, allocations: 1.817 MB / 0.9188 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007687/0.8132, allocations: 5.252 MB / 0.9239 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.8163, allocations: 1.674 MB / 0.9256 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007742/0.8241, allocations: 2.693 MB / 0.9282 GB, free: 2.637 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004323/0.8285, allocations: 1.709 MB / 0.9299 GB, free: 0.9336 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0008171/0.8293, allocations: 176 kB / 0.93 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006508/0.8358, allocations: 2.713 MB / 0.9327 GB, free: 14.04 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.8374, allocations: 0.7712 MB / 0.9334 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.002802/0.8402, allocations: 1.143 MB / 0.9346 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.008576/0.8488, allocations: 3.579 MB / 0.9381 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.8489, allocations: 0 / 0.9381 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.184e-06/0.8489, allocations: 0 / 0.9381 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001448/0.849, allocations: 4 kB / 0.9381 GB, free: 8.527 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.006904/0.8559, allocations: 2.495 MB / 0.9405 GB, free: 5.977 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.856, allocations: 12.03 kB / 0.9405 GB, free: 5.965 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.8595, allocations: 0.497 MB / 0.941 GB, free: 5.465 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002916/0.8625, allocations: 1.362 MB / 0.9423 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001867/0.8627, allocations: 174.2 kB / 0.9425 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.863, allocations: 151.9 kB / 0.9426 GB, free: 3.715 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003291/0.8663, allocations: 1.737 MB / 0.9443 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/0.8664, allocations: 11.84 kB / 0.9443 GB, free: 1.891 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001544/0.8665, allocations: 60 kB / 0.9444 GB, free: 1.832 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.622e-05/0.8666, allocations: 62.69 kB / 0.9445 GB, free: 1.77 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002734/0.8694, allocations: 1.369 MB / 0.9458 GB, free: 404 kB / 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.01086/0.8802, allocations: 8.179 MB / 0.9538 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.8818, allocations: 0.9002 MB / 0.9547 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008557/0.8827, allocations: 0.5423 MB / 0.9552 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006235/0.8833, allocations: 320.5 kB / 0.9555 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.8834, allocations: 47.56 kB / 0.9555 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.8834, allocations: 0 / 0.9555 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=102): time 0.007265/0.8907, allocations: 3.109 MB / 0.9586 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.8908, allocations: 64.41 kB / 0.9586 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.8926, allocations: 1.262 MB / 0.9599 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.8927, allocations: 45.7 kB / 0.9599 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005944/0.8933, allocations: 0.8172 MB / 0.9607 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.8936, allocations: 366.7 kB / 0.9611 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003288/0.894, allocations: 230.6 kB / 0.9613 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8941, allocations: 353.9 kB / 0.9616 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008198/0.8949, allocations: 445.8 kB / 0.962 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.896, allocations: 0.8313 MB / 0.9629 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/0.8979, allocations: 1.248 MB / 0.9641 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.8979, allocations: 4 kB / 0.9641 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002417/0.9003, allocations: 1.406 MB / 0.9655 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.9003, allocations: 12 kB / 0.9655 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.9004, allocations: 8 kB / 0.9655 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.147e-05/0.9004, allocations: 17 kB / 0.9655 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.9016, allocations: 271.6 kB / 0.9657 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.569e-05/0.9016, allocations: 19.94 kB / 0.9658 GB, free: 10.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.9031, allocations: 76.83 kB / 0.9658 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.9032, allocations: 48 kB / 0.9659 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001359/0.9045, allocations: 0.7757 MB / 0.9666 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001096/0.9056, allocations: 0.8312 MB / 0.9675 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001904/0.9076, allocations: 1.225 MB / 0.9687 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.999e-06/0.9076, allocations: 4 kB / 0.9687 GB, free: 7.512 MB / 0.7325 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002647/0.9102, allocations: 1.385 MB / 0.97 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.9103, allocations: 8.969 kB / 0.97 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.9103, allocations: 13.5 kB / 0.97 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.9103, allocations: 24 kB / 0.9701 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.9114, allocations: 275.5 kB / 0.9703 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.922e-05/0.9115, allocations: 19.94 kB / 0.9703 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/0.9129, allocations: 75.92 kB / 0.9704 GB, free: 5.711 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.95e-05/0.913, allocations: 48 kB / 0.9705 GB, free: 5.664 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.0003589/0.9134, allocations: 267.9 kB / 0.9707 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003619/0.9138, allocations: 166 kB / 0.9709 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.916, allocations: 1.158 MB / 0.972 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.916, allocations: 8 kB / 0.972 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.916, allocations: 0 / 0.972 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.9177, allocations: 1.075 MB / 0.9731 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/0.9228, allocations: 2.777 MB / 0.9758 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.9228, allocations: 0 / 0.9758 GB, free: 72 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/0.9241, allocations: 255.9 kB / 0.976 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-05/0.9241, allocations: 8 kB / 0.976 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.9242, allocations: 20 kB / 0.976 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.165e-05/0.9242, allocations: 7.984 kB / 0.976 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9242, allocations: 4 kB / 0.976 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002879/0.9271, allocations: 1.814 MB / 0.9778 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.9279, allocations: 343 kB / 0.9781 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003342/0.9282, allocations: 24 kB / 0.9782 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.9293, allocations: 51.94 kB / 0.9782 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.9295, allocations: 68.94 kB / 0.9783 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.129e-05/0.9296, allocations: 43.98 kB / 0.9783 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001144/0.9307, allocations: 0.8426 MB / 0.9792 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9307, allocations: 3.938 kB / 0.9792 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002192/0.9329, allocations: 0.7694 MB / 0.9799 GB, free: 11.77 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.0006253/0.9336, allocations: 275.9 kB / 0.9802 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003162/0.9367, allocations: 1.736 MB / 0.9819 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9368, allocations: 4 kB / 0.9819 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008816/0.9377, allocations: 0.5131 MB / 0.9824 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/0.9413, allocations: 0.9024 MB / 0.9833 GB, free: 8.391 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.9467, allocations: 3.447 MB / 0.9866 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/0.9478, allocations: 1.445 MB / 0.988 GB, free: 3.41 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001817/0.9497, allocations: 0.5561 MB / 0.9886 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003939/0.9501, allocations: 131.4 kB / 0.9887 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.9501, allocations: 0 / 0.9887 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of Templates: time 0.06795/1.018, allocations: 31.53 MB / 1.019 GB, free: 3.562 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)