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.00116/0.00116, allocations: 104 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 196.5 kB / 16.54 MB, free: 6.684 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7389/0.7389, allocations: 132.2 MB / 422.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001332, allocations: 64.31 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4102/0.4115, allocations: 80.2 MB / 0.5801 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6606/1.072, allocations: 242.4 MB / 0.8168 GB, free: 2.02 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02019/1.092, allocations: 15.88 MB / 0.8323 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003198/1.096, allocations: 78.03 kB / 0.8324 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/1.098, allocations: 1.181 MB / 0.8335 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00947/1.108, allocations: 3.812 MB / 0.8373 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006267/1.114, allocations: 1.793 MB / 0.839 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00869/1.123, allocations: 5.238 MB / 0.8441 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/1.126, allocations: 1.677 MB / 0.8458 GB, free: 1.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005714/1.131, allocations: 2.595 MB / 0.8483 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003482/1.135, allocations: 1.704 MB / 0.85 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000407/1.135, allocations: 174.4 kB / 0.8501 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007112/1.142, allocations: 2.703 MB / 0.8528 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009395/1.143, allocations: 0.7711 MB / 0.8535 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001875/1.145, allocations: 1.151 MB / 0.8546 GB, free: 1.512 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004981/1.15, allocations: 3.522 MB / 0.8581 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.15, allocations: 0.7812 kB / 0.8581 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.202e-06/1.15, allocations: 0 / 0.8581 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.253e-05/1.15, allocations: 4.062 kB / 0.8581 GB, free: 1.078 MB / 0.6387 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.003762/1.154, allocations: 2.495 MB / 0.8605 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/1.154, allocations: 11.88 kB / 0.8605 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/1.157, allocations: 0.5061 MB / 0.861 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/1.159, allocations: 1.267 MB / 0.8623 GB, free: 15.33 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/1.159, allocations: 180.7 kB / 0.8624 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/1.159, allocations: 156.2 kB / 0.8626 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002447/1.162, allocations: 1.735 MB / 0.8643 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.221e-05/1.162, allocations: 6.188 kB / 0.8643 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/1.162, allocations: 58.78 kB / 0.8643 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.435e-05/1.162, allocations: 66.06 kB / 0.8644 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/1.164, allocations: 1.366 MB / 0.8657 GB, free: 15.02 MB / 0.6544 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.008368/1.173, allocations: 8.253 MB / 0.8738 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/1.174, allocations: 0.9005 MB / 0.8747 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000817/1.175, allocations: 0.5295 MB / 0.8752 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/1.175, allocations: 321.7 kB / 0.8755 GB, free: 9.863 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.175, allocations: 52.33 kB / 0.8756 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=96): time 2.605e-06/1.175, allocations: 0.9062 kB / 0.8756 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=102): time 0.00687/1.182, allocations: 3.112 MB / 0.8786 GB, free: 9.195 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.182, allocations: 64.12 kB / 0.8787 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.184, allocations: 1.261 MB / 0.8799 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001114/1.184, allocations: 51.05 kB / 0.8799 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000487/1.185, allocations: 0.8135 MB / 0.8807 GB, free: 8.613 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/1.185, allocations: 366.5 kB / 0.8811 GB, free: 8.383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002968/1.185, allocations: 223.4 kB / 0.8813 GB, free: 8.355 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.185, allocations: 354.3 kB / 0.8816 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007179/1.186, allocations: 455 kB / 0.8821 GB, free: 8.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009994/1.187, allocations: 0.8229 MB / 0.8829 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001705/1.189, allocations: 1.25 MB / 0.8841 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.189, allocations: 0 / 0.8841 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002264/1.191, allocations: 1.411 MB / 0.8855 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/1.191, allocations: 8.062 kB / 0.8855 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/1.191, allocations: 7.938 kB / 0.8855 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/1.191, allocations: 16.34 kB / 0.8855 GB, free: 7.129 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.192, allocations: 284.8 kB / 0.8858 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.781e-05/1.192, allocations: 22.52 kB / 0.8858 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00129/1.194, allocations: 67.34 kB / 0.8859 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/1.194, allocations: 51.34 kB / 0.8859 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/1.195, allocations: 0.7661 MB / 0.8867 GB, free: 7.035 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009491/1.196, allocations: 0.8253 MB / 0.8875 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001629/1.197, allocations: 1.232 MB / 0.8887 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/1.197, allocations: 4.375 kB / 0.8887 GB, free: 6.223 MB / 0.6544 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002062/1.2, allocations: 1.391 MB / 0.89 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/1.2, allocations: 10.5 kB / 0.89 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.2, allocations: 8.125 kB / 0.89 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.2, allocations: 16.03 kB / 0.8901 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009906/1.201, allocations: 273.9 kB / 0.8903 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/1.201, allocations: 19.83 kB / 0.8903 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.202, allocations: 80.16 kB / 0.8904 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/1.202, allocations: 46.5 kB / 0.8905 GB, free: 6.07 MB / 0.6544 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.000402/1.202, allocations: 268.2 kB / 0.8907 GB, free: 5.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000257/1.203, allocations: 164.8 kB / 0.8909 GB, free: 5.797 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002111/1.205, allocations: 1.157 MB / 0.892 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/1.205, allocations: 10.66 kB / 0.892 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/1.205, allocations: 0 / 0.892 GB, free: 5.695 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/1.206, allocations: 1.072 MB / 0.8931 GB, free: 5.422 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004643/1.211, allocations: 2.784 MB / 0.8958 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/1.211, allocations: 4 kB / 0.8958 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/1.212, allocations: 245.6 kB / 0.896 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/1.212, allocations: 5.344 kB / 0.896 GB, free: 4.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/1.212, allocations: 43.05 kB / 0.8961 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.522e-06/1.212, allocations: 5.062 kB / 0.8961 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.212, allocations: 4 kB / 0.8961 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/1.215, allocations: 1.805 MB / 0.8978 GB, free: 4.414 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006091/1.216, allocations: 335.9 kB / 0.8982 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002763/1.216, allocations: 29.12 kB / 0.8982 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/1.217, allocations: 61.34 kB / 0.8982 GB, free: 4.176 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000147/1.217, allocations: 61.64 kB / 0.8983 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.699e-05/1.217, allocations: 36.59 kB / 0.8983 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001244/1.219, allocations: 0.8418 MB / 0.8992 GB, free: 3.902 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.212e-06/1.219, allocations: 4 kB / 0.8992 GB, free: 3.898 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002195/1.221, allocations: 0.7665 MB / 0.8999 GB, free: 3.574 MB / 0.6544 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.0005654/1.221, allocations: 273.4 kB / 0.9002 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003784/1.225, allocations: 1.995 MB / 0.9021 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.225, allocations: 0.5625 kB / 0.9021 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008436/1.226, allocations: 0.5203 MB / 0.9026 GB, free: 1.559 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/1.23, allocations: 0.9191 MB / 0.9035 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/1.236, allocations: 3.491 MB / 0.9069 GB, free: 13.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.237, allocations: 1.445 MB / 0.9083 GB, free: 12.16 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002164/1.239, allocations: 0.5561 MB / 0.9089 GB, free: 11.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004244/1.24, allocations: 128.4 kB / 0.909 GB, free: 11.48 MB / 0.67 GB Notification: Performance of SimCode: time 9.82e-07/1.24, allocations: 0 / 0.909 GB, free: 11.48 MB / 0.67 GB Notification: Performance of Templates: time 0.05357/1.293, allocations: 31.28 MB / 0.9396 GB, free: 12.82 MB / 0.7012 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)