Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.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.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8355/0.8355, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001166/0.001166, allocations: 169.1 kB / 191.5 MB, free: 5.75 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.535/1.535, allocations: 223.2 MB / 447.7 MB, free: 4.789 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.0008809/0.000881, allocations: 84.39 kB / 0.5188 GB, free: 1.145 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001763/0.001763, allocations: 270.9 kB / 0.6005 GB, free: 48.73 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004393, allocations: 15.98 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 82.79 MB / 0.7737 GB, free: 13.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.149/4.291, allocations: 2.125 GB / 2.899 GB, free: 177.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/4.291, allocations: 97.47 kB / 2.899 GB, free: 177.5 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.831/6.122, allocations: 490 MB / 3.378 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.335e-06/6.122, allocations: 0 / 3.378 GB, free: 148.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001403/6.122, allocations: 23.8 kB / 3.378 GB, free: 148.2 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.004463/6.127, allocations: 1.211 MB / 3.379 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/6.127, allocations: 11 kB / 3.379 GB, free: 147.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/6.13, allocations: 297.2 kB / 3.379 GB, free: 147.7 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/6.133, allocations: 0.7488 MB / 3.38 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/6.133, allocations: 49.62 kB / 3.38 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003227/6.133, allocations: 62.25 kB / 3.38 GB, free: 147.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/6.135, allocations: 0.5947 MB / 3.381 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.413e-05/6.135, allocations: 0.6562 kB / 3.381 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/6.135, allocations: 28.72 kB / 3.381 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-05/6.135, allocations: 20.09 kB / 3.381 GB, free: 147.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/6.137, allocations: 0.5319 MB / 3.381 GB, free: 147.4 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.005392/6.142, allocations: 2.725 MB / 3.384 GB, free: 146.1 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009411/6.143, allocations: 457.9 kB / 3.384 GB, free: 146 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002404/6.144, allocations: 103.6 kB / 3.384 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/6.144, allocations: 40.55 kB / 3.385 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 3.406e-06/6.144, allocations: 0 / 3.385 GB, free: 145.9 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49): time 0.004727/6.148, allocations: 1.513 MB / 3.386 GB, free: 145.5 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/6.148, allocations: 60.03 kB / 3.386 GB, free: 145.4 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/6.15, allocations: 470.5 kB / 3.386 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.232e-05/6.15, allocations: 37.77 kB / 3.387 GB, free: 145.3 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003616/6.15, allocations: 353.8 kB / 3.387 GB, free: 145.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002413/6.15, allocations: 174 kB / 3.387 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.903e-05/6.15, allocations: 13.88 kB / 3.387 GB, free: 145.1 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002032/6.151, allocations: 370.1 kB / 3.387 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/6.151, allocations: 184.2 kB / 3.388 GB, free: 144.8 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/6.152, allocations: 294.4 kB / 3.388 GB, free: 144.7 MB / 0.7136 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/6.154, allocations: 0.7839 MB / 3.389 GB, free: 144.6 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/6.154, allocations: 3.953 kB / 3.389 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001462/6.156, allocations: 0.5921 MB / 3.389 GB, free: 144.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002877/6.156, allocations: 0.7084 MB / 3.39 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/6.156, allocations: 2.062 kB / 3.39 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002113/6.156, allocations: 35.09 kB / 3.39 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006464/6.157, allocations: 109.5 kB / 3.39 GB, free: 143.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/6.158, allocations: 2.116 MB / 3.392 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/6.16, allocations: 55.36 kB / 3.392 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.097e-05/6.16, allocations: 17.94 kB / 3.392 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/6.16, allocations: 3.969 kB / 3.392 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001045/6.161, allocations: 0.5071 MB / 3.393 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/6.161, allocations: 5.078 kB / 3.393 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/6.161, allocations: 35.88 kB / 3.393 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004324/6.161, allocations: 97.55 kB / 3.393 GB, free: 141.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/6.162, allocations: 1.525 MB / 3.394 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009982/6.163, allocations: 51.28 kB / 3.394 GB, free: 140.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/6.163, allocations: 18.62 kB / 3.394 GB, free: 140.5 MB / 0.7136 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (57): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006355/6.164, allocations: 334.8 kB / 3.395 GB, free: 140.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002545/6.164, allocations: 68.94 kB / 3.395 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/6.166, allocations: 0.5737 MB / 3.395 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.217e-05/6.166, allocations: 8.578 kB / 3.395 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/6.166, allocations: 1.406 kB / 3.395 GB, free: 140.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001098/6.167, allocations: 0.7847 MB / 3.396 GB, free: 139.7 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004538/6.171, allocations: 1.562 MB / 3.398 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/6.171, allocations: 8.375 kB / 3.398 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007927/6.172, allocations: 124.6 kB / 3.398 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002443/6.172, allocations: 33.86 kB / 3.398 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.441e-05/6.172, allocations: 9.812 kB / 3.398 GB, free: 139.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001482/6.174, allocations: 1.962 MB / 3.4 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/6.174, allocations: 6.984 kB / 3.4 GB, free: 137.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/6.175, allocations: 0.9794 MB / 3.401 GB, free: 137.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005982/6.176, allocations: 210.8 kB / 3.401 GB, free: 137 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/6.176, allocations: 8.75 kB / 3.401 GB, free: 137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/6.177, allocations: 41.56 kB / 3.401 GB, free: 137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/6.177, allocations: 39.56 kB / 3.401 GB, free: 137 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/6.177, allocations: 18.33 kB / 3.401 GB, free: 137 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006371/6.178, allocations: 374.1 kB / 3.401 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.6e-07/6.178, allocations: 1.094 kB / 3.401 GB, free: 136.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002297/6.18, allocations: 495.4 kB / 3.402 GB, free: 136.9 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.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 (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002051/6.182, allocations: 1.228 MB / 3.403 GB, free: 136.6 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001801/6.184, allocations: 0.9929 MB / 3.404 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/6.184, allocations: 3.406 kB / 3.404 GB, free: 136.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005312/6.185, allocations: 374.4 kB / 3.404 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/6.187, allocations: 460.9 kB / 3.405 GB, free: 136.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/6.19, allocations: 1.972 MB / 3.407 GB, free: 135.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006271/6.191, allocations: 1.019 MB / 3.408 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001061/6.192, allocations: 218.2 kB / 3.408 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/6.192, allocations: 61.58 kB / 3.408 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of SimCode: time 1.242e-06/6.192, allocations: 0 / 3.408 GB, free: 134.8 MB / 0.7136 GB Notification: Performance of Templates: time 0.04405/6.236, allocations: 29.12 MB / 3.436 GB, free: 134.2 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)