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 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.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.7913/0.7913, allocations: 143.4 MB / 158.3 MB, free: 5.785 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.001183/0.001183, allocations: 181 kB / 191.5 MB, free: 5.758 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.616/1.616, allocations: 223.2 MB / 447.7 MB, free: 4.797 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.0009765/0.0009765, allocations: 91.77 kB / 0.5188 GB, free: 1.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.00173/0.00173, allocations: 267.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004528, allocations: 18.53 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1969, allocations: 82.79 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.189/5.386, allocations: 2.126 GB / 2.9 GB, free: 244.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/5.386, allocations: 102.6 kB / 2.9 GB, free: 244.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.204/6.59, allocations: 486.6 MB / 3.375 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/6.59, allocations: 0 / 3.375 GB, free: 46.86 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.49e-05/6.59, allocations: 43.88 kB / 3.375 GB, free: 46.81 MB / 0.7136 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.003144/6.593, allocations: 1.759 MB / 3.377 GB, free: 45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.381e-05/6.593, allocations: 8.031 kB / 3.377 GB, free: 45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/6.596, allocations: 485.7 kB / 3.377 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/6.599, allocations: 1.296 MB / 3.379 GB, free: 43.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/6.599, allocations: 78 kB / 3.379 GB, free: 43.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001462/6.599, allocations: 111.9 kB / 3.379 GB, free: 42.99 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/6.601, allocations: 1.237 MB / 3.38 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/6.601, allocations: 0 / 3.38 GB, free: 41.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.8e-05/6.601, allocations: 44 kB / 3.38 GB, free: 41.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.745e-05/6.601, allocations: 45.92 kB / 3.38 GB, free: 41.66 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/6.602, allocations: 1.179 MB / 3.381 GB, free: 40.48 MB / 0.7136 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.005497/6.608, allocations: 4.847 MB / 3.386 GB, free: 35.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/6.609, allocations: 0.9884 MB / 3.387 GB, free: 34.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/6.609, allocations: 206.8 kB / 3.387 GB, free: 34.01 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/6.609, allocations: 43.22 kB / 3.387 GB, free: 33.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=78): time 2.675e-06/6.609, allocations: 0 / 3.387 GB, free: 33.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81): time 0.004587/6.614, allocations: 2.948 MB / 3.39 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/6.614, allocations: 60.06 kB / 3.39 GB, free: 30.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/6.615, allocations: 0.854 MB / 3.391 GB, free: 30 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.767e-05/6.615, allocations: 41.7 kB / 3.391 GB, free: 29.95 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/6.615, allocations: 0.5313 MB / 3.391 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001741/6.615, allocations: 291.8 kB / 3.392 GB, free: 29.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.924e-05/6.615, allocations: 16 kB / 3.392 GB, free: 29.11 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.584e-05/6.615, allocations: 345.9 kB / 3.392 GB, free: 28.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004865/6.616, allocations: 437.6 kB / 3.392 GB, free: 28.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006071/6.616, allocations: 0.6028 MB / 3.393 GB, free: 27.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006025/6.617, allocations: 0.5416 MB / 3.394 GB, free: 27.13 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/6.617, allocations: 0 / 3.394 GB, free: 27.13 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00149/6.618, allocations: 1.231 MB / 3.395 GB, free: 25.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001757/6.619, allocations: 1.065 MB / 3.396 GB, free: 24.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/6.619, allocations: 0 / 3.396 GB, free: 24.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/6.619, allocations: 72.81 kB / 3.396 GB, free: 24.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/6.62, allocations: 199.6 kB / 3.396 GB, free: 24.47 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/6.621, allocations: 3.01 MB / 3.399 GB, free: 21.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/6.623, allocations: 143.6 kB / 3.399 GB, free: 21.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.396e-05/6.623, allocations: 32 kB / 3.399 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/6.623, allocations: 8 kB / 3.399 GB, free: 21.11 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001422/6.625, allocations: 1.113 MB / 3.4 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/6.625, allocations: 0 / 3.4 GB, free: 19.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001652/6.625, allocations: 73.16 kB / 3.4 GB, free: 19.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006249/6.625, allocations: 172.2 kB / 3.401 GB, free: 19.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001158/6.626, allocations: 1.838 MB / 3.402 GB, free: 17.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/6.628, allocations: 139.7 kB / 3.402 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.945e-05/6.628, allocations: 28 kB / 3.402 GB, free: 17.61 MB / 0.7136 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.000782/6.629, allocations: 0.5943 MB / 3.403 GB, free: 17 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/6.629, allocations: 110.7 kB / 3.403 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/6.631, allocations: 1.184 MB / 3.404 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/6.631, allocations: 12 kB / 3.404 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/6.631, allocations: 0 / 3.404 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/6.632, allocations: 1.245 MB / 3.406 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003743/6.635, allocations: 2.764 MB / 3.408 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/6.636, allocations: 7.938 kB / 3.408 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/6.637, allocations: 251.9 kB / 3.408 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001745/6.637, allocations: 65.19 kB / 3.409 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/6.637, allocations: 23.98 kB / 3.409 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/6.638, allocations: 3.014 MB / 3.412 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/6.638, allocations: 4 kB / 3.412 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002108/6.64, allocations: 2.025 MB / 3.414 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007185/6.641, allocations: 323.7 kB / 3.414 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/6.641, allocations: 23.98 kB / 3.414 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/6.642, allocations: 115.7 kB / 3.414 GB, free: 5.391 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.874e-05/6.642, allocations: 52.53 kB / 3.414 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.366e-05/6.642, allocations: 28 kB / 3.414 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007302/6.643, allocations: 0.6796 MB / 3.415 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.5e-07/6.643, allocations: 0 / 3.415 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002135/6.645, allocations: 0.7851 MB / 3.415 GB, free: 3.836 MB / 0.7136 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.001592/6.647, allocations: 1.358 MB / 3.417 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002599/6.65, allocations: 1.869 MB / 3.419 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/6.65, allocations: 0 / 3.419 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.3473/6.997, allocations: 0.6632 MB / 3.419 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003926/7.001, allocations: 0.7707 MB / 3.42 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/7.006, allocations: 3.574 MB / 3.423 GB, free: 138.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009063/7.006, allocations: 1.445 MB / 3.425 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00227/7.009, allocations: 0.6868 MB / 3.426 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003131/7.009, allocations: 88.83 kB / 3.426 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.944e-06/7.009, allocations: 0 / 3.426 GB, free: 137.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.06485/7.074, allocations: 41.91 MB / 3.467 GB, free: 137 MB / 0.7136 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)