Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) 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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009525/0.0009524, allocations: 180.1 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.4 MB / 0.5786 GB, free: 20.12 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008478/0.0008477, allocations: 77.7 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 8.938 kB / 0.7976 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.1977, allocations: 106.3 MB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6507/0.8485, allocations: 194.2 MB / 1.091 GB, free: 1.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.8626, allocations: 10.37 MB / 1.101 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002414/0.8651, allocations: 49.19 kB / 1.101 GB, free: 1.473 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001872/0.867, allocations: 473.2 kB / 1.102 GB, free: 1.465 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006214/0.8732, allocations: 1.849 MB / 1.104 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.00433/0.8776, allocations: 1.252 MB / 1.105 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004941/0.8825, allocations: 3.727 MB / 1.108 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/0.8842, allocations: 0.9996 MB / 1.109 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.8893, allocations: 1.492 MB / 1.111 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00233/0.8916, allocations: 0.9338 MB / 1.112 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002338/0.8918, allocations: 46.12 kB / 1.112 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005077/0.8969, allocations: 2.377 MB / 1.114 GB, free: 1.074 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005426/0.8975, allocations: 349.3 kB / 1.114 GB, free: 1.07 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.8988, allocations: 0.6442 MB / 1.115 GB, free: 1.039 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003822/0.9026, allocations: 1.81 MB / 1.117 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.9027, allocations: 0 / 1.117 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.9027, allocations: 0 / 1.117 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.743e-05/0.9027, allocations: 0 / 1.117 GB, free: 0.8867 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003789/0.9065, allocations: 1.569 MB / 1.118 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/0.9066, allocations: 9.406 kB / 1.118 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003209/0.9098, allocations: 374.1 kB / 1.119 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002349/0.9122, allocations: 0.916 MB / 1.12 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.02e-05/0.9123, allocations: 78.86 kB / 1.12 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.9125, allocations: 106.2 kB / 1.12 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002492/0.915, allocations: 1.112 MB / 1.121 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.9151, allocations: 2.625 kB / 1.121 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/0.9152, allocations: 44.53 kB / 1.121 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.243e-05/0.9153, allocations: 36.88 kB / 1.121 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001882/0.9172, allocations: 0.8061 MB / 1.122 GB, free: 15.27 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.00818/0.9254, allocations: 5.092 MB / 1.127 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.9269, allocations: 0.679 MB / 1.127 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007117/0.9276, allocations: 361.1 kB / 1.128 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007434/0.9284, allocations: 326.7 kB / 1.128 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.9285, allocations: 39.91 kB / 1.128 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 4.178e-06/0.9285, allocations: 2.531 kB / 1.128 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002643/0.9311, allocations: 0.9353 MB / 1.129 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.9312, allocations: 58.44 kB / 1.129 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.9328, allocations: 0.8771 MB / 1.13 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.9329, allocations: 40.52 kB / 1.13 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006867/0.9336, allocations: 0.5589 MB / 1.13 GB, free: 11.39 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003791/0.934, allocations: 248.4 kB / 1.131 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/0.9341, allocations: 16.03 kB / 1.131 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9343, allocations: 340.7 kB / 1.131 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.9349, allocations: 249.9 kB / 1.131 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008537/0.9358, allocations: 445.5 kB / 1.132 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.9377, allocations: 0.7025 MB / 1.132 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.9377, allocations: 1.594 kB / 1.132 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002689/0.9404, allocations: 0.8309 MB / 1.133 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001994/0.9406, allocations: 230.7 kB / 1.133 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.9407, allocations: 10.75 kB / 1.133 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.92e-05/0.9407, allocations: 12.56 kB / 1.133 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/0.9428, allocations: 247.7 kB / 1.134 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001866/0.9447, allocations: 1.393 MB / 1.135 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.946, allocations: 111.4 kB / 1.135 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.9461, allocations: 35.34 kB / 1.135 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/0.9462, allocations: 7.734 kB / 1.135 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001681/0.9479, allocations: 0.7052 MB / 1.136 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.9479, allocations: 5.312 kB / 1.136 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.9479, allocations: 9.812 kB / 1.136 GB, free: 8.723 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/0.9498, allocations: 246.7 kB / 1.136 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/0.9514, allocations: 1.397 MB / 1.138 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.9527, allocations: 117.9 kB / 1.138 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.357e-05/0.9529, allocations: 29.84 kB / 1.138 GB, free: 7.316 MB / 0.7136 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008276/0.9537, allocations: 372 kB / 1.138 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/0.9541, allocations: 114.6 kB / 1.138 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002101/0.9562, allocations: 0.7885 MB / 1.139 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.9562, allocations: 5.875 kB / 1.139 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9562, allocations: 3.344 kB / 1.139 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.9579, allocations: 0.7038 MB / 1.14 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.9622, allocations: 1.938 MB / 1.141 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.9622, allocations: 0 / 1.141 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/0.9629, allocations: 150.8 kB / 1.142 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004275/0.9634, allocations: 41.83 kB / 1.142 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.9635, allocations: 20.52 kB / 1.142 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.9648, allocations: 1.358 MB / 1.143 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.9648, allocations: 3.531 kB / 1.143 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.9668, allocations: 1.246 MB / 1.144 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.9673, allocations: 257.3 kB / 1.144 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001617/0.9675, allocations: 17.06 kB / 1.144 GB, free: 4.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007452/0.9683, allocations: 69.61 kB / 1.145 GB, free: 4.355 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.582e-05/0.9684, allocations: 48.75 kB / 1.145 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/0.9684, allocations: 24.36 kB / 1.145 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008211/0.9692, allocations: 0.5988 MB / 1.145 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/0.9693, allocations: 5.531 kB / 1.145 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001522/0.9708, allocations: 0.5362 MB / 1.146 GB, free: 4.043 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000497/0.9713, allocations: 205 kB / 1.146 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003399/0.9747, allocations: 1.173 MB / 1.147 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.9747, allocations: 2.812 kB / 1.147 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007653/0.9755, allocations: 448.3 kB / 1.148 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.9782, allocations: 0.5014 MB / 1.148 GB, free: 3.43 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004333/0.9825, allocations: 2.804 MB / 1.151 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007317/0.9833, allocations: 1.146 MB / 1.152 GB, free: 0.7852 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/0.9836, allocations: 84.39 kB / 1.152 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of SimCode: time 1.723e-06/0.9836, allocations: 0 / 1.152 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of Templates: time 0.02882/1.012, allocations: 21.36 MB / 1.173 GB, free: 1.238 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)