Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001647/0.001647, allocations: 112.3 kB / 16.41 MB, free: 6.52 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.001699/0.001699, allocations: 189.2 kB / 17.34 MB, free: 5.73 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002477/0.002477, allocations: 288.4 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.037/1.037, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002889/0.002889, allocations: 103.8 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4234, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03073/0.4542, allocations: 26.3 MB / 0.7927 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01119/0.4653, allocations: 7.155 MB / 0.7997 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00094/0.4663, allocations: 39.75 kB / 0.7998 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.4673, allocations: 401.5 kB / 0.8001 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002862/0.4702, allocations: 1.169 MB / 0.8013 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002489/0.4727, allocations: 0.9588 MB / 0.8022 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002892/0.4756, allocations: 2.097 MB / 0.8043 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008294/0.4764, allocations: 0.5235 MB / 0.8048 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.4781, allocations: 0.741 MB / 0.8055 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000738/0.4788, allocations: 0.5405 MB / 0.806 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.801e-05/0.4789, allocations: 56 kB / 0.8061 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.4806, allocations: 0.8071 MB / 0.8069 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002099/0.4808, allocations: 179.2 kB / 0.807 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004512/0.4812, allocations: 382.2 kB / 0.8074 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002193/0.4834, allocations: 1.22 MB / 0.8086 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4834, allocations: 0 / 0.8086 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4834, allocations: 0 / 0.8086 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.4834, allocations: 0 / 0.8086 GB, free: 9.227 MB / 0.5762 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.001865/0.4853, allocations: 1.089 MB / 0.8097 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.4854, allocations: 8.031 kB / 0.8097 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003346/0.4857, allocations: 92.41 kB / 0.8098 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.4871, allocations: 0.7302 MB / 0.8105 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4871, allocations: 40.94 kB / 0.8105 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.454e-05/0.4872, allocations: 55.88 kB / 0.8106 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009385/0.4882, allocations: 0.4962 MB / 0.811 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.4882, allocations: 0 / 0.811 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.4882, allocations: 24 kB / 0.8111 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.691e-05/0.4883, allocations: 12 kB / 0.8111 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005582/0.4888, allocations: 323.7 kB / 0.8114 GB, free: 6.242 MB / 0.5762 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.003428/0.4922, allocations: 2.756 MB / 0.8141 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.4926, allocations: 186.4 kB / 0.8143 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000169/0.4928, allocations: 88.81 kB / 0.8143 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000426/0.4932, allocations: 344.4 kB / 0.8147 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.4932, allocations: 38.88 kB / 0.8147 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.974e-06/0.4932, allocations: 0 / 0.8147 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22): time 0.0007001/0.4939, allocations: 306.6 kB / 0.815 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/0.494, allocations: 55.41 kB / 0.815 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007119/0.4947, allocations: 0.5303 MB / 0.8156 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.809e-05/0.4948, allocations: 25.7 kB / 0.8156 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.4951, allocations: 364.1 kB / 0.8159 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.32e-05/0.4952, allocations: 83.28 kB / 0.816 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.4953, allocations: 81.58 kB / 0.8161 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.4955, allocations: 358.8 kB / 0.8164 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001678/0.4957, allocations: 96.81 kB / 0.8165 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.496, allocations: 233.9 kB / 0.8168 GB, free: 288 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005187/0.4965, allocations: 350.3 kB / 0.8171 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.4965, allocations: 0 / 0.8171 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006871/0.4972, allocations: 392.6 kB / 0.8175 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.4972, allocations: 8 kB / 0.8175 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.4972, allocations: 4 kB / 0.8175 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.4972, allocations: 11.98 kB / 0.8175 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003044/0.4975, allocations: 75.84 kB / 0.8176 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.4975, allocations: 4 kB / 0.8176 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003599/0.4979, allocations: 47.72 kB / 0.8176 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.451e-05/0.4979, allocations: 16 kB / 0.8176 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003387/0.4983, allocations: 248 kB / 0.8179 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002712/0.4985, allocations: 233.6 kB / 0.8181 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004266/0.499, allocations: 343.2 kB / 0.8184 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.208e-06/0.499, allocations: 4 kB / 0.8184 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006262/0.4996, allocations: 381 kB / 0.8188 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4996, allocations: 11.12 kB / 0.8188 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.4996, allocations: 4 kB / 0.8188 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.4996, allocations: 8 kB / 0.8188 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002753/0.4999, allocations: 79.83 kB / 0.8189 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4999, allocations: 11.88 kB / 0.8189 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.5003, allocations: 36.23 kB / 0.8189 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.5003, allocations: 20 kB / 0.8189 GB, free: 13.86 MB / 0.5919 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.0002033/0.5005, allocations: 208.1 kB / 0.8191 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5006, allocations: 59.62 kB / 0.8192 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.5012, allocations: 278.6 kB / 0.8195 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/0.5012, allocations: 7.922 kB / 0.8195 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5012, allocations: 4 kB / 0.8195 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004436/0.5017, allocations: 381.4 kB / 0.8198 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001628/0.5033, allocations: 1.06 MB / 0.8209 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5033, allocations: 8.062 kB / 0.8209 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5035, allocations: 51.91 kB / 0.8209 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.5035, allocations: 4 kB / 0.8209 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5035, allocations: 12 kB / 0.8209 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.5035, allocations: 11.92 kB / 0.821 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.5035, allocations: 4 kB / 0.821 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006904/0.5042, allocations: 0.5223 MB / 0.8215 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002431/0.5045, allocations: 172.6 kB / 0.8216 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.016e-05/0.5045, allocations: 12.06 kB / 0.8216 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.5049, allocations: 15.98 kB / 0.8217 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.5049, allocations: 23.86 kB / 0.8217 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.505, allocations: 15.98 kB / 0.8217 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005081/0.5055, allocations: 411.1 kB / 0.8221 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5055, allocations: 0 / 0.8221 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001102/0.5066, allocations: 359.2 kB / 0.8224 GB, free: 10.05 MB / 0.5919 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.0006931/0.5073, allocations: 304.6 kB / 0.8227 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006901/0.508, allocations: 388.6 kB / 0.8231 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.508, allocations: 4 kB / 0.8231 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/0.5081, allocations: 104.6 kB / 0.8232 GB, free: 9.277 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001742/0.5099, allocations: 369 kB / 0.8235 GB, free: 8.926 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.5118, allocations: 1.106 MB / 0.8246 GB, free: 7.762 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.5124, allocations: 0.9019 MB / 0.8255 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0005004/0.5129, allocations: 160.1 kB / 0.8257 GB, free: 6.676 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.513, allocations: 59.42 kB / 0.8257 GB, free: 6.617 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.513, allocations: 4 kB / 0.8257 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of Templates: time 0.02454/0.5375, allocations: 13.05 MB / 0.8385 GB, free: 9.781 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)