Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8127/0.8127, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.671/1.671, allocations: 221.5 MB / 395.5 MB, free: 10.74 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009937/0.0009938, allocations: 98.08 kB / 478.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.273e-05, allocations: 4 kB / 0.5534 GB, free: 9.027 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5692/0.5692, allocations: 82.31 MB / 0.6338 GB, free: 40.8 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.361/1.931, allocations: 494.6 MB / 1.117 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/1.931, allocations: 85.66 kB / 1.117 GB, free: 188.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.264/3.195, allocations: 398.4 MB / 1.506 GB, free: 91.12 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.192e-06/3.195, allocations: 4 kB / 1.506 GB, free: 91.11 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.121e-05/3.195, allocations: 19.91 kB / 1.506 GB, free: 91.1 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002007/3.197, allocations: 1.16 MB / 1.507 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/3.197, allocations: 8.031 kB / 1.507 GB, free: 89.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/3.198, allocations: 155 kB / 1.507 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001747/3.2, allocations: 0.9872 MB / 1.508 GB, free: 88.71 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/3.2, allocations: 23.98 kB / 1.508 GB, free: 88.68 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/3.2, allocations: 27.91 kB / 1.508 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004181/3.2, allocations: 278.6 kB / 1.509 GB, free: 88.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/3.201, allocations: 442.2 kB / 1.509 GB, free: 87.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/3.201, allocations: 7.938 kB / 1.509 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/3.201, allocations: 4 kB / 1.509 GB, free: 87.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/3.201, allocations: 8 kB / 1.509 GB, free: 87.9 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.001797/3.203, allocations: 2.133 MB / 1.511 GB, free: 85.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003006/3.203, allocations: 255.4 kB / 1.511 GB, free: 85.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/3.203, allocations: 116.8 kB / 1.511 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008446/3.204, allocations: 2.031 MB / 1.513 GB, free: 82.79 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/3.204, allocations: 34.56 kB / 1.513 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.094e-06/3.204, allocations: 0 / 1.513 GB, free: 82.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.003925/3.208, allocations: 1.468 MB / 1.515 GB, free: 81.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.355e-05/3.208, allocations: 59.39 kB / 1.515 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/3.208, allocations: 402.2 kB / 1.515 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/3.208, allocations: 29.7 kB / 1.515 GB, free: 80.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/3.209, allocations: 324.4 kB / 1.516 GB, free: 80.39 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.5e-05/3.209, allocations: 149.8 kB / 1.516 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.698e-05/3.209, allocations: 0 / 1.516 GB, free: 80.24 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/3.209, allocations: 370.7 kB / 1.516 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/3.209, allocations: 129.1 kB / 1.516 GB, free: 79.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/3.209, allocations: 254.5 kB / 1.517 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/3.21, allocations: 233.9 kB / 1.517 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/3.21, allocations: 4 kB / 1.517 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001246/3.211, allocations: 0.6029 MB / 1.517 GB, free: 78.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/3.211, allocations: 1.138 MB / 1.518 GB, free: 77.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/3.211, allocations: 8 kB / 1.519 GB, free: 77.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004526/3.212, allocations: 173.5 kB / 1.519 GB, free: 77.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/3.212, allocations: 75.91 kB / 1.519 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/3.213, allocations: 1.374 MB / 1.52 GB, free: 75.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004721/3.214, allocations: 24.11 kB / 1.52 GB, free: 75.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.384e-05/3.214, allocations: 27.92 kB / 1.52 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/3.214, allocations: 4.938 kB / 1.52 GB, free: 75.64 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/3.215, allocations: 0.5165 MB / 1.521 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/3.215, allocations: 3.953 kB / 1.521 GB, free: 75.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003836/3.215, allocations: 169.5 kB / 1.521 GB, free: 74.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/3.215, allocations: 67.91 kB / 1.521 GB, free: 74.87 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008968/3.216, allocations: 1.37 MB / 1.522 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004313/3.217, allocations: 35.89 kB / 1.522 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.78e-05/3.217, allocations: 24 kB / 1.522 GB, free: 73.39 MB / 0.6823 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol1.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real vol.dynBal.mb_flow:VARIABLE(unit = "kg/s" protected = true ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002158/3.217, allocations: 128 kB / 1.522 GB, free: 73.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.545e-05/3.217, allocations: 63.25 kB / 1.522 GB, free: 73.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/3.219, allocations: 0.6299 MB / 1.523 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/3.219, allocations: 4 kB / 1.523 GB, free: 72.55 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/3.219, allocations: 7.984 kB / 1.523 GB, free: 72.54 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001066/3.22, allocations: 0.6706 MB / 1.524 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/3.222, allocations: 1.368 MB / 1.525 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/3.222, allocations: 3.984 kB / 1.525 GB, free: 70.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001653/3.222, allocations: 43.98 kB / 1.525 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000425/3.223, allocations: 169.5 kB / 1.525 GB, free: 70.17 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/3.223, allocations: 11.97 kB / 1.525 GB, free: 70.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009897/3.224, allocations: 1.355 MB / 1.527 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/3.224, allocations: 0 / 1.527 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/3.225, allocations: 0.8711 MB / 1.527 GB, free: 67.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002695/3.225, allocations: 200.3 kB / 1.528 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.248e-05/3.226, allocations: 64 / 1.528 GB, free: 67.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/3.226, allocations: 27.86 kB / 1.528 GB, free: 67.61 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/3.226, allocations: 35.94 kB / 1.528 GB, free: 67.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/3.226, allocations: 19.98 kB / 1.528 GB, free: 67.55 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003169/3.226, allocations: 310.9 kB / 1.528 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/3.226, allocations: 4 kB / 1.528 GB, free: 67.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001633/3.228, allocations: 479.6 kB / 1.528 GB, free: 66.78 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T_degC,vol1.dynBal.medium.T_degC) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009406/3.229, allocations: 486.5 kB / 1.529 GB, free: 66.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001185/3.23, allocations: 0.655 MB / 1.53 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/3.23, allocations: 0 / 1.53 GB, free: 65.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/3.231, allocations: 236.4 kB / 1.53 GB, free: 65.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/3.232, allocations: 304.4 kB / 1.53 GB, free: 65.12 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/3.233, allocations: 0.8915 MB / 1.531 GB, free: 64.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/3.234, allocations: 0.927 MB / 1.532 GB, free: 63.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0007169/3.234, allocations: 262.4 kB / 1.532 GB, free: 62.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/3.235, allocations: 55.41 kB / 1.532 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of SimCode: time 9.52e-07/3.235, allocations: 0 / 1.532 GB, free: 62.94 MB / 0.6823 GB Notification: Performance of Templates: time 0.02217/3.257, allocations: 15.93 MB / 1.548 GB, free: 47.16 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)