Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization") translateModel(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 100 kB / 15.05 MB, free: 1.105 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.0009168/0.0009168, allocations: 177.3 kB / 15.94 MB, free: 228 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.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.6076/0.6076, allocations: 95.6 MB / 366 MB, free: 10.38 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.0005952/0.0005955, allocations: 20 kB / 446.8 MB, free: 9.395 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3021, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization): time 0.4022/0.7044, allocations: 132.9 MB / 0.6348 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01238/0.7168, allocations: 9.259 MB / 0.6439 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.7182, allocations: 37.31 kB / 0.6439 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.7197, allocations: 384.8 kB / 0.6443 GB, free: 1.426 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00494/0.7247, allocations: 1.342 MB / 0.6456 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006611/0.7313, allocations: 2.002 MB / 0.6475 GB, free: 1.383 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.7343, allocations: 1.404 MB / 0.6489 GB, free: 1.375 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.7355, allocations: 0.533 MB / 0.6494 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.7373, allocations: 0.7604 MB / 0.6502 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.7386, allocations: 0.6904 MB / 0.6508 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000205/0.7388, allocations: 41.5 kB / 0.6509 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/0.7432, allocations: 1.731 MB / 0.6526 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004373/0.7437, allocations: 250.3 kB / 0.6528 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005913/0.7443, allocations: 204.1 kB / 0.653 GB, free: 17.28 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.7472, allocations: 1.662 MB / 0.6546 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.7472, allocations: 0 / 0.6546 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7472, allocations: 0 / 0.6546 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.357e-05/0.7473, allocations: 0 / 0.6546 GB, free: 17.14 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.003043/0.7503, allocations: 1.267 MB / 0.6559 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7504, allocations: 11.39 kB / 0.6559 GB, free: 16.36 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.7509, allocations: 113 kB / 0.656 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.7523, allocations: 0.6738 MB / 0.6566 GB, free: 16.04 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.003e-05/0.7524, allocations: 49.94 kB / 0.6567 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.7525, allocations: 52.36 kB / 0.6567 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.7539, allocations: 0.9164 MB / 0.6576 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.754, allocations: 0 / 0.6576 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.468e-05/0.7541, allocations: 25.44 kB / 0.6577 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.7541, allocations: 62.64 kB / 0.6577 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.7554, allocations: 0.8905 MB / 0.6586 GB, free: 15.9 MB / 0.4981 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.005712/0.7611, allocations: 3.721 MB / 0.6622 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007333/0.7619, allocations: 460.8 kB / 0.6627 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/0.7641, allocations: 1.748 MB / 0.6644 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.7642, allocations: 39.94 kB / 0.6644 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 3.005e-06/0.7642, allocations: 2.406 kB / 0.6644 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.003694/0.7679, allocations: 1.747 MB / 0.6661 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.768, allocations: 173.1 kB / 0.6663 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.7691, allocations: 0.8315 MB / 0.6671 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-05/0.7692, allocations: 34.7 kB / 0.6671 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003112/0.7695, allocations: 438.9 kB / 0.6675 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.7697, allocations: 152.5 kB / 0.6677 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.7697, allocations: 16.34 kB / 0.6677 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7699, allocations: 331.2 kB / 0.668 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004905/0.7704, allocations: 274.3 kB / 0.6683 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/0.771, allocations: 494.2 kB / 0.6687 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.7716, allocations: 356.5 kB / 0.6691 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7716, allocations: 2.906 kB / 0.6691 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001654/0.7733, allocations: 0.9669 MB / 0.67 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009001/0.7742, allocations: 2.361 MB / 0.6723 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.7742, allocations: 6.125 kB / 0.6723 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/0.7744, allocations: 30.53 kB / 0.6724 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/0.7751, allocations: 168.5 kB / 0.6725 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.7763, allocations: 1.328 MB / 0.6738 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009582/0.7773, allocations: 47.94 kB / 0.6739 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.7774, allocations: 33.81 kB / 0.6739 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.228e-06/0.7774, allocations: 2.844 kB / 0.6739 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001529/0.779, allocations: 0.8456 MB / 0.6747 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.779, allocations: 10.03 kB / 0.6748 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.97e-05/0.7791, allocations: 31.09 kB / 0.6748 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006358/0.7797, allocations: 171.9 kB / 0.6749 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009166/0.7807, allocations: 1.314 MB / 0.6762 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.7814, allocations: 50.72 kB / 0.6763 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.79e-05/0.7815, allocations: 37.03 kB / 0.6763 GB, free: 5.684 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005621/0.7821, allocations: 344.3 kB / 0.6766 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/0.7823, allocations: 83.59 kB / 0.6767 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001332/0.7836, allocations: 0.7512 MB / 0.6775 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.7837, allocations: 5.312 kB / 0.6775 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.7837, allocations: 4 kB / 0.6775 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.7837, allocations: 7.938 kB / 0.6775 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.7858, allocations: 1.463 MB / 0.6789 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7858, allocations: 0 / 0.6789 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004284/0.7863, allocations: 88.28 kB / 0.679 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.265e-05/0.7864, allocations: 33.52 kB / 0.679 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.7864, allocations: 9.312 kB / 0.679 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009069/0.7873, allocations: 1.324 MB / 0.6803 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7874, allocations: 0 / 0.6803 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.7888, allocations: 0.995 MB / 0.6813 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003648/0.7892, allocations: 189.2 kB / 0.6815 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.7893, allocations: 15.27 kB / 0.6815 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005524/0.7899, allocations: 29.05 kB / 0.6815 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.79, allocations: 33.77 kB / 0.6815 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.243e-05/0.79, allocations: 20.33 kB / 0.6816 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007372/0.7908, allocations: 0.5916 MB / 0.6821 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7908, allocations: 0 / 0.6821 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002012/0.7928, allocations: 0.7147 MB / 0.6828 GB, free: 2.262 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vol1.dynBal.medium.p,vol1.dynBal.medium.T) * 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 (44): * Single equations (assignments): 43 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/0.7944, allocations: 0.5951 MB / 0.6834 GB, free: 2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001984/0.7964, allocations: 1.228 MB / 0.6846 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7964, allocations: 0 / 0.6846 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004701/0.7969, allocations: 355.1 kB / 0.685 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.7987, allocations: 399.5 kB / 0.6853 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0027/0.8014, allocations: 1.867 MB / 0.6872 GB, free: 308 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.802, allocations: 1.018 MB / 0.6882 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001173/0.8032, allocations: 352.6 kB / 0.6885 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002282/0.8034, allocations: 78.75 kB / 0.6886 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of SimCode: time 5.81e-07/0.8034, allocations: 0 / 0.6886 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.03355/0.837, allocations: 20.95 MB / 0.709 GB, free: 14.72 MB / 0.5294 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.pipe 2>&1) Environment - environmentSimulation: