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.001537/0.001537, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001676/0.001676, allocations: 187 kB / 17.34 MB, free: 5.738 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.352/1.352, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 291.9 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 0.9168/0.9168, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 95.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4602/0.462, allocations: 86.96 MB / 0.767 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02464/0.4867, allocations: 26.26 MB / 0.7927 GB, free: 9.559 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009936/0.4967, allocations: 7.139 MB / 0.7997 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001147/0.4979, allocations: 39.75 kB / 0.7997 GB, free: 2.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009672/0.4989, allocations: 385.5 kB / 0.8001 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002683/0.5016, allocations: 1.108 MB / 0.8011 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002241/0.5038, allocations: 0.9551 MB / 0.8021 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002346/0.5062, allocations: 2.095 MB / 0.8041 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007624/0.507, allocations: 0.6249 MB / 0.8047 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.5085, allocations: 0.7488 MB / 0.8055 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006619/0.5092, allocations: 0.5327 MB / 0.806 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.154e-05/0.5093, allocations: 59.98 kB / 0.806 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.5108, allocations: 0.811 MB / 0.8068 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001696/0.5109, allocations: 175.3 kB / 0.807 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003305/0.5113, allocations: 382.1 kB / 0.8074 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001446/0.5127, allocations: 1.21 MB / 0.8085 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.5127, allocations: 0 / 0.8085 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5128, allocations: 0 / 0.8085 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.5128, allocations: 0 / 0.8085 GB, free: 9.273 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.001361/0.5141, allocations: 1.063 MB / 0.8096 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.5142, allocations: 8.031 kB / 0.8096 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002892/0.5145, allocations: 87.98 kB / 0.8097 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5156, allocations: 0.7374 MB / 0.8104 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/0.5156, allocations: 36.94 kB / 0.8104 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.676e-05/0.5157, allocations: 47.98 kB / 0.8105 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007144/0.5164, allocations: 0.5001 MB / 0.811 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5164, allocations: 3.938 kB / 0.811 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/0.5165, allocations: 20 kB / 0.811 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.831e-05/0.5165, allocations: 19.98 kB / 0.811 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000505/0.517, allocations: 315.7 kB / 0.8113 GB, free: 6.32 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.002559/0.5196, allocations: 2.748 MB / 0.814 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002974/0.5199, allocations: 201.4 kB / 0.8142 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/0.5201, allocations: 96.81 kB / 0.8143 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002918/0.5204, allocations: 340.4 kB / 0.8146 GB, free: 2.621 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.5204, allocations: 42.88 kB / 0.8146 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.5204, allocations: 0 / 0.8146 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=22): time 0.0005449/0.521, allocations: 306.5 kB / 0.8149 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.521, allocations: 55.41 kB / 0.815 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005412/0.5216, allocations: 0.5302 MB / 0.8155 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.5216, allocations: 37.64 kB / 0.8155 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.5218, allocations: 339.4 kB / 0.8159 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.5219, allocations: 78.98 kB / 0.8159 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.522, allocations: 81.59 kB / 0.816 GB, free: 1.113 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5221, allocations: 358.8 kB / 0.8164 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.5223, allocations: 96.81 kB / 0.8164 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.5225, allocations: 237.9 kB / 0.8167 GB, free: 368 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.5229, allocations: 342.3 kB / 0.817 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5229, allocations: 4 kB / 0.817 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000546/0.5235, allocations: 391.8 kB / 0.8174 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5235, allocations: 11.98 kB / 0.8174 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5235, allocations: 4 kB / 0.8174 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.5235, allocations: 4 kB / 0.8174 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.5238, allocations: 75.84 kB / 0.8175 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.5238, allocations: 8.531 kB / 0.8175 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.5241, allocations: 55.45 kB / 0.8175 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.011e-05/0.5242, allocations: 20 kB / 0.8176 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000283/0.5245, allocations: 244 kB / 0.8178 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002401/0.5247, allocations: 235.3 kB / 0.818 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000356/0.5251, allocations: 339.2 kB / 0.8183 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.764e-06/0.5251, allocations: 0 / 0.8183 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005261/0.5256, allocations: 384.6 kB / 0.8187 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.5257, allocations: 15.27 kB / 0.8187 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.5257, allocations: 7.984 kB / 0.8187 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.129e-06/0.5257, allocations: 4.562 kB / 0.8187 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.5259, allocations: 79.84 kB / 0.8188 GB, free: 14 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5259, allocations: 11.94 kB / 0.8188 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.5262, allocations: 31.83 kB / 0.8188 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.5263, allocations: 16 kB / 0.8189 GB, free: 13.94 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.0001171/0.5264, allocations: 204.1 kB / 0.8191 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.741e-05/0.5265, allocations: 59.25 kB / 0.8191 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004439/0.5269, allocations: 280.2 kB / 0.8194 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.527, allocations: 11.92 kB / 0.8194 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.527, allocations: 0 / 0.8194 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000338/0.5273, allocations: 384 kB / 0.8198 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001329/0.5287, allocations: 1.061 MB / 0.8208 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5287, allocations: 7.938 kB / 0.8208 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002045/0.5289, allocations: 51.92 kB / 0.8208 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5289, allocations: 4 kB / 0.8209 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.874e-05/0.5289, allocations: 7.984 kB / 0.8209 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.5289, allocations: 4 kB / 0.8209 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5289, allocations: 288 / 0.8209 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.5295, allocations: 0.5182 MB / 0.8214 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.5297, allocations: 168.4 kB / 0.8215 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.5298, allocations: 8 kB / 0.8215 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000341/0.5302, allocations: 23.89 kB / 0.8216 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.5302, allocations: 31.84 kB / 0.8216 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.5302, allocations: 12.06 kB / 0.8216 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004271/0.5307, allocations: 415.1 kB / 0.822 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5307, allocations: 0 / 0.822 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009356/0.5316, allocations: 347.3 kB / 0.8223 GB, free: 10.15 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.0006104/0.5322, allocations: 311.6 kB / 0.8226 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006035/0.5329, allocations: 404.9 kB / 0.823 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.5329, allocations: 0 / 0.823 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.533, allocations: 111.7 kB / 0.8231 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5345, allocations: 372.7 kB / 0.8235 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001516/0.5361, allocations: 1.113 MB / 0.8246 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.5365, allocations: 0.8903 MB / 0.8254 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.5366, allocations: 63.42 kB / 0.8255 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.5366, allocations: 0 / 0.8255 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of Templates: time 0.01577/0.5524, allocations: 11 MB / 0.8362 GB, free: 11.97 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1)