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.00111/0.00111, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001189/0.001189, allocations: 185.5 kB / 17.35 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.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002139/0.002139, allocations: 281.5 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.9417/0.9417, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 91.86 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3784, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5924/0.9709, allocations: 242.4 MB / 1.004 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01746/0.9884, allocations: 15.91 MB / 1.019 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.991, allocations: 79.06 kB / 1.019 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.9938, allocations: 1.178 MB / 1.021 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008168/1.002, allocations: 3.82 MB / 1.024 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004212/1.006, allocations: 1.818 MB / 1.026 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005963/1.012, allocations: 5.251 MB / 1.031 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/1.015, allocations: 1.667 MB / 1.033 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/1.02, allocations: 2.646 MB / 1.035 GB, free: 0.7344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/1.023, allocations: 1.718 MB / 1.037 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000558/1.024, allocations: 176.4 kB / 1.037 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005346/1.029, allocations: 2.708 MB / 1.04 GB, free: 452 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.03, allocations: 0.7698 MB / 1.041 GB, free: 364 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002049/1.032, allocations: 1.143 MB / 1.042 GB, free: 44 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006135/1.038, allocations: 3.568 MB / 1.045 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/1.038, allocations: 0 / 1.045 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.443e-06/1.038, allocations: 4 kB / 1.045 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.695e-05/1.038, allocations: 0 / 1.045 GB, free: 15.57 MB / 0.7325 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.005653/1.044, allocations: 2.504 MB / 1.048 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/1.044, allocations: 9.688 kB / 1.048 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/1.047, allocations: 0.5014 MB / 1.048 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/1.05, allocations: 1.366 MB / 1.049 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/1.05, allocations: 173 kB / 1.05 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/1.05, allocations: 157.9 kB / 1.05 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003113/1.054, allocations: 1.731 MB / 1.052 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/1.054, allocations: 6.625 kB / 1.052 GB, free: 12.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/1.054, allocations: 64.42 kB / 1.052 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.163e-05/1.054, allocations: 62.45 kB / 1.052 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/1.056, allocations: 1.374 MB / 1.053 GB, free: 11.52 MB / 0.7325 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.009332/1.066, allocations: 8.204 MB / 1.061 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/1.067, allocations: 0.901 MB / 1.062 GB, free: 3.914 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008602/1.068, allocations: 0.5329 MB / 1.062 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006325/1.069, allocations: 323.2 kB / 1.063 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.069, allocations: 47.22 kB / 1.063 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.965e-06/1.069, allocations: 0 / 1.063 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.007161/1.076, allocations: 3.133 MB / 1.066 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/1.076, allocations: 60.41 kB / 1.066 GB, free: 468 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001704/1.078, allocations: 1.262 MB / 1.067 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.078, allocations: 49.7 kB / 1.067 GB, free: 15.14 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005779/1.078, allocations: 0.8084 MB / 1.068 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.079, allocations: 367.8 kB / 1.068 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/1.079, allocations: 226.8 kB / 1.068 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.079, allocations: 357.9 kB / 1.069 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/1.08, allocations: 448.4 kB / 1.069 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00115/1.081, allocations: 0.8271 MB / 1.07 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/1.083, allocations: 1.242 MB / 1.071 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/1.083, allocations: 4 kB / 1.071 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002559/1.086, allocations: 1.407 MB / 1.073 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/1.086, allocations: 14.47 kB / 1.073 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.086, allocations: 12.78 kB / 1.073 GB, free: 9.227 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.023e-05/1.086, allocations: 19.98 kB / 1.073 GB, free: 9.207 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.087, allocations: 285.6 kB / 1.073 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.364e-05/1.087, allocations: 18.62 kB / 1.073 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.089, allocations: 67.94 kB / 1.073 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.616e-05/1.089, allocations: 48 kB / 1.073 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001398/1.09, allocations: 0.7718 MB / 1.074 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/1.091, allocations: 0.8154 MB / 1.075 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001903/1.093, allocations: 1.241 MB / 1.076 GB, free: 5.738 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.029e-05/1.093, allocations: 7.984 kB / 1.076 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002423/1.096, allocations: 1.388 MB / 1.077 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.096, allocations: 8 kB / 1.077 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.096, allocations: 11.94 kB / 1.077 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.096, allocations: 16 kB / 1.077 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/1.097, allocations: 277.7 kB / 1.078 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/1.097, allocations: 25.06 kB / 1.078 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/1.098, allocations: 76.25 kB / 1.078 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-05/1.098, allocations: 51.98 kB / 1.078 GB, free: 3.953 MB / 0.7481 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.0003017/1.099, allocations: 262 kB / 1.078 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/1.099, allocations: 166 kB / 1.078 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/1.101, allocations: 1.157 MB / 1.079 GB, free: 2.375 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001686/1.103, allocations: 1.078 MB / 1.08 GB, free: 1.254 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/1.103, allocations: 4 kB / 1.08 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006329/1.104, allocations: 327 kB / 1.081 GB, free: 0.9102 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002817/1.104, allocations: 27.98 kB / 1.081 GB, free: 0.8828 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.105, allocations: 52.89 kB / 1.081 GB, free: 0.832 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.105, allocations: 60.91 kB / 1.081 GB, free: 0.7734 MB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00278/1.108, allocations: 1.23 MB / 1.082 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002969/1.111, allocations: 1.854 MB / 1.084 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008015/1.112, allocations: 0.4982 MB / 1.084 GB, free: 13.18 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00124/1.113, allocations: 0.8387 MB / 1.085 GB, free: 12.35 MB / 0.7637 GB Notification: Performance of Backend: time 5.31e-07/1.113, allocations: 4 kB / 1.085 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004576/1.118, allocations: 1.969 MB / 1.087 GB, free: 10.49 MB / 0.7637 GB Notification: Performance of SimCode: time 0.007179/1.125, allocations: 4.246 MB / 1.091 GB, free: 6.223 MB / 0.7637 GB Notification: Performance of Templates: time 0.0626/1.187, allocations: 39.68 MB / 1.13 GB, free: 15.08 MB / 0.8106 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)