Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008253/0.0008253, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.7 MB / 0.5499 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006075/0.0006077, allocations: 14.62 kB / 0.6737 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2513, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6861/0.9374, allocations: 180.9 MB / 0.964 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.9533, allocations: 9.633 MB / 0.9734 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.9553, allocations: 50.17 kB / 0.9734 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.9566, allocations: 397.5 kB / 0.9738 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.9613, allocations: 1.454 MB / 0.9752 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.965, allocations: 1.04 MB / 0.9762 GB, free: 2.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005115/0.9702, allocations: 3.121 MB / 0.9793 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001823/0.972, allocations: 0.8656 MB / 0.9801 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.9757, allocations: 1.316 MB / 0.9814 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/0.9773, allocations: 0.8695 MB / 0.9823 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.9774, allocations: 46.19 kB / 0.9823 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004149/0.9816, allocations: 1.314 MB / 0.9836 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004048/0.982, allocations: 338.9 kB / 0.9839 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00062/0.9826, allocations: 273.4 kB / 0.9842 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.9851, allocations: 1.668 MB / 0.9858 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.9851, allocations: 0 / 0.9858 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.497e-06/0.9851, allocations: 0 / 0.9858 GB, free: 16.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.9851, allocations: 4 kB / 0.9858 GB, free: 16.5 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002514/0.9876, allocations: 1.577 MB / 0.9873 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.9877, allocations: 12.59 kB / 0.9874 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.9897, allocations: 373.5 kB / 0.9877 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.9912, allocations: 0.8704 MB / 0.9886 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.9913, allocations: 74.16 kB / 0.9886 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.9915, allocations: 112.8 kB / 0.9887 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001631/0.9931, allocations: 1.096 MB / 0.9898 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.683e-05/0.9931, allocations: 3.938 kB / 0.9898 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.961e-05/0.9932, allocations: 41.94 kB / 0.9899 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.816e-05/0.9933, allocations: 33.94 kB / 0.9899 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.9946, allocations: 0.8007 MB / 0.9907 GB, free: 14.22 MB / 0.7325 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.005838/1, allocations: 5.071 MB / 0.9956 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001163/1.002, allocations: 0.7128 MB / 0.9963 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000482/1.002, allocations: 352.4 kB / 0.9967 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000586/1.003, allocations: 323.7 kB / 0.997 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/1.003, allocations: 43.28 kB / 0.997 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 3.787e-06/1.003, allocations: 0 / 0.997 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.001796/1.005, allocations: 0.9384 MB / 0.9979 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/1.005, allocations: 57.78 kB / 0.998 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/1.006, allocations: 0.8603 MB / 0.9988 GB, free: 9.527 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.842e-05/1.006, allocations: 43.02 kB / 0.9989 GB, free: 9.496 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/1.006, allocations: 0.5581 MB / 0.9994 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/1.006, allocations: 245.8 kB / 0.9996 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/1.006, allocations: 19.53 kB / 0.9997 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001198/1.007, allocations: 335.5 kB / 1 GB, free: 8.727 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/1.007, allocations: 246.3 kB / 1 GB, free: 8.691 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/1.007, allocations: 447.1 kB / 1.001 GB, free: 8.434 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/1.008, allocations: 309 kB / 1.001 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.008, allocations: 0 / 1.001 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.00125/1.009, allocations: 0.8292 MB / 1.002 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.00017/1.009, allocations: 230.3 kB / 1.002 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.009, allocations: 3.5 kB / 1.002 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/1.009, allocations: 8.031 kB / 1.002 GB, free: 7.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.011, allocations: 258.6 kB / 1.002 GB, free: 7.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/1.012, allocations: 1.396 MB / 1.004 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008682/1.013, allocations: 112.5 kB / 1.004 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/1.013, allocations: 38 kB / 1.004 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.933e-06/1.013, allocations: 2.688 kB / 1.004 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/1.014, allocations: 0.6987 MB / 1.004 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.014, allocations: 11.12 kB / 1.004 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/1.014, allocations: 8.062 kB / 1.004 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.016, allocations: 251.4 kB / 1.005 GB, free: 6.227 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/1.017, allocations: 1.4 MB / 1.006 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008362/1.018, allocations: 112 kB / 1.006 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.414e-05/1.018, allocations: 34.95 kB / 1.006 GB, free: 4.766 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0005789/1.018, allocations: 366.1 kB / 1.007 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.018, allocations: 113 kB / 1.007 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/1.02, allocations: 0.7915 MB / 1.007 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.533e-06/1.02, allocations: 6.469 kB / 1.007 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/1.02, allocations: 0 / 1.007 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001125/1.021, allocations: 0.7086 MB / 1.008 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/1.024, allocations: 1.929 MB / 1.01 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.024, allocations: 0 / 1.01 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006732/1.025, allocations: 147.9 kB / 1.01 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004028/1.025, allocations: 50.03 kB / 1.01 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/1.025, allocations: 14.16 kB / 1.01 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/1.026, allocations: 1.348 MB / 1.012 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.026, allocations: 6.938 kB / 1.012 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/1.028, allocations: 1.243 MB / 1.013 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004148/1.029, allocations: 257.3 kB / 1.013 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/1.029, allocations: 15.72 kB / 1.013 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006035/1.029, allocations: 68.44 kB / 1.013 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.303e-05/1.029, allocations: 42.91 kB / 1.013 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.936e-05/1.029, allocations: 26.42 kB / 1.013 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006841/1.03, allocations: 0.5856 MB / 1.014 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.51e-07/1.03, allocations: 0 / 1.014 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001394/1.032, allocations: 0.5263 MB / 1.014 GB, free: 0.9414 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * 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 (70): * Single equations (assignments): 69 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004944/1.032, allocations: 222.4 kB / 1.014 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003136/1.035, allocations: 1.179 MB / 1.016 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/1.035, allocations: 0 / 1.016 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0006953/1.036, allocations: 443.9 kB / 1.016 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002224/1.038, allocations: 0.5037 MB / 1.016 GB, free: 256 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003907/1.042, allocations: 2.673 MB / 1.019 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006403/1.043, allocations: 1.144 MB / 1.02 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009885/1.044, allocations: 274.4 kB / 1.02 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/1.044, allocations: 82.39 kB / 1.021 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of SimCode: time 1.112e-06/1.044, allocations: 0 / 1.021 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of Templates: time 0.02811/1.072, allocations: 16.4 MB / 1.037 GB, free: 1.168 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1) Environment - environmentSimulation: