Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8924/0.8924, allocations: 141.8 MB / 149.3 MB, free: 9.219 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 184.8 kB / 182.2 MB, free: 9.449 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.65/1.65, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009624/0.0009621, allocations: 88.09 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001824/0.001824, allocations: 283.1 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.752e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4855, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.452/1.938, allocations: 491.9 MB / 1.238 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.938, allocations: 89.2 kB / 1.238 GB, free: 191.2 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.346/3.284, allocations: 397.9 MB / 1.626 GB, free: 88.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.152e-06/3.284, allocations: 0 / 1.626 GB, free: 88.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.389e-05/3.284, allocations: 19.98 kB / 1.626 GB, free: 88.11 MB / 0.698 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.002654/3.287, allocations: 1.157 MB / 1.628 GB, free: 86.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/3.287, allocations: 12.03 kB / 1.628 GB, free: 86.89 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001478/3.288, allocations: 154.9 kB / 1.628 GB, free: 86.74 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/3.291, allocations: 0.9756 MB / 1.629 GB, free: 85.71 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/3.291, allocations: 12 kB / 1.629 GB, free: 85.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.731e-05/3.291, allocations: 28 kB / 1.629 GB, free: 85.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000518/3.291, allocations: 286.5 kB / 1.629 GB, free: 85.4 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/3.292, allocations: 450.2 kB / 1.629 GB, free: 84.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/3.292, allocations: 0 / 1.629 GB, free: 84.93 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.236e-05/3.292, allocations: 0 / 1.629 GB, free: 84.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/3.292, allocations: 15.95 kB / 1.629 GB, free: 84.91 MB / 0.698 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.002251/3.294, allocations: 2.133 MB / 1.632 GB, free: 82.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003061/3.295, allocations: 247 kB / 1.632 GB, free: 82.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/3.295, allocations: 124.8 kB / 1.632 GB, free: 82.29 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009818/3.296, allocations: 2.015 MB / 1.634 GB, free: 79.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/3.296, allocations: 38.75 kB / 1.634 GB, free: 79.77 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/3.296, allocations: 7.875 kB / 1.634 GB, free: 79.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=43): time 0.004587/3.3, allocations: 1.46 MB / 1.635 GB, free: 78.24 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/3.3, allocations: 71.31 kB / 1.635 GB, free: 78.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005062/3.301, allocations: 402.1 kB / 1.636 GB, free: 77.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/3.301, allocations: 25.7 kB / 1.636 GB, free: 77.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/3.301, allocations: 320.3 kB / 1.636 GB, free: 77.41 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/3.301, allocations: 145.8 kB / 1.636 GB, free: 77.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/3.301, allocations: 4 kB / 1.636 GB, free: 77.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.792e-05/3.301, allocations: 362.8 kB / 1.637 GB, free: 76.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/3.302, allocations: 129.1 kB / 1.637 GB, free: 76.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/3.302, allocations: 250.5 kB / 1.637 GB, free: 76.48 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007424/3.303, allocations: 233.4 kB / 1.637 GB, free: 76.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/3.303, allocations: 4 kB / 1.637 GB, free: 76.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00131/3.304, allocations: 0.6076 MB / 1.638 GB, free: 75.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002218/3.304, allocations: 1.138 MB / 1.639 GB, free: 74.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/3.304, allocations: 4 kB / 1.639 GB, free: 74.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004959/3.305, allocations: 173.5 kB / 1.639 GB, free: 74.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002471/3.305, allocations: 71.91 kB / 1.639 GB, free: 74.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/3.306, allocations: 1.378 MB / 1.64 GB, free: 72.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005925/3.307, allocations: 27.95 kB / 1.64 GB, free: 72.69 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/3.307, allocations: 23.98 kB / 1.641 GB, free: 72.67 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/3.307, allocations: 4.781 kB / 1.641 GB, free: 72.66 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001209/3.308, allocations: 0.5163 MB / 1.641 GB, free: 72.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/3.308, allocations: 0 / 1.641 GB, free: 72.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/3.308, allocations: 177.9 kB / 1.641 GB, free: 71.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/3.309, allocations: 67.91 kB / 1.641 GB, free: 71.89 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009632/3.309, allocations: 1.378 MB / 1.643 GB, free: 70.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/3.31, allocations: 31.81 kB / 1.643 GB, free: 70.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/3.31, allocations: 24 kB / 1.643 GB, free: 70.41 MB / 0.698 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.0002125/3.31, allocations: 121.7 kB / 1.643 GB, free: 70.29 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/3.31, allocations: 55.53 kB / 1.643 GB, free: 70.23 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/3.312, allocations: 0.6371 MB / 1.643 GB, free: 69.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/3.312, allocations: 4 kB / 1.643 GB, free: 69.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/3.312, allocations: 0 / 1.643 GB, free: 69.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/3.313, allocations: 0.6665 MB / 1.644 GB, free: 68.85 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002491/3.316, allocations: 1.36 MB / 1.645 GB, free: 67.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/3.316, allocations: 4 kB / 1.645 GB, free: 67.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/3.316, allocations: 47.91 kB / 1.645 GB, free: 67.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004446/3.316, allocations: 165.6 kB / 1.646 GB, free: 67.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/3.317, allocations: 11.98 kB / 1.646 GB, free: 67.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009202/3.317, allocations: 1.358 MB / 1.647 GB, free: 65.79 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/3.317, allocations: 3.938 kB / 1.647 GB, free: 65.79 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001546/3.319, allocations: 0.8802 MB / 1.648 GB, free: 64.88 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003172/3.319, allocations: 184.4 kB / 1.648 GB, free: 64.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/3.319, allocations: 8 kB / 1.648 GB, free: 64.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/3.32, allocations: 31.88 kB / 1.648 GB, free: 64.64 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/3.32, allocations: 19.97 kB / 1.648 GB, free: 64.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/3.32, allocations: 19.98 kB / 1.648 GB, free: 64.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000331/3.32, allocations: 310.9 kB / 1.648 GB, free: 64.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.6e-07/3.32, allocations: 0 / 1.648 GB, free: 64.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001689/3.322, allocations: 483.6 kB / 1.649 GB, free: 63.82 MB / 0.698 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.001254/3.323, allocations: 0.4929 MB / 1.649 GB, free: 63.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001248/3.325, allocations: 0.6557 MB / 1.65 GB, free: 62.68 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/3.325, allocations: 0 / 1.65 GB, free: 62.68 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003934/3.325, allocations: 224.1 kB / 1.65 GB, free: 62.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/3.327, allocations: 294.2 kB / 1.65 GB, free: 62.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001491/3.328, allocations: 0.894 MB / 1.651 GB, free: 61.25 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/3.328, allocations: 0.927 MB / 1.652 GB, free: 60.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0007835/3.329, allocations: 258.2 kB / 1.652 GB, free: 60.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/3.329, allocations: 59.41 kB / 1.653 GB, free: 59.98 MB / 0.698 GB Notification: Performance of SimCode: time 5.91e-07/3.329, allocations: 0 / 1.653 GB, free: 59.98 MB / 0.698 GB Notification: Performance of Templates: time 0.02273/3.352, allocations: 15.9 MB / 1.668 GB, free: 44.25 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1)