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.0009845/0.0009845, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.009473/0.009473, allocations: 170 kB / 16.27 MB, free: 6.652 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.791/1.791, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6271/0.6271, allocations: 95.62 MB / 366.4 MB, free: 10.23 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.0006999/0.0007004, allocations: 20 kB / 447.5 MB, free: 8.961 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4974/0.4981, allocations: 70.34 MB / 0.5057 GB, free: 16.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization): time 0.6509/1.149, allocations: 152.9 MB / 0.655 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/1.165, allocations: 10.71 MB / 0.6654 GB, free: 288 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002095/1.167, allocations: 37.75 kB / 0.6655 GB, free: 288 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001268/1.168, allocations: 355.1 kB / 0.6658 GB, free: 276 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004581/1.173, allocations: 1.42 MB / 0.6672 GB, free: 200 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006887/1.18, allocations: 2.112 MB / 0.6693 GB, free: 112 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005105/1.185, allocations: 3.71 MB / 0.6729 GB, free: 104 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001012/1.186, allocations: 0.5562 MB / 0.6734 GB, free: 36 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/1.188, allocations: 0.8116 MB / 0.6742 GB, free: 32 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001614/1.189, allocations: 1.039 MB / 0.6752 GB, free: 20 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.19, allocations: 40.91 kB / 0.6753 GB, free: 20 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/1.194, allocations: 1.878 MB / 0.6771 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004534/1.195, allocations: 278.2 kB / 0.6774 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007433/1.195, allocations: 496.8 kB / 0.6778 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004924/1.2, allocations: 2.284 MB / 0.6801 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.2, allocations: 7.938 kB / 0.6801 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.084e-06/1.2, allocations: 0 / 0.6801 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.2, allocations: 3.031 kB / 0.6801 GB, free: 15.5 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.002876/1.203, allocations: 1.248 MB / 0.6813 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/1.203, allocations: 11.98 kB / 0.6813 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003727/1.204, allocations: 106 kB / 0.6814 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/1.205, allocations: 0.7198 MB / 0.6821 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/1.205, allocations: 45.36 kB / 0.6822 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.554e-05/1.205, allocations: 59.08 kB / 0.6822 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/1.206, allocations: 0.924 MB / 0.6831 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/1.206, allocations: 3.281 kB / 0.6831 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.877e-05/1.206, allocations: 22.77 kB / 0.6831 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-05/1.207, allocations: 57.41 kB / 0.6832 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/1.208, allocations: 0.904 MB / 0.6841 GB, free: 13.68 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.005606/1.214, allocations: 3.656 MB / 0.6877 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/1.214, allocations: 453.5 kB / 0.6881 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004629/1.215, allocations: 256.6 kB / 0.6883 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002356/1.217, allocations: 1.72 MB / 0.69 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.217, allocations: 39.5 kB / 0.69 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 1.774e-06/1.217, allocations: 1.969 kB / 0.6901 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.003899/1.221, allocations: 1.736 MB / 0.6917 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001812/1.221, allocations: 160.2 kB / 0.6919 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.223, allocations: 0.8362 MB / 0.6927 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.04e-05/1.223, allocations: 33.3 kB / 0.6927 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/1.223, allocations: 439.3 kB / 0.6932 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/1.223, allocations: 157.2 kB / 0.6933 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/1.223, allocations: 62.55 kB / 0.6934 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.224, allocations: 334.1 kB / 0.6937 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004657/1.224, allocations: 282.7 kB / 0.694 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006167/1.225, allocations: 0.4993 MB / 0.6945 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/1.226, allocations: 0.7472 MB / 0.6952 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/1.226, allocations: 3.312 kB / 0.6952 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001696/1.227, allocations: 0.9917 MB / 0.6962 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000316/1.228, allocations: 275 kB / 0.6964 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/1.228, allocations: 9.688 kB / 0.6964 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/1.228, allocations: 27.45 kB / 0.6965 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/1.229, allocations: 173.8 kB / 0.6966 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/1.23, allocations: 1.321 MB / 0.6979 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/1.231, allocations: 44.75 kB / 0.6979 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/1.231, allocations: 36.94 kB / 0.698 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.552e-06/1.231, allocations: 5.781 kB / 0.698 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001276/1.232, allocations: 0.8489 MB / 0.6988 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/1.232, allocations: 11.92 kB / 0.6988 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.78e-05/1.232, allocations: 29.69 kB / 0.6989 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005878/1.233, allocations: 171.4 kB / 0.699 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000891/1.234, allocations: 1.311 MB / 0.7003 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/1.234, allocations: 56.69 kB / 0.7004 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/1.234, allocations: 36.61 kB / 0.7004 GB, free: 1.977 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005206/1.235, allocations: 337.9 kB / 0.7007 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/1.235, allocations: 87.88 kB / 0.7008 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/1.236, allocations: 0.7406 MB / 0.7015 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.236, allocations: 6.906 kB / 0.7015 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/1.236, allocations: 0 / 0.7015 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.236, allocations: 8.688 kB / 0.7015 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.238, allocations: 1.459 MB / 0.703 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.238, allocations: 0 / 0.703 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004085/1.239, allocations: 86.92 kB / 0.703 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.445e-05/1.239, allocations: 28.19 kB / 0.7031 GB, free: 56 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/1.239, allocations: 10.77 kB / 0.7031 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009511/1.24, allocations: 1.316 MB / 0.7044 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.24, allocations: 0 / 0.7044 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/1.241, allocations: 0.9868 MB / 0.7053 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/1.242, allocations: 181.2 kB / 0.7055 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/1.242, allocations: 10.62 kB / 0.7055 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/1.242, allocations: 40.16 kB / 0.7056 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.484e-05/1.242, allocations: 29.42 kB / 0.7056 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.252e-05/1.242, allocations: 20.33 kB / 0.7056 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008556/1.243, allocations: 0.5891 MB / 0.7062 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.243, allocations: 1.859 kB / 0.7062 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002263/1.246, allocations: 0.7145 MB / 0.7069 GB, free: 12.98 MB / 0.5137 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 (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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001647/1.247, allocations: 0.6078 MB / 0.7075 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002229/1.249, allocations: 1.242 MB / 0.7087 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/1.249, allocations: 6.609 kB / 0.7087 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005071/1.25, allocations: 356.7 kB / 0.709 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/1.252, allocations: 397.7 kB / 0.7094 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00301/1.255, allocations: 1.938 MB / 0.7113 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006063/1.256, allocations: 1.006 MB / 0.7123 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001147/1.257, allocations: 349.7 kB / 0.7126 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002099/1.257, allocations: 79.42 kB / 0.7127 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/1.257, allocations: 0 / 0.7127 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of Templates: time 0.03758/1.295, allocations: 21.52 MB / 0.7337 GB, free: 1.738 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: