Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.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.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7853/0.7853, 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.001083/0.001083, allocations: 178.5 kB / 188.5 MB, free: 15.84 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.794/1.794, allocations: 205.4 MB / 426.3 MB, free: 8.469 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.001078/0.001077, allocations: 94.28 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001823/0.001823, allocations: 276 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004968, allocations: 20 kB / 0.662 GB, free: 6.812 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4637/0.4642, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.627/6.091, allocations: 2.044 GB / 2.783 GB, free: 246.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/6.092, allocations: 87.89 kB / 2.783 GB, free: 246.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.95/8.041, allocations: 0.5684 GB / 3.352 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.513e-06/8.041, allocations: 0 / 3.352 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001215/8.041, allocations: 26.55 kB / 3.352 GB, free: 153.9 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: 187 * Number of variables: 187 Notification: Performance of Generate backend data structure: time 0.004039/8.045, allocations: 1.347 MB / 3.353 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/8.046, allocations: 11.81 kB / 3.353 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002855/8.048, allocations: 413.4 kB / 3.353 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002166/8.051, allocations: 0.8044 MB / 3.354 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003362/8.051, allocations: 122.8 kB / 3.354 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002704/8.051, allocations: 79.08 kB / 3.354 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002219/8.053, allocations: 1.003 MB / 3.355 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/8.053, allocations: 0 / 3.355 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/8.054, allocations: 32.22 kB / 3.355 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.894e-05/8.054, allocations: 29.95 kB / 3.355 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00197/8.056, allocations: 0.8802 MB / 3.356 GB, free: 152.8 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.006036/8.062, allocations: 3.431 MB / 3.36 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/8.063, allocations: 0.613 MB / 3.36 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006466/8.064, allocations: 327.3 kB / 3.361 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/8.064, allocations: 102.8 kB / 3.361 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/8.064, allocations: 45.69 kB / 3.361 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 2.735e-06/8.064, allocations: 0 / 3.361 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=41): time 0.007469/8.071, allocations: 2.41 MB / 3.363 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/8.072, allocations: 61.56 kB / 3.363 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/8.073, allocations: 0.7877 MB / 3.364 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001038/8.073, allocations: 35.89 kB / 3.364 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/8.073, allocations: 445.5 kB / 3.364 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/8.073, allocations: 148.6 kB / 3.364 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.91e-05/8.073, allocations: 12.03 kB / 3.364 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.93e-05/8.073, allocations: 326.4 kB / 3.365 GB, free: 150 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/8.074, allocations: 302.9 kB / 3.365 GB, free: 150 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007164/8.075, allocations: 431 kB / 3.365 GB, free: 149.8 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.004423/8.079, allocations: 1.89 MB / 3.367 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/8.079, allocations: 0 / 3.367 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002798/8.082, allocations: 1.048 MB / 3.368 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/8.082, allocations: 7.469 kB / 3.368 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/8.082, allocations: 3.625 kB / 3.368 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005045/8.082, allocations: 177.9 kB / 3.369 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/8.083, allocations: 136.7 kB / 3.369 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/8.086, allocations: 2.041 MB / 3.371 GB, free: 148.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/8.087, allocations: 94.8 kB / 3.371 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.079e-05/8.087, allocations: 16.44 kB / 3.371 GB, free: 148.2 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006302/8.088, allocations: 287.6 kB / 3.371 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/8.088, allocations: 80.69 kB / 3.371 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002766/8.089, allocations: 102.6 kB / 3.371 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/8.089, allocations: 3.125 kB / 3.371 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/8.089, allocations: 0 / 3.371 GB, free: 148.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002494/8.091, allocations: 0.8899 MB / 3.372 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004242/8.095, allocations: 1.987 MB / 3.374 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/8.095, allocations: 3.688 kB / 3.374 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/8.096, allocations: 122.5 kB / 3.374 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004441/8.096, allocations: 170.1 kB / 3.374 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/8.096, allocations: 10 kB / 3.374 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002679/8.099, allocations: 1.994 MB / 3.376 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/8.099, allocations: 9 kB / 3.376 GB, free: 146.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/8.102, allocations: 1.421 MB / 3.378 GB, free: 145.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005728/8.103, allocations: 234.6 kB / 3.378 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/8.103, allocations: 11.81 kB / 3.378 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008268/8.104, allocations: 94.83 kB / 3.378 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/8.104, allocations: 40.73 kB / 3.378 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/8.104, allocations: 27.42 kB / 3.378 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007624/8.105, allocations: 0.5436 MB / 3.379 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3e-07/8.105, allocations: 0 / 3.379 GB, free: 145.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001567/8.106, allocations: 411.2 kB / 3.379 GB, free: 145.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (volDyn.dynBal.U,volDyn.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 (37): * Single equations (assignments): 36 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00186/8.108, allocations: 1.364 MB / 3.38 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001756/8.11, allocations: 0.7857 MB / 3.381 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/8.11, allocations: 0 / 3.381 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007861/8.111, allocations: 456.8 kB / 3.381 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/8.114, allocations: 0.5317 MB / 3.382 GB, free: 145 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/8.118, allocations: 2.213 MB / 3.384 GB, free: 144.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/8.118, allocations: 1.04 MB / 3.385 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009627/8.119, allocations: 202.5 kB / 3.385 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/8.119, allocations: 75.42 kB / 3.385 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of SimCode: time 6.01e-07/8.119, allocations: 0 / 3.385 GB, free: 143.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.04867/8.168, allocations: 34.7 MB / 3.419 GB, free: 124.6 MB / 0.6823 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeHeatReverseFlowPrescribedHeatFlowRate.pipe 2>&1)