Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5765/0.5765, allocations: 95.61 MB / 110.6 MB, free: 9.383 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001152/0.001152, allocations: 168.2 kB / 134.2 MB, free: 2.273 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.688/1.688, allocations: 170.7 MB / 328.4 MB, free: 12.28 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001804/0.001804, allocations: 103.4 kB / 390.7 MB, free: 13.95 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004166, allocations: 15.98 kB / 462.7 MB, free: 35.69 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.143, allocations: 61.54 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.33/12.48, allocations: 5.305 GB / 5.817 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/12.48, allocations: 87.95 kB / 5.817 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.398/13.87, allocations: 407.2 MB / 6.215 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/13.87, allocations: 0 / 6.215 GB, free: 84.54 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001071/13.87, allocations: 31.92 kB / 6.215 GB, free: 84.53 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003858/13.88, allocations: 1.671 MB / 6.216 GB, free: 83.63 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/13.88, allocations: 11.52 kB / 6.216 GB, free: 83.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006599/13.88, allocations: 183.5 kB / 6.216 GB, free: 83.55 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07314/13.95, allocations: 40.94 MB / 6.256 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/13.95, allocations: 74 kB / 6.256 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/13.95, allocations: 111.9 kB / 6.257 GB, free: 69.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/13.95, allocations: 1.132 MB / 6.258 GB, free: 68.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/13.96, allocations: 4 kB / 6.258 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/13.96, allocations: 51.86 kB / 6.258 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/13.96, allocations: 24 kB / 6.258 GB, free: 68.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/13.96, allocations: 1.027 MB / 6.259 GB, free: 66.99 MB / 0.5261 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.005701/13.96, allocations: 3.586 MB / 6.262 GB, free: 63.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/13.96, allocations: 0.8285 MB / 6.263 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/13.96, allocations: 271.9 kB / 6.263 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/13.96, allocations: 47.23 kB / 6.263 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=69): time 3.246e-06/13.96, allocations: 3.938 kB / 6.263 GB, free: 62.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=75): time 0.006171/13.97, allocations: 2.595 MB / 6.266 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/13.97, allocations: 162.9 kB / 6.266 GB, free: 59.21 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009453/13.97, allocations: 0.8472 MB / 6.267 GB, free: 58.35 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.089e-05/13.97, allocations: 45.7 kB / 6.267 GB, free: 58.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/13.97, allocations: 0.5388 MB / 6.267 GB, free: 57.75 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/13.97, allocations: 268.1 kB / 6.268 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/13.97, allocations: 16 kB / 6.268 GB, free: 57.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.982e-05/13.97, allocations: 342 kB / 6.268 GB, free: 57.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005167/13.97, allocations: 333.8 kB / 6.268 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005856/13.97, allocations: 0.4925 MB / 6.269 GB, free: 56.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006092/13.97, allocations: 428.5 kB / 6.269 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/13.97, allocations: 0 / 6.269 GB, free: 55.83 MB / 0.5261 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.001454/13.98, allocations: 1.029 MB / 6.27 GB, free: 54.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/13.98, allocations: 1.09 MB / 6.271 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/13.98, allocations: 4 kB / 6.271 GB, free: 53.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/13.98, allocations: 7.953 kB / 6.271 GB, free: 53.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/13.98, allocations: 295.7 kB / 6.272 GB, free: 53.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001022/13.98, allocations: 1.417 MB / 6.273 GB, free: 51.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009238/13.98, allocations: 87.97 kB / 6.273 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.117e-05/13.98, allocations: 39.98 kB / 6.273 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.844e-06/13.98, allocations: 4 kB / 6.273 GB, free: 51.63 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/13.98, allocations: 0.9076 MB / 6.274 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/13.98, allocations: 4 kB / 6.274 GB, free: 50.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/13.98, allocations: 8 kB / 6.274 GB, free: 50.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/13.98, allocations: 299.5 kB / 6.274 GB, free: 50.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000896/13.98, allocations: 1.42 MB / 6.276 GB, free: 48.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/13.98, allocations: 95.94 kB / 6.276 GB, free: 48.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/13.98, allocations: 39.98 kB / 6.276 GB, free: 48.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (vol1.i_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * 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.0006631/13.98, allocations: 374 kB / 6.276 GB, free: 48.35 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001594/13.99, allocations: 118.6 kB / 6.276 GB, free: 48.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/13.99, allocations: 0.9375 MB / 6.277 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/13.99, allocations: 8 kB / 6.277 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/13.99, allocations: 4 kB / 6.277 GB, free: 47.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/13.99, allocations: 7.938 kB / 6.277 GB, free: 47.26 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002925/13.99, allocations: 2.002 MB / 6.279 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/13.99, allocations: 0 / 6.279 GB, free: 45.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/13.99, allocations: 167.7 kB / 6.279 GB, free: 45.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/13.99, allocations: 44.83 kB / 6.279 GB, free: 44.99 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/13.99, allocations: 23.98 kB / 6.279 GB, free: 44.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001067/13.99, allocations: 1.385 MB / 6.281 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/13.99, allocations: 0 / 6.281 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/13.99, allocations: 1.351 MB / 6.282 GB, free: 42.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005002/13.99, allocations: 291.6 kB / 6.282 GB, free: 41.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/13.99, allocations: 20 kB / 6.282 GB, free: 41.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007421/14, allocations: 71.88 kB / 6.282 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.563e-05/14, allocations: 48.59 kB / 6.283 GB, free: 41.64 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.545e-05/14, allocations: 39.97 kB / 6.283 GB, free: 41.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007429/14, allocations: 0.6592 MB / 6.283 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/14, allocations: 0 / 6.283 GB, free: 40.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00236/14, allocations: 0.7574 MB / 6.284 GB, free: 40.17 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T,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 (79): * Single equations (assignments): 78 * 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.002151/14, allocations: 1.255 MB / 6.285 GB, free: 38.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003093/14, allocations: 1.473 MB / 6.287 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/14, allocations: 4.125 kB / 6.287 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/14.01, allocations: 0.5021 MB / 6.287 GB, free: 36.93 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002135/14.01, allocations: 0.5046 MB / 6.288 GB, free: 36.44 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004104/14.01, allocations: 2.727 MB / 6.29 GB, free: 33.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005262/14.01, allocations: 1.16 MB / 6.291 GB, free: 32.51 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001186/14.01, allocations: 288.6 kB / 6.292 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002496/14.01, allocations: 95.34 kB / 6.292 GB, free: 32.13 MB / 0.5261 GB Notification: Performance of SimCode: time 8.01e-07/14.01, allocations: 4 kB / 6.292 GB, free: 32.12 MB / 0.5261 GB Notification: Performance of Templates: time 0.04971/14.06, allocations: 35.25 MB / 6.326 GB, free: 12.94 MB / 0.5417 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)