Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8043/0.8043, allocations: 143.4 MB / 158.3 MB, free: 5.789 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.001069/0.001069, allocations: 184.4 kB / 191.5 MB, free: 5.766 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.546/1.546, allocations: 223.2 MB / 447.7 MB, free: 4.836 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.000988/0.0009878, allocations: 84.33 kB / 0.5188 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 285.2 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 16.97 kB / 0.6929 GB, free: 59.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2116, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.48/4.692, allocations: 1.931 GB / 2.705 GB, free: 146.5 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/4.692, allocations: 98.06 kB / 2.705 GB, free: 146.4 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.839/6.531, allocations: 0.6282 GB / 3.333 GB, free: 68.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.966e-06/6.531, allocations: 0 / 3.333 GB, free: 68.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001082/6.531, allocations: 39.92 kB / 3.333 GB, free: 68.47 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003518/6.535, allocations: 1.759 MB / 3.335 GB, free: 66.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/6.535, allocations: 8.031 kB / 3.335 GB, free: 66.65 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/6.537, allocations: 361.9 kB / 3.335 GB, free: 66.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002989/6.54, allocations: 1.226 MB / 3.336 GB, free: 65.02 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.957e-05/6.54, allocations: 78 kB / 3.336 GB, free: 64.95 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/6.54, allocations: 104 kB / 3.336 GB, free: 64.84 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/6.542, allocations: 1.12 MB / 3.338 GB, free: 63.66 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/6.542, allocations: 7.938 kB / 3.338 GB, free: 63.65 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.363e-05/6.542, allocations: 40 kB / 3.338 GB, free: 63.61 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.482e-05/6.542, allocations: 34 kB / 3.338 GB, free: 63.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00133/6.543, allocations: 0.8353 MB / 3.338 GB, free: 62.74 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.005455/6.549, allocations: 5.142 MB / 3.343 GB, free: 57.25 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/6.55, allocations: 0.751 MB / 3.344 GB, free: 56.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004668/6.55, allocations: 307.8 kB / 3.344 GB, free: 56.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/6.551, allocations: 39.12 kB / 3.344 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.595e-06/6.551, allocations: 0 / 3.344 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.001733/6.552, allocations: 1.017 MB / 3.345 GB, free: 55.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.717e-05/6.552, allocations: 166.8 kB / 3.346 GB, free: 54.87 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/6.553, allocations: 0.7616 MB / 3.346 GB, free: 54.09 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.176e-05/6.553, allocations: 41.7 kB / 3.346 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003447/6.553, allocations: 0.5546 MB / 3.347 GB, free: 53.48 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/6.554, allocations: 244.4 kB / 3.347 GB, free: 53.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/6.554, allocations: 16 kB / 3.347 GB, free: 53.22 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.975e-05/6.554, allocations: 334 kB / 3.348 GB, free: 52.89 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006235/6.554, allocations: 269.9 kB / 3.348 GB, free: 52.62 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007984/6.555, allocations: 0.493 MB / 3.348 GB, free: 52.04 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/6.556, allocations: 339.1 kB / 3.349 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/6.556, allocations: 4 kB / 3.349 GB, free: 51.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002009/6.558, allocations: 0.8667 MB / 3.349 GB, free: 50.83 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003652/6.558, allocations: 1.667 MB / 3.351 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/6.558, allocations: 4 kB / 3.351 GB, free: 49.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/6.558, allocations: 12 kB / 3.351 GB, free: 49.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002192/6.561, allocations: 263.6 kB / 3.351 GB, free: 48.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/6.562, allocations: 1.417 MB / 3.353 GB, free: 47.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/6.564, allocations: 127.3 kB / 3.353 GB, free: 47.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/6.564, allocations: 39.98 kB / 3.353 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/6.564, allocations: 4 kB / 3.353 GB, free: 47.05 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00156/6.565, allocations: 0.7374 MB / 3.354 GB, free: 46.31 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/6.565, allocations: 7.984 kB / 3.354 GB, free: 46.3 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/6.565, allocations: 8 kB / 3.354 GB, free: 46.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/6.567, allocations: 256.2 kB / 3.354 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/6.569, allocations: 1.421 MB / 3.355 GB, free: 44.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/6.57, allocations: 127.3 kB / 3.355 GB, free: 44.36 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.318e-05/6.57, allocations: 31.98 kB / 3.355 GB, free: 44.32 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (92): * Single equations (assignments): 91 * 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.0007229/6.571, allocations: 364.9 kB / 3.356 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002191/6.571, allocations: 114.6 kB / 3.356 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/6.573, allocations: 0.8564 MB / 3.357 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-06/6.573, allocations: 4 kB / 3.357 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/6.573, allocations: 0 / 3.357 GB, free: 42.98 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/6.575, allocations: 0.7547 MB / 3.357 GB, free: 42.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/6.579, allocations: 2.012 MB / 3.359 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/6.579, allocations: 0 / 3.359 GB, free: 40.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009915/6.58, allocations: 155.8 kB / 3.36 GB, free: 39.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005148/6.581, allocations: 49.03 kB / 3.36 GB, free: 39.89 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.589e-05/6.581, allocations: 16 kB / 3.36 GB, free: 39.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/6.582, allocations: 1.387 MB / 3.361 GB, free: 38.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/6.582, allocations: 11.92 kB / 3.361 GB, free: 38.34 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/6.585, allocations: 1.419 MB / 3.362 GB, free: 36.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/6.586, allocations: 271.4 kB / 3.363 GB, free: 36.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/6.586, allocations: 31.92 kB / 3.363 GB, free: 36.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001177/6.587, allocations: 63.95 kB / 3.363 GB, free: 36.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/6.587, allocations: 44.5 kB / 3.363 GB, free: 36.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.988e-05/6.587, allocations: 27.98 kB / 3.363 GB, free: 36.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001109/6.589, allocations: 0.5928 MB / 3.363 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/6.589, allocations: 4 kB / 3.363 GB, free: 35.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003096/6.592, allocations: 0.7133 MB / 3.364 GB, free: 35.07 MB / 0.7136 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.003245/6.595, allocations: 1.781 MB / 3.366 GB, free: 33.23 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004117/6.599, allocations: 1.189 MB / 3.367 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/6.599, allocations: 4 kB / 3.367 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/6.6, allocations: 482.2 kB / 3.367 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003582/6.604, allocations: 497 kB / 3.368 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/6.609, allocations: 2.692 MB / 3.371 GB, free: 28.32 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005745/6.609, allocations: 1.167 MB / 3.372 GB, free: 27.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001141/6.611, allocations: 268.5 kB / 3.372 GB, free: 26.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/6.611, allocations: 83.42 kB / 3.372 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/6.611, allocations: 0 / 3.372 GB, free: 26.77 MB / 0.7136 GB Notification: Performance of Templates: time 0.344/6.955, allocations: 37.95 MB / 3.409 GB, free: 120.5 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)