Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002014/0.002015, allocations: 191.6 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.884/2.884, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001259, allocations: 64.66 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3261, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02625/0.3523, allocations: 26.29 MB / 1.094 GB, free: 48 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.3632, allocations: 7.132 MB / 1.101 GB, free: 8.902 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.3647, allocations: 39.75 kB / 1.101 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.3659, allocations: 389.4 kB / 1.101 GB, free: 8.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.3694, allocations: 1.108 MB / 1.102 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.372, allocations: 0.9491 MB / 1.103 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002686/0.3747, allocations: 2.09 MB / 1.105 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009452/0.3757, allocations: 0.6179 MB / 1.106 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.3774, allocations: 0.721 MB / 1.107 GB, free: 2.977 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008958/0.3783, allocations: 0.5366 MB / 1.107 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.3785, allocations: 56 kB / 1.107 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001768/0.3802, allocations: 0.8071 MB / 1.108 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002284/0.3805, allocations: 171.4 kB / 1.108 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004896/0.381, allocations: 382.2 kB / 1.108 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001875/0.3829, allocations: 1.192 MB / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3829, allocations: 0 / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3829, allocations: 0 / 1.11 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.202e-05/0.3829, allocations: 4 kB / 1.11 GB, free: 15.83 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00155/0.3845, allocations: 1.055 MB / 1.111 GB, free: 14.73 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3845, allocations: 8.031 kB / 1.111 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003297/0.3848, allocations: 95.98 kB / 1.111 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001117/0.386, allocations: 0.6866 MB / 1.111 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.386, allocations: 48.88 kB / 1.111 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.3861, allocations: 47.98 kB / 1.112 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007905/0.3869, allocations: 0.4922 MB / 1.112 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.3869, allocations: 12 kB / 1.112 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.165e-05/0.387, allocations: 20 kB / 1.112 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.387, allocations: 15.98 kB / 1.112 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.3876, allocations: 319.7 kB / 1.112 GB, free: 12.92 MB / 0.8731 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.002937/0.3905, allocations: 2.767 MB / 1.115 GB, free: 9.914 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3909, allocations: 187.5 kB / 1.115 GB, free: 9.723 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.391, allocations: 108.8 kB / 1.115 GB, free: 9.613 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/0.3913, allocations: 336.4 kB / 1.116 GB, free: 9.211 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3914, allocations: 38.88 kB / 1.116 GB, free: 9.164 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.884e-06/0.3914, allocations: 4 kB / 1.116 GB, free: 9.16 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.0005905/0.392, allocations: 307.4 kB / 1.116 GB, free: 8.855 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.392, allocations: 55.41 kB / 1.116 GB, free: 8.789 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006124/0.3927, allocations: 0.5302 MB / 1.117 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3927, allocations: 29.7 kB / 1.117 GB, free: 8.215 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.3929, allocations: 347.3 kB / 1.117 GB, free: 7.871 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.562e-05/0.393, allocations: 86.91 kB / 1.117 GB, free: 7.785 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.3931, allocations: 73.61 kB / 1.117 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3933, allocations: 366.8 kB / 1.117 GB, free: 7.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.3934, allocations: 96.8 kB / 1.118 GB, free: 7.242 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002528/0.3937, allocations: 241.8 kB / 1.118 GB, free: 6.941 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.3941, allocations: 337.9 kB / 1.118 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3941, allocations: 0 / 1.118 GB, free: 6.555 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006119/0.3947, allocations: 391.3 kB / 1.118 GB, free: 6.168 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.3948, allocations: 8 kB / 1.118 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3948, allocations: 4 kB / 1.118 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3948, allocations: 8.562 kB / 1.118 GB, free: 6.148 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.3951, allocations: 83.84 kB / 1.119 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3951, allocations: 7.938 kB / 1.119 GB, free: 6.059 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003586/0.3955, allocations: 43.58 kB / 1.119 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3955, allocations: 16 kB / 1.119 GB, free: 6 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003024/0.3958, allocations: 252 kB / 1.119 GB, free: 5.75 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002448/0.3961, allocations: 229.8 kB / 1.119 GB, free: 5.461 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004092/0.3965, allocations: 332.9 kB / 1.119 GB, free: 5.078 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.687e-06/0.3965, allocations: 4 kB / 1.119 GB, free: 5.074 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000588/0.3971, allocations: 387.1 kB / 1.12 GB, free: 4.691 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.3971, allocations: 8.062 kB / 1.12 GB, free: 4.684 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3971, allocations: 8 kB / 1.12 GB, free: 4.676 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.974e-06/0.3971, allocations: 8 kB / 1.12 GB, free: 4.668 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3974, allocations: 75.91 kB / 1.12 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.3974, allocations: 11.88 kB / 1.12 GB, free: 4.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.3978, allocations: 27.83 kB / 1.12 GB, free: 4.555 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3978, allocations: 20 kB / 1.12 GB, free: 4.535 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001342/0.3979, allocations: 204.1 kB / 1.12 GB, free: 4.328 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.398, allocations: 63.25 kB / 1.12 GB, free: 4.266 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004842/0.3985, allocations: 281.2 kB / 1.12 GB, free: 3.984 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.3986, allocations: 3.938 kB / 1.12 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3986, allocations: 0 / 1.12 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003598/0.3989, allocations: 377.4 kB / 1.121 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.4004, allocations: 1.059 MB / 1.122 GB, free: 2.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4004, allocations: 8 kB / 1.122 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.4006, allocations: 51.92 kB / 1.122 GB, free: 2.344 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4006, allocations: 4.281 kB / 1.122 GB, free: 2.34 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.357e-05/0.4007, allocations: 15.98 kB / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4007, allocations: 4 kB / 1.122 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.4007, allocations: 4 kB / 1.122 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.4013, allocations: 0.5147 MB / 1.122 GB, free: 1.758 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.4016, allocations: 172.3 kB / 1.123 GB, free: 1.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.4016, allocations: 8 kB / 1.123 GB, free: 1.562 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000352/0.402, allocations: 11.98 kB / 1.123 GB, free: 1.551 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.4021, allocations: 35.91 kB / 1.123 GB, free: 1.516 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.4021, allocations: 16 kB / 1.123 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000471/0.4026, allocations: 407.1 kB / 1.123 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.304e-06/0.4026, allocations: 0 / 1.123 GB, free: 1.102 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009888/0.4036, allocations: 363.1 kB / 1.123 GB, free: 0.7461 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006904/0.4043, allocations: 310.5 kB / 1.124 GB, free: 452 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000696/0.405, allocations: 420.8 kB / 1.124 GB, free: 32 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.405, allocations: 0 / 1.124 GB, free: 32 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.4052, allocations: 105.7 kB / 1.124 GB, free: 15.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.407, allocations: 378.6 kB / 1.125 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001707/0.4087, allocations: 1.104 MB / 1.126 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.4091, allocations: 0.8941 MB / 1.126 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005688/0.4097, allocations: 157.1 kB / 1.127 GB, free: 13.34 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.4098, allocations: 59.42 kB / 1.127 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of SimCode: time 1.923e-06/0.4098, allocations: 0 / 1.127 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of Templates: time 0.02261/0.4324, allocations: 12.92 MB / 1.139 GB, free: 0.5312 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)