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.8215/0.8215, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009737/0.0009738, allocations: 186.2 kB / 187.3 MB, free: 11.89 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.375/1.375, allocations: 221.3 MB / 441.4 MB, free: 4.66 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.0009354/0.0009353, allocations: 93.14 kB / 0.5124 GB, free: 24.2 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001759, allocations: 269.8 kB / 0.5939 GB, free: 7.984 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.458e-05, allocations: 4 kB / 0.6834 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4332/0.4332, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.945/6.379, allocations: 2.125 GB / 2.89 GB, free: 147 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002862/6.379, allocations: 98.44 kB / 2.89 GB, free: 147 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.086/8.465, allocations: 489.5 MB / 3.368 GB, free: 152.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.906e-06/8.465, allocations: 0 / 3.368 GB, free: 152.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.359e-05/8.465, allocations: 19.44 kB / 3.368 GB, free: 152.9 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002163/8.467, allocations: 1.071 MB / 3.369 GB, free: 152.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/8.467, allocations: 7.312 kB / 3.369 GB, free: 152.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/8.469, allocations: 300.8 kB / 3.369 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/8.47, allocations: 0.7473 MB / 3.37 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/8.471, allocations: 46.06 kB / 3.37 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/8.471, allocations: 64.31 kB / 3.37 GB, free: 152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/8.472, allocations: 0.5848 MB / 3.371 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/8.472, allocations: 3.172 kB / 3.371 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.494e-05/8.472, allocations: 27.75 kB / 3.371 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-05/8.472, allocations: 22.59 kB / 3.371 GB, free: 151.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008329/8.473, allocations: 0.5081 MB / 3.371 GB, free: 151.9 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.003185/8.476, allocations: 2.737 MB / 3.374 GB, free: 150.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006152/8.477, allocations: 447.8 kB / 3.374 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/8.477, allocations: 261.1 kB / 3.374 GB, free: 150.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002182/8.477, allocations: 94.7 kB / 3.375 GB, free: 150.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/8.477, allocations: 42.03 kB / 3.375 GB, free: 150.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 3.937e-06/8.477, allocations: 4.406 kB / 3.375 GB, free: 150.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002607/8.48, allocations: 1.329 MB / 3.376 GB, free: 150 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/8.48, allocations: 59 kB / 3.376 GB, free: 149.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/8.48, allocations: 462.9 kB / 3.376 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/8.48, allocations: 42.36 kB / 3.376 GB, free: 149.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/8.481, allocations: 351.4 kB / 3.377 GB, free: 149.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/8.481, allocations: 176.2 kB / 3.377 GB, free: 149.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/8.481, allocations: 11.12 kB / 3.377 GB, free: 149.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001284/8.481, allocations: 380.4 kB / 3.377 GB, free: 149.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/8.481, allocations: 177.9 kB / 3.378 GB, free: 149.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/8.482, allocations: 293 kB / 3.378 GB, free: 149.1 MB / 0.698 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.002065/8.484, allocations: 0.7875 MB / 3.379 GB, free: 149 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/8.484, allocations: 0 / 3.379 GB, free: 149 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0009265/8.485, allocations: 0.5848 MB / 3.379 GB, free: 149 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/8.485, allocations: 0.7074 MB / 3.38 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/8.485, allocations: 3.312 kB / 3.38 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001782/8.485, allocations: 35.97 kB / 3.38 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005222/8.486, allocations: 104.6 kB / 3.38 GB, free: 148.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/8.487, allocations: 2.102 MB / 3.382 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008643/8.488, allocations: 50.03 kB / 3.382 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.108e-05/8.488, allocations: 18.59 kB / 3.382 GB, free: 146.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/8.488, allocations: 3.938 kB / 3.382 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008017/8.489, allocations: 0.5046 MB / 3.383 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/8.489, allocations: 3.938 kB / 3.383 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001068/8.489, allocations: 40.8 kB / 3.383 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/8.489, allocations: 104.1 kB / 3.383 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009868/8.49, allocations: 1.499 MB / 3.384 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008313/8.491, allocations: 54.25 kB / 3.384 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/8.491, allocations: 18.5 kB / 3.384 GB, free: 144.9 MB / 0.698 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 () * 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.0002432/8.491, allocations: 135.5 kB / 3.384 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/8.491, allocations: 73.8 kB / 3.384 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/8.493, allocations: 0.5583 MB / 3.385 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/8.493, allocations: 3.5 kB / 3.385 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/8.493, allocations: 7.484 kB / 3.385 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008326/8.493, allocations: 0.7805 MB / 3.386 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002527/8.496, allocations: 1.555 MB / 3.387 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/8.496, allocations: 0 / 3.387 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/8.497, allocations: 130 kB / 3.387 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/8.497, allocations: 38.55 kB / 3.387 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/8.497, allocations: 13.41 kB / 3.387 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/8.498, allocations: 1.942 MB / 3.389 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/8.498, allocations: 0 / 3.389 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001222/8.499, allocations: 0.9713 MB / 3.39 GB, free: 141.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003699/8.5, allocations: 198.3 kB / 3.39 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/8.5, allocations: 14.64 kB / 3.39 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005578/8.5, allocations: 50.83 kB / 3.391 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/8.5, allocations: 36.12 kB / 3.391 GB, free: 141.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/8.5, allocations: 20.95 kB / 3.391 GB, free: 141.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004818/8.501, allocations: 367.2 kB / 3.391 GB, free: 141.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.5e-07/8.501, allocations: 0 / 3.391 GB, free: 141.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001848/8.503, allocations: 496.7 kB / 3.391 GB, free: 141.5 MB / 0.698 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 () * 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.002299/8.505, allocations: 1.226 MB / 3.393 GB, free: 141.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001841/8.507, allocations: 0.9977 MB / 3.394 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/8.507, allocations: 2.875 kB / 3.394 GB, free: 140.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004662/8.507, allocations: 371.6 kB / 3.394 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002257/8.51, allocations: 470.2 kB / 3.394 GB, free: 140.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/8.512, allocations: 1.291 MB / 3.396 GB, free: 140.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/8.512, allocations: 1.022 MB / 3.397 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001057/8.513, allocations: 276.9 kB / 3.397 GB, free: 139.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/8.513, allocations: 48.31 kB / 3.397 GB, free: 139.7 MB / 0.698 GB Notification: Performance of SimCode: time 9.01e-07/8.513, allocations: 3.969 kB / 3.397 GB, free: 139.7 MB / 0.698 GB Notification: Performance of Templates: time 0.04629/8.56, allocations: 33.58 MB / 3.43 GB, free: 135.3 MB / 0.698 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)