Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006613/0.006613, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.001236/0.001236, allocations: 188.4 kB / 16.67 MB, free: 5.98 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.362/1.362, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002089, allocations: 286.7 kB / 290.8 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9675/0.9675, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 91.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.172, allocations: 86.98 MB / 0.7664 GB, free: 8.414 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6164/0.7884, allocations: 242.4 MB / 1.003 GB, free: 152 kB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02225/0.8107, allocations: 15.91 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.813, allocations: 79.5 kB / 1.019 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.816, allocations: 1.223 MB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009306/0.8253, allocations: 3.955 MB / 1.024 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004557/0.8299, allocations: 1.825 MB / 1.026 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.007092/0.837, allocations: 5.273 MB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/0.8394, allocations: 1.674 MB / 1.032 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005409/0.8448, allocations: 2.693 MB / 1.035 GB, free: 15.41 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003293/0.8481, allocations: 1.709 MB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003259/0.8485, allocations: 176 kB / 1.037 GB, free: 13.54 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005836/0.8543, allocations: 2.709 MB / 1.039 GB, free: 10.82 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009431/0.8553, allocations: 0.7752 MB / 1.04 GB, free: 10.04 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.8571, allocations: 1.147 MB / 1.041 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00597/0.863, allocations: 3.568 MB / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.8631, allocations: 0 / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8631, allocations: 0 / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.512e-05/0.8631, allocations: 0 / 1.045 GB, free: 5.312 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.00419/0.8673, allocations: 2.499 MB / 1.047 GB, free: 2.758 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.8674, allocations: 8.031 kB / 1.047 GB, free: 2.75 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.8702, allocations: 0.5087 MB / 1.048 GB, free: 2.238 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.8724, allocations: 1.37 MB / 1.049 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.8726, allocations: 170.2 kB / 1.049 GB, free: 0.6328 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002264/0.8728, allocations: 151.9 kB / 1.049 GB, free: 496 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002964/0.8758, allocations: 1.749 MB / 1.051 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.39e-05/0.8759, allocations: 3.938 kB / 1.051 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.876, allocations: 60 kB / 1.051 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-05/0.8761, allocations: 66.69 kB / 1.051 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002576/0.8787, allocations: 1.377 MB / 1.053 GB, free: 13.15 MB / 0.8106 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.008708/0.8874, allocations: 8.202 MB / 1.061 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001574/0.889, allocations: 0.8974 MB / 1.061 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008754/0.8899, allocations: 0.5341 MB / 1.062 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005876/0.8905, allocations: 320.4 kB / 1.062 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.8905, allocations: 43.56 kB / 1.062 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=96): time 2.655e-06/0.8905, allocations: 4 kB / 1.062 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=102): time 0.006413/0.8969, allocations: 3.122 MB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.897, allocations: 72.34 kB / 1.065 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.8985, allocations: 1.262 MB / 1.067 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.809e-05/0.8985, allocations: 49.7 kB / 1.067 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/0.8991, allocations: 0.8055 MB / 1.068 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.8994, allocations: 374.6 kB / 1.068 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.8997, allocations: 222.8 kB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.8998, allocations: 349.9 kB / 1.068 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/0.9006, allocations: 449.9 kB / 1.069 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.9017, allocations: 0.8221 MB / 1.07 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001909/0.9037, allocations: 1.253 MB / 1.071 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.9037, allocations: 7.938 kB / 1.071 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002506/0.9062, allocations: 1.409 MB / 1.072 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.9062, allocations: 8 kB / 1.072 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.9063, allocations: 12 kB / 1.072 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.776e-05/0.9063, allocations: 16 kB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.9074, allocations: 272.1 kB / 1.073 GB, free: 7.512 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-05/0.9074, allocations: 23.94 kB / 1.073 GB, free: 7.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.9086, allocations: 71.81 kB / 1.073 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.336e-05/0.9087, allocations: 52 kB / 1.073 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001369/0.9101, allocations: 0.7679 MB / 1.073 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.9112, allocations: 0.826 MB / 1.074 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001792/0.913, allocations: 1.229 MB / 1.075 GB, free: 4.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.913, allocations: 4 kB / 1.075 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002291/0.9153, allocations: 1.39 MB / 1.077 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.9153, allocations: 16 kB / 1.077 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9153, allocations: 11.98 kB / 1.077 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.9153, allocations: 16 kB / 1.077 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.9164, allocations: 275.5 kB / 1.077 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.9164, allocations: 15.94 kB / 1.077 GB, free: 2.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.9176, allocations: 83.88 kB / 1.077 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.25e-05/0.9177, allocations: 48 kB / 1.077 GB, free: 2.398 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0002936/0.918, allocations: 279.6 kB / 1.078 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.9182, allocations: 162 kB / 1.078 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002154/0.9204, allocations: 1.151 MB / 1.079 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.9204, allocations: 12 kB / 1.079 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.9204, allocations: 4 kB / 1.079 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001654/0.9221, allocations: 1.079 MB / 1.08 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/0.9264, allocations: 2.777 MB / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.9265, allocations: 224 / 1.083 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.9276, allocations: 255.6 kB / 1.083 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/0.9277, allocations: 7.938 kB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/0.9278, allocations: 31.98 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-06/0.9278, allocations: 4 kB / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9278, allocations: 0 / 1.083 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002868/0.9307, allocations: 1.775 MB / 1.085 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005257/0.9312, allocations: 335.9 kB / 1.085 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.9314, allocations: 27.94 kB / 1.085 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/0.9324, allocations: 61.81 kB / 1.085 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.9325, allocations: 64.95 kB / 1.085 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.109e-05/0.9326, allocations: 45.09 kB / 1.085 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001095/0.9337, allocations: 0.8387 MB / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9337, allocations: 0 / 1.086 GB, free: 9.309 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001875/0.9356, allocations: 0.7617 MB / 1.087 GB, free: 8.547 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.0006192/0.9362, allocations: 283.2 kB / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003171/0.9394, allocations: 1.735 MB / 1.089 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.9394, allocations: 0 / 1.089 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.9403, allocations: 0.5226 MB / 1.089 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/0.9441, allocations: 0.9124 MB / 1.09 GB, free: 5.117 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005313/0.9494, allocations: 3.457 MB / 1.093 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/0.9504, allocations: 1.445 MB / 1.095 GB, free: 136 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.3352/1.286, allocations: 0.5529 MB / 1.095 GB, free: 288.7 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000441/1.286, allocations: 126.8 kB / 1.095 GB, free: 288.6 MB / 0.8419 GB Notification: Performance of SimCode: time 7.61e-07/1.286, allocations: 0 / 1.095 GB, free: 288.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.0571/1.343, allocations: 31.47 MB / 1.126 GB, free: 280.8 MB / 0.8419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)