Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8176/0.8176, 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.001126/0.001126, allocations: 181.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.729/1.729, allocations: 205.4 MB / 426.3 MB, free: 8.484 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.0007885/0.0007884, allocations: 82.45 kB / 0.4945 GB, free: 8.426 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001581/0.001581, allocations: 274.7 kB / 0.5729 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004837, allocations: 27.98 kB / 0.662 GB, free: 6.816 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3336, allocations: 79.29 MB / 0.7395 GB, free: 46.36 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7275/1.061, allocations: 369.3 MB / 1.1 GB, free: 7.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/1.061, allocations: 90.53 kB / 1.1 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7938/1.855, allocations: 240.3 MB / 1.335 GB, free: 75.36 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.695e-06/1.855, allocations: 0 / 1.335 GB, free: 75.36 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.974e-05/1.855, allocations: 19.98 kB / 1.335 GB, free: 75.34 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002107/1.858, allocations: 0.9777 MB / 1.336 GB, free: 74.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.858, allocations: 12.03 kB / 1.336 GB, free: 74.29 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004299/1.858, allocations: 95.92 kB / 1.336 GB, free: 74.2 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.879, allocations: 11.35 MB / 1.347 GB, free: 62.68 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.254e-05/1.879, allocations: 37.38 kB / 1.347 GB, free: 62.64 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/1.879, allocations: 44.28 kB / 1.347 GB, free: 62.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008457/1.88, allocations: 0.4889 MB / 1.348 GB, free: 62.08 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/1.88, allocations: 7.875 kB / 1.348 GB, free: 62.07 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/1.88, allocations: 24 kB / 1.348 GB, free: 62.05 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-05/1.88, allocations: 12 kB / 1.348 GB, free: 62.04 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004982/1.881, allocations: 303.7 kB / 1.348 GB, free: 61.74 MB / 0.6667 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.002757/1.884, allocations: 2.7 MB / 1.351 GB, free: 58.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002663/1.884, allocations: 181.5 kB / 1.351 GB, free: 58.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/1.884, allocations: 96.81 kB / 1.351 GB, free: 58.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002537/1.884, allocations: 344.4 kB / 1.351 GB, free: 58.11 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.884, allocations: 38.56 kB / 1.351 GB, free: 58.06 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/1.884, allocations: 0 / 1.351 GB, free: 58.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=22): time 0.0005259/1.885, allocations: 300.4 kB / 1.351 GB, free: 57.77 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/1.885, allocations: 63.28 kB / 1.351 GB, free: 57.69 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005194/1.885, allocations: 0.5029 MB / 1.352 GB, free: 57.18 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/1.885, allocations: 33.64 kB / 1.352 GB, free: 57.14 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000163/1.886, allocations: 347.3 kB / 1.352 GB, free: 56.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.783e-05/1.886, allocations: 78.8 kB / 1.352 GB, free: 56.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/1.886, allocations: 8 kB / 1.352 GB, free: 56.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.61e-05/1.886, allocations: 362.8 kB / 1.353 GB, free: 56.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/1.886, allocations: 83.95 kB / 1.353 GB, free: 56.26 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/1.886, allocations: 230.8 kB / 1.353 GB, free: 55.97 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/1.886, allocations: 332.8 kB / 1.353 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.886, allocations: 0 / 1.353 GB, free: 55.59 MB / 0.6667 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005279/1.887, allocations: 388.6 kB / 1.354 GB, free: 55.2 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/1.887, allocations: 218.1 kB / 1.354 GB, free: 54.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.887, allocations: 4 kB / 1.354 GB, free: 54.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.887, allocations: 8 kB / 1.354 GB, free: 54.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/1.887, allocations: 79.84 kB / 1.354 GB, free: 54.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/1.887, allocations: 7.984 kB / 1.354 GB, free: 54.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000447/1.888, allocations: 59.56 kB / 1.354 GB, free: 54.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-05/1.888, allocations: 20 kB / 1.354 GB, free: 54.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.604e-06/1.888, allocations: 4 kB / 1.354 GB, free: 54.75 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003855/1.888, allocations: 311.5 kB / 1.354 GB, free: 54.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.888, allocations: 4 kB / 1.354 GB, free: 54.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/1.888, allocations: 8.5 kB / 1.354 GB, free: 54.43 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/1.888, allocations: 83.83 kB / 1.355 GB, free: 54.35 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/1.888, allocations: 12 kB / 1.355 GB, free: 54.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/1.889, allocations: 47.66 kB / 1.355 GB, free: 54.29 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.043e-05/1.889, allocations: 20 kB / 1.355 GB, free: 54.27 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002797/1.889, allocations: 280.9 kB / 1.355 GB, free: 53.98 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.59e-05/1.889, allocations: 59.28 kB / 1.355 GB, free: 53.93 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004328/1.89, allocations: 274.5 kB / 1.355 GB, free: 53.65 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.89, allocations: 4 kB / 1.355 GB, free: 53.64 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/1.89, allocations: 0 / 1.355 GB, free: 53.64 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002661/1.89, allocations: 380.8 kB / 1.356 GB, free: 53.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/1.891, allocations: 1.049 MB / 1.357 GB, free: 52.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.891, allocations: 4 kB / 1.357 GB, free: 52.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/1.892, allocations: 52.25 kB / 1.357 GB, free: 52.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/1.892, allocations: 4 kB / 1.357 GB, free: 52.02 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.398e-05/1.892, allocations: 8 kB / 1.357 GB, free: 52.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.892, allocations: 11.88 kB / 1.357 GB, free: 52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/1.892, allocations: 4 kB / 1.357 GB, free: 51.99 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005546/1.892, allocations: 0.5135 MB / 1.357 GB, free: 51.44 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.893, allocations: 180.2 kB / 1.357 GB, free: 51.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.395e-05/1.893, allocations: 11.98 kB / 1.357 GB, free: 51.23 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/1.893, allocations: 28.05 kB / 1.357 GB, free: 51.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/1.893, allocations: 23.91 kB / 1.357 GB, free: 51.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/1.893, allocations: 12 kB / 1.357 GB, free: 51.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003905/1.893, allocations: 390.8 kB / 1.358 GB, free: 50.79 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/1.893, allocations: 0 / 1.358 GB, free: 50.79 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001208/1.895, allocations: 371.2 kB / 1.358 GB, free: 50.43 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008096/1.895, allocations: 395.6 kB / 1.359 GB, free: 50.04 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0006188/1.896, allocations: 392.8 kB / 1.359 GB, free: 49.65 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.896, allocations: 0 / 1.359 GB, free: 49.65 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/1.896, allocations: 107.7 kB / 1.359 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/1.898, allocations: 375.4 kB / 1.359 GB, free: 49.19 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/1.9, allocations: 1.352 MB / 1.361 GB, free: 47.78 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004859/1.901, allocations: 0.9019 MB / 1.362 GB, free: 46.85 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0007329/1.901, allocations: 157.1 kB / 1.362 GB, free: 46.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/1.901, allocations: 55.42 kB / 1.362 GB, free: 46.64 MB / 0.6667 GB Notification: Performance of SimCode: time 7.31e-07/1.901, allocations: 0 / 1.362 GB, free: 46.64 MB / 0.6667 GB Notification: Performance of Templates: time 0.02146/1.923, allocations: 13.18 MB / 1.375 GB, free: 33.58 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)