Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6763/0.6763, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001265/0.001265, allocations: 187.3 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 408.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009674/0.0009674, allocations: 102.2 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 57.06 kB / 0.558 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1164, allocations: 75.48 MB / 0.6317 GB, free: 33.03 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.4763/0.5927, allocations: 250.3 MB / 0.8761 GB, free: 16 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01929/0.6121, allocations: 16.16 MB / 0.8919 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.6143, allocations: 79.44 kB / 0.892 GB, free: 15.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002463/0.6169, allocations: 1.026 MB / 0.893 GB, free: 14.7 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.007518/0.6244, allocations: 3.613 MB / 0.8965 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003518/0.6279, allocations: 1.616 MB / 0.8981 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006696/0.6346, allocations: 7.812 MB / 0.9057 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.6363, allocations: 1.458 MB / 0.9071 GB, free: 152 kB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004253/0.6406, allocations: 2.444 MB / 0.9095 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/0.6434, allocations: 1.817 MB / 0.9113 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002228/0.6436, allocations: 100 kB / 0.9114 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004495/0.6481, allocations: 2.899 MB / 0.9142 GB, free: 8.875 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0006468/0.6488, allocations: 0.7166 MB / 0.9149 GB, free: 8.156 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.6498, allocations: 1.088 MB / 0.916 GB, free: 7.062 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004179/0.654, allocations: 3.766 MB / 0.9196 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.654, allocations: 0 / 0.9196 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.483e-06/0.654, allocations: 0 / 0.9196 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.388e-05/0.6541, allocations: 0 / 0.9196 GB, free: 3.285 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003855/0.6579, allocations: 2.51 MB / 0.9221 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.658, allocations: 8.031 kB / 0.9221 GB, free: 0.707 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002345/0.6603, allocations: 496.9 kB / 0.9226 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/0.6623, allocations: 1.284 MB / 0.9238 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.6625, allocations: 182.3 kB / 0.924 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.6627, allocations: 156 kB / 0.9242 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/0.667, allocations: 2.018 MB / 0.9261 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.6671, allocations: 7.844 kB / 0.9261 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/0.6672, allocations: 64 kB / 0.9262 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-05/0.6673, allocations: 66.72 kB / 0.9263 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004029/0.6713, allocations: 1.689 MB / 0.9279 GB, free: 10.63 MB / 0.6198 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.008495/0.6798, allocations: 7.602 MB / 0.9353 GB, free: 2.383 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003144/0.683, allocations: 1.261 MB / 0.9366 GB, free: 1.113 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.6838, allocations: 0.5498 MB / 0.9371 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005492/0.6844, allocations: 320.2 kB / 0.9374 GB, free: 200 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/0.6844, allocations: 43.56 kB / 0.9375 GB, free: 148 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=104): time 2.615e-06/0.6844, allocations: 8 kB / 0.9375 GB, free: 140 kB / 0.6198 GB Notification: Performance of matching and sorting (n=110): time 0.01087/0.6953, allocations: 3.953 MB / 0.9413 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6954, allocations: 60.41 kB / 0.9414 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6968, allocations: 1.245 MB / 0.9426 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.514e-05/0.6969, allocations: 50.03 kB / 0.9426 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.6974, allocations: 0.8175 MB / 0.9434 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.6977, allocations: 390.3 kB / 0.9438 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/0.698, allocations: 242.7 kB / 0.944 GB, free: 9.289 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.6981, allocations: 349.9 kB / 0.9444 GB, free: 8.941 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.6993, allocations: 0.5369 MB / 0.9449 GB, free: 8.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.7007, allocations: 0.899 MB / 0.9458 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.7032, allocations: 1.391 MB / 0.9471 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.7032, allocations: 4 kB / 0.9471 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003028/0.7062, allocations: 1.585 MB / 0.9487 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.7063, allocations: 12 kB / 0.9487 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7063, allocations: 8 kB / 0.9487 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.7063, allocations: 16 kB / 0.9487 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.7078, allocations: 331.5 kB / 0.949 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.7078, allocations: 15.94 kB / 0.9491 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.7096, allocations: 215.5 kB / 0.9493 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-05/0.7097, allocations: 55.98 kB / 0.9493 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001278/0.711, allocations: 0.7836 MB / 0.9501 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009826/0.712, allocations: 0.7976 MB / 0.9509 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/0.7137, allocations: 1.215 MB / 0.952 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.589e-06/0.7137, allocations: 4 kB / 0.952 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.002124/0.7158, allocations: 1.41 MB / 0.9534 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7159, allocations: 11.94 kB / 0.9534 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7159, allocations: 4 kB / 0.9534 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.7159, allocations: 16 kB / 0.9535 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.7169, allocations: 275.6 kB / 0.9537 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.7169, allocations: 19.94 kB / 0.9537 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.7183, allocations: 172.4 kB / 0.9539 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.7184, allocations: 47.98 kB / 0.9539 GB, free: 14.61 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (155): * Single equations (assignments): 155 * 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.0002923/0.7187, allocations: 255.9 kB / 0.9542 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.7189, allocations: 178 kB / 0.9544 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.7219, allocations: 1.392 MB / 0.9557 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/0.7219, allocations: 12 kB / 0.9557 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.7219, allocations: 0 / 0.9557 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00242/0.7244, allocations: 1.298 MB / 0.957 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/0.7302, allocations: 3.081 MB / 0.96 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.7302, allocations: 8.031 kB / 0.96 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001564/0.7318, allocations: 307.6 kB / 0.9603 GB, free: 7.949 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.7318, allocations: 4 kB / 0.9603 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/0.7319, allocations: 35.98 kB / 0.9603 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.7319, allocations: 8 kB / 0.9604 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.7319, allocations: 7.938 kB / 0.9604 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03796/0.7699, allocations: 13.25 MB / 0.9733 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007399/0.7707, allocations: 358.9 kB / 0.9736 GB, free: 10 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001952/0.7709, allocations: 27.98 kB / 0.9737 GB, free: 9.977 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00161/0.7725, allocations: 187.7 kB / 0.9738 GB, free: 9.793 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.7727, allocations: 68.89 kB / 0.9739 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/0.7728, allocations: 43.97 kB / 0.974 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001041/0.7738, allocations: 0.8341 MB / 0.9748 GB, free: 8.848 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7738, allocations: 4 kB / 0.9748 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004502/0.7783, allocations: 1.387 MB / 0.9761 GB, free: 7.457 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * 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 (110): * Single equations (assignments): 110 * 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.0005796/0.7789, allocations: 270.5 kB / 0.9764 GB, free: 7.195 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004011/0.783, allocations: 1.958 MB / 0.9783 GB, free: 5.242 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/0.783, allocations: 4 kB / 0.9783 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.7843, allocations: 0.6383 MB / 0.9789 GB, free: 4.602 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004452/0.7888, allocations: 0.9681 MB / 0.9799 GB, free: 3.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.7956, allocations: 5.086 MB / 0.9848 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.7968, allocations: 1.481 MB / 0.9863 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002402/0.7992, allocations: 0.6071 MB / 0.9869 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006913/0.7999, allocations: 155.4 kB / 0.987 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of SimCode: time 3.81e-07/0.7999, allocations: 0 / 0.987 GB, free: 12.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.3052/1.105, allocations: 40.46 MB / 1.027 GB, free: 262.8 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)