Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") translateModel(BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8843/0.8843, allocations: 140.1 MB / 156 MB, free: 5.172 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001058/0.001059, allocations: 184.7 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.4 MB / 426.3 MB, free: 8.453 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 94.28 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001769/0.001769, allocations: 268.9 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.0005091, allocations: 16 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4885/0.489, allocations: 79.31 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.16/5.649, allocations: 2.295 GB / 3.034 GB, free: 34.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/5.65, allocations: 103.9 kB / 3.035 GB, free: 34.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.652/7.302, allocations: 474.7 MB / 3.498 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.312e-06/7.302, allocations: 0 / 3.498 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001776/7.302, allocations: 43.94 kB / 3.498 GB, free: 111.4 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.004427/7.306, allocations: 1.743 MB / 3.5 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/7.306, allocations: 8.031 kB / 3.5 GB, free: 109.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/7.31, allocations: 486.6 kB / 3.5 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/7.313, allocations: 1.336 MB / 3.502 GB, free: 107.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.923e-05/7.313, allocations: 86.3 kB / 3.502 GB, free: 107.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002701/7.313, allocations: 108.4 kB / 3.502 GB, free: 107.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0021/7.315, allocations: 1.249 MB / 3.503 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/7.315, allocations: 7.938 kB / 3.503 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/7.315, allocations: 40 kB / 3.503 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.764e-05/7.315, allocations: 34 kB / 3.503 GB, free: 106.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001801/7.317, allocations: 1.175 MB / 3.504 GB, free: 105.1 MB / 0.6823 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.00622/7.323, allocations: 4.866 MB / 3.509 GB, free: 99.83 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/7.325, allocations: 0.9917 MB / 3.51 GB, free: 98.83 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/7.325, allocations: 0.5635 MB / 3.511 GB, free: 98.26 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/7.325, allocations: 202.8 kB / 3.511 GB, free: 98.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/7.325, allocations: 43.22 kB / 3.511 GB, free: 97.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=78): time 4.348e-06/7.325, allocations: 7.938 kB / 3.511 GB, free: 97.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.004781/7.33, allocations: 2.952 MB / 3.514 GB, free: 94.96 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/7.33, allocations: 60.06 kB / 3.514 GB, free: 94.89 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/7.331, allocations: 0.9565 MB / 3.515 GB, free: 93.91 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/7.331, allocations: 45.7 kB / 3.515 GB, free: 93.86 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/7.332, allocations: 0.5312 MB / 3.515 GB, free: 93.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001869/7.332, allocations: 279.9 kB / 3.515 GB, free: 93.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/7.332, allocations: 16 kB / 3.515 GB, free: 93.03 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/7.332, allocations: 342.7 kB / 3.516 GB, free: 92.69 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004962/7.332, allocations: 437.7 kB / 3.516 GB, free: 92.26 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005819/7.333, allocations: 0.61 MB / 3.517 GB, free: 91.59 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/7.334, allocations: 1.07 MB / 3.518 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/7.334, allocations: 3.938 kB / 3.518 GB, free: 90.48 MB / 0.6823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001489/7.336, allocations: 1.235 MB / 3.519 GB, free: 89.23 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.261e-05/7.336, allocations: 178.6 kB / 3.519 GB, free: 89.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/7.336, allocations: 8 kB / 3.519 GB, free: 89.01 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/7.336, allocations: 68.81 kB / 3.519 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009905/7.337, allocations: 203.7 kB / 3.519 GB, free: 88.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/7.339, allocations: 2.995 MB / 3.522 GB, free: 85.56 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.34, allocations: 143.6 kB / 3.523 GB, free: 85.42 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.513e-05/7.34, allocations: 35.98 kB / 3.523 GB, free: 85.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.843e-06/7.34, allocations: 4 kB / 3.523 GB, free: 85.38 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001348/7.341, allocations: 1.109 MB / 3.524 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/7.341, allocations: 8.031 kB / 3.524 GB, free: 84.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/7.342, allocations: 72.81 kB / 3.524 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006266/7.342, allocations: 171.9 kB / 3.524 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/7.343, allocations: 1.815 MB / 3.526 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.345, allocations: 143.6 kB / 3.526 GB, free: 81.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/7.345, allocations: 28 kB / 3.526 GB, free: 81.91 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007147/7.345, allocations: 0.5981 MB / 3.526 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/7.346, allocations: 114.6 kB / 3.527 GB, free: 81.18 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/7.347, allocations: 1.181 MB / 3.528 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/7.347, allocations: 11.94 kB / 3.528 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/7.347, allocations: 0 / 3.528 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001216/7.348, allocations: 1.229 MB / 3.529 GB, free: 78.68 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/7.352, allocations: 2.784 MB / 3.532 GB, free: 75.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/7.352, allocations: 256 / 3.532 GB, free: 75.81 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/7.353, allocations: 247.6 kB / 3.532 GB, free: 75.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/7.353, allocations: 69 kB / 3.532 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/7.353, allocations: 27.92 kB / 3.532 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/7.355, allocations: 2.987 MB / 3.535 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/7.355, allocations: 4.031 kB / 3.535 GB, free: 72.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/7.357, allocations: 1.932 MB / 3.537 GB, free: 70.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000594/7.357, allocations: 323.7 kB / 3.537 GB, free: 69.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001747/7.357, allocations: 24 kB / 3.537 GB, free: 69.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009934/7.358, allocations: 115.6 kB / 3.537 GB, free: 69.85 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/7.358, allocations: 52.53 kB / 3.537 GB, free: 69.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.576e-05/7.358, allocations: 35.98 kB / 3.537 GB, free: 69.76 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007553/7.359, allocations: 0.6795 MB / 3.538 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.359, allocations: 0 / 3.538 GB, free: 69.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002294/7.362, allocations: 0.7968 MB / 3.539 GB, free: 68.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/7.363, allocations: 1.379 MB / 3.54 GB, free: 66.85 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002581/7.366, allocations: 1.881 MB / 3.542 GB, free: 64.94 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/7.366, allocations: 4 kB / 3.542 GB, free: 64.94 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007505/7.367, allocations: 0.666 MB / 3.543 GB, free: 64.26 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003527/7.37, allocations: 0.7996 MB / 3.543 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003902/7.374, allocations: 3.568 MB / 3.547 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008034/7.375, allocations: 1.421 MB / 3.548 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001721/7.377, allocations: 0.6921 MB / 3.549 GB, free: 57.69 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/7.377, allocations: 87.42 kB / 3.549 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of SimCode: time 7.31e-07/7.377, allocations: 0 / 3.549 GB, free: 57.61 MB / 0.6823 GB Notification: Performance of Templates: time 0.05011/7.427, allocations: 42.67 MB / 3.591 GB, free: 15.11 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatPortAir.pipe 2>&1)