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/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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00099/0.0009899, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.007813/0.007813, allocations: 171.8 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 222.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6653/0.6653, allocations: 95.62 MB / 366.4 MB, free: 10.24 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006044/0.0006043, allocations: 20.56 kB / 447.5 MB, free: 8.977 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.401/0.4016, allocations: 70.33 MB / 0.5057 GB, free: 16.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6369/1.039, allocations: 203.6 MB / 0.7045 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008488/1.047, allocations: 3.968 MB / 0.7083 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00238/1.05, allocations: 47.34 kB / 0.7084 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001653/1.051, allocations: 470.1 kB / 0.7088 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004294/1.056, allocations: 1.318 MB / 0.7101 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00509/1.061, allocations: 1.781 MB / 0.7119 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004617/1.065, allocations: 3.58 MB / 0.7153 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.067, allocations: 0.9819 MB / 0.7163 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00168/1.069, allocations: 0.8526 MB / 0.7171 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/1.07, allocations: 0.8877 MB / 0.718 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001448/1.071, allocations: 49.34 kB / 0.7181 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004672/1.075, allocations: 2.349 MB / 0.7203 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005286/1.076, allocations: 380.2 kB / 0.7207 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009242/1.077, allocations: 0.6816 MB / 0.7214 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006372/1.083, allocations: 2.938 MB / 0.7242 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/1.083, allocations: 0 / 0.7242 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.336e-06/1.083, allocations: 0 / 0.7242 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.943e-05/1.083, allocations: 3.188 kB / 0.7242 GB, free: 14.4 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003522/1.087, allocations: 1.713 MB / 0.7259 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/1.087, allocations: 14.83 kB / 0.7259 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006328/1.087, allocations: 193.1 kB / 0.7261 GB, free: 13 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/1.089, allocations: 0.9638 MB / 0.7271 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.865e-05/1.089, allocations: 80.09 kB / 0.7271 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/1.089, allocations: 107.5 kB / 0.7272 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/1.092, allocations: 1.246 MB / 0.7285 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/1.092, allocations: 0 / 0.7285 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/1.092, allocations: 47.94 kB / 0.7285 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/1.092, allocations: 24 kB / 0.7285 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002053/1.094, allocations: 1.093 MB / 0.7296 GB, free: 9.855 MB / 0.5137 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.007748/1.102, allocations: 5.109 MB / 0.7346 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/1.103, allocations: 0.8414 MB / 0.7354 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005906/1.104, allocations: 356.3 kB / 0.7357 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009594/1.105, allocations: 0.9766 MB / 0.7367 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.105, allocations: 43.22 kB / 0.7367 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=71): time 3.066e-06/1.105, allocations: 0 / 0.7367 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of matching and sorting (n=77): time 0.006508/1.111, allocations: 2.547 MB / 0.7392 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/1.112, allocations: 115.5 kB / 0.7393 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/1.113, allocations: 1.069 MB / 0.7404 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/1.113, allocations: 45.7 kB / 0.7404 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004406/1.114, allocations: 0.6009 MB / 0.741 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/1.114, allocations: 270.2 kB / 0.7413 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.114, allocations: 81.67 kB / 0.7413 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.114, allocations: 337.9 kB / 0.7417 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006501/1.115, allocations: 357.8 kB / 0.742 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/1.115, allocations: 0.5337 MB / 0.7425 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/1.117, allocations: 0.9072 MB / 0.7434 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/1.117, allocations: 8 kB / 0.7434 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002099/1.119, allocations: 1.115 MB / 0.7445 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000202/1.119, allocations: 252 kB / 0.7448 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.119, allocations: 8 kB / 0.7448 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.798e-05/1.119, allocations: 8 kB / 0.7448 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001863/1.121, allocations: 314 kB / 0.7451 GB, free: 9.164 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/1.123, allocations: 1.389 MB / 0.7464 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.124, allocations: 91.84 kB / 0.7465 GB, free: 7.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.124, allocations: 40.09 kB / 0.7466 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.965e-06/1.124, allocations: 7.938 kB / 0.7466 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001678/1.126, allocations: 0.9191 MB / 0.7475 GB, free: 6.578 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/1.126, allocations: 4 kB / 0.7475 GB, free: 6.574 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/1.126, allocations: 8 kB / 0.7475 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/1.127, allocations: 300.2 kB / 0.7478 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/1.129, allocations: 1.416 MB / 0.7491 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009517/1.13, allocations: 72.03 kB / 0.7492 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.841e-05/1.13, allocations: 35.98 kB / 0.7492 GB, free: 4.617 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 5 (vol1.i_w,PI1.I.local_reset,PI.I.local_reset,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 (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * 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.0006889/1.131, allocations: 392.8 kB / 0.7496 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002701/1.131, allocations: 122.5 kB / 0.7497 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002263/1.133, allocations: 0.9603 MB / 0.7507 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/1.133, allocations: 8 kB / 0.7507 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.133, allocations: 3.938 kB / 0.7507 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/1.133, allocations: 3.984 kB / 0.7507 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003819/1.137, allocations: 2.081 MB / 0.7527 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/1.137, allocations: 0 / 0.7527 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008889/1.138, allocations: 167.8 kB / 0.7529 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/1.138, allocations: 48.81 kB / 0.7529 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/1.138, allocations: 20 kB / 0.7529 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/1.14, allocations: 1.344 MB / 0.7543 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.14, allocations: 0 / 0.7543 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/1.143, allocations: 1.375 MB / 0.7556 GB, free: 13.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000744/1.143, allocations: 307.4 kB / 0.7559 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003023/1.144, allocations: 19.98 kB / 0.7559 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/1.145, allocations: 67.94 kB / 0.756 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/1.145, allocations: 52.53 kB / 0.756 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.145, allocations: 39.91 kB / 0.7561 GB, free: 13.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001589/1.147, allocations: 0.7209 MB / 0.7568 GB, free: 12.66 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/1.147, allocations: 8 kB / 0.7568 GB, free: 12.65 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002946/1.15, allocations: 0.6755 MB / 0.7574 GB, free: 11.97 MB / 0.545 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 (81): * Single equations (assignments): 80 * 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.0016/1.151, allocations: 497.2 kB / 0.7579 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004391/1.156, allocations: 1.583 MB / 0.7595 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.156, allocations: 0 / 0.7595 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/1.157, allocations: 0.5066 MB / 0.7599 GB, free: 9.391 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/1.16, allocations: 0.5324 MB / 0.7605 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005469/1.166, allocations: 2.988 MB / 0.7634 GB, free: 5.844 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009608/1.167, allocations: 1.168 MB / 0.7645 GB, free: 4.648 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001546/1.168, allocations: 304.2 kB / 0.7648 GB, free: 4.352 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003658/1.169, allocations: 95.36 kB / 0.7649 GB, free: 4.258 MB / 0.545 GB Notification: Performance of SimCode: time 6.41e-07/1.169, allocations: 0 / 0.7649 GB, free: 4.258 MB / 0.545 GB Notification: Performance of Templates: time 0.04354/1.212, allocations: 24.41 MB / 0.7887 GB, free: 12.03 MB / 0.5762 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: