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.001136/0.001136, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001251/0.001251, allocations: 194.8 kB / 16.14 MB, free: 6.703 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.6/1.6, allocations: 205.1 MB / 222 MB, free: 4.77 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.6567/0.6567, allocations: 95.48 MB / 364.8 MB, free: 10.11 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.001468/0.001468, allocations: 63.89 kB / 444.7 MB, free: 10.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3813, allocations: 69.07 MB / 0.5017 GB, free: 17.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization): time 0.5924/0.9738, allocations: 154.9 MB / 0.653 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01649/0.9903, allocations: 10.89 MB / 0.6636 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002631/0.9931, allocations: 46.47 kB / 0.6637 GB, free: 336 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001576/0.9947, allocations: 344.5 kB / 0.664 GB, free: 328 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004915/0.9996, allocations: 1.422 MB / 0.6654 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007187/1.007, allocations: 2.114 MB / 0.6675 GB, free: 160 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00681/1.014, allocations: 3.71 MB / 0.6711 GB, free: 148 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001362/1.015, allocations: 0.5632 MB / 0.6716 GB, free: 80 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/1.017, allocations: 0.8267 MB / 0.6724 GB, free: 76 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001848/1.019, allocations: 1.046 MB / 0.6735 GB, free: 64 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001776/1.019, allocations: 42.38 kB / 0.6735 GB, free: 64 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004403/1.024, allocations: 1.88 MB / 0.6753 GB, free: 48 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004812/1.024, allocations: 283.5 kB / 0.6756 GB, free: 40 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008848/1.025, allocations: 479.8 kB / 0.6761 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005338/1.03, allocations: 2.304 MB / 0.6783 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/1.03, allocations: 2.625 kB / 0.6783 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.283e-06/1.03, allocations: 0 / 0.6783 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.786e-05/1.03, allocations: 0 / 0.6783 GB, free: 15.68 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.003556/1.034, allocations: 1.427 MB / 0.6797 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.034, allocations: 11.3 kB / 0.6797 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/1.034, allocations: 118.8 kB / 0.6798 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/1.036, allocations: 0.7189 MB / 0.6805 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/1.036, allocations: 45.41 kB / 0.6806 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.336e-05/1.036, allocations: 60.44 kB / 0.6806 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.037, allocations: 0.9174 MB / 0.6815 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/1.037, allocations: 2.438 kB / 0.6815 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-05/1.037, allocations: 26.05 kB / 0.6816 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-05/1.037, allocations: 65.67 kB / 0.6816 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/1.039, allocations: 0.8907 MB / 0.6825 GB, free: 13.88 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.005808/1.045, allocations: 3.646 MB / 0.6861 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008258/1.046, allocations: 456.9 kB / 0.6865 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003818/1.046, allocations: 256 kB / 0.6867 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002223/1.048, allocations: 1.719 MB / 0.6884 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/1.048, allocations: 37.25 kB / 0.6884 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=36): time 2.054e-06/1.048, allocations: 0 / 0.6884 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41): time 0.003976/1.052, allocations: 1.741 MB / 0.6901 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/1.052, allocations: 158.9 kB / 0.6903 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/1.053, allocations: 0.8247 MB / 0.6911 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.614e-05/1.053, allocations: 38.39 kB / 0.6911 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/1.054, allocations: 433.9 kB / 0.6916 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001419/1.054, allocations: 159.7 kB / 0.6917 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/1.054, allocations: 153.6 kB / 0.6919 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.054, allocations: 333.4 kB / 0.6922 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004686/1.055, allocations: 292.5 kB / 0.6925 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006546/1.055, allocations: 0.5005 MB / 0.6929 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.057, allocations: 0.7457 MB / 0.6937 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.057, allocations: 3 kB / 0.6937 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001745/1.058, allocations: 0.989 MB / 0.6946 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/1.058, allocations: 11.28 kB / 0.6946 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/1.058, allocations: 5.344 kB / 0.6947 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/1.059, allocations: 35.62 kB / 0.6947 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000713/1.059, allocations: 174.3 kB / 0.6949 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/1.061, allocations: 1.315 MB / 0.6961 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/1.061, allocations: 44.81 kB / 0.6962 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.926e-05/1.061, allocations: 41.48 kB / 0.6962 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007195/1.062, allocations: 465.9 kB / 0.6967 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006723/1.063, allocations: 0.4956 MB / 0.6971 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001109/1.064, allocations: 0.7261 MB / 0.6979 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.37e-06/1.064, allocations: 5.844 kB / 0.6979 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.001753/1.066, allocations: 0.9601 MB / 0.6988 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/1.066, allocations: 8.031 kB / 0.6988 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.066, allocations: 6.219 kB / 0.6988 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.398e-05/1.066, allocations: 31.84 kB / 0.6988 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000662/1.067, allocations: 172.8 kB / 0.699 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009329/1.067, allocations: 1.318 MB / 0.7003 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007721/1.068, allocations: 54.66 kB / 0.7003 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-05/1.068, allocations: 35.98 kB / 0.7004 GB, free: 15.92 MB / 0.5137 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.0003552/1.069, allocations: 222.4 kB / 0.7006 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.069, allocations: 86.97 kB / 0.7007 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/1.07, allocations: 0.756 MB / 0.7014 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.07, allocations: 4 kB / 0.7014 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.07, allocations: 8 kB / 0.7014 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.07, allocations: 3.984 kB / 0.7014 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/1.072, allocations: 1.455 MB / 0.7029 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/1.072, allocations: 0 / 0.7029 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/1.073, allocations: 89.11 kB / 0.7029 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.759e-05/1.073, allocations: 24.84 kB / 0.703 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/1.073, allocations: 11.98 kB / 0.703 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008651/1.074, allocations: 1.311 MB / 0.7043 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.074, allocations: 3.938 kB / 0.7043 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/1.075, allocations: 0.984 MB / 0.7052 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/1.075, allocations: 156.1 kB / 0.7054 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/1.076, allocations: 15.94 kB / 0.7054 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/1.076, allocations: 44.03 kB / 0.7054 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.778e-05/1.076, allocations: 19.97 kB / 0.7054 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-05/1.076, allocations: 19.98 kB / 0.7055 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000832/1.077, allocations: 0.5927 MB / 0.706 GB, free: 9.871 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.723e-06/1.077, allocations: 6.625 kB / 0.706 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002608/1.08, allocations: 0.7105 MB / 0.7067 GB, free: 9.156 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.001688/1.081, allocations: 0.6119 MB / 0.7073 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002135/1.083, allocations: 1.245 MB / 0.7086 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/1.084, allocations: 0 / 0.7086 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004858/1.084, allocations: 352.9 kB / 0.7089 GB, free: 7.012 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/1.086, allocations: 412.8 kB / 0.7093 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002779/1.089, allocations: 1.847 MB / 0.7111 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/1.089, allocations: 1.006 MB / 0.7121 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001164/1.09, allocations: 346 kB / 0.7124 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/1.091, allocations: 79.42 kB / 0.7125 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of SimCode: time 4.5e-07/1.091, allocations: 0 / 0.7125 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.03608/1.127, allocations: 21.67 MB / 0.7336 GB, free: 13.86 MB / 0.545 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeInitialization.makefile (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)