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.001034/0.001034, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.0009957/0.0009957, allocations: 185.4 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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 291.4 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9425/0.9425, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 95.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3987, allocations: 86.98 MB / 0.7671 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5881/0.9868, allocations: 242.4 MB / 1.004 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01921/1.006, allocations: 15.91 MB / 1.019 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002461/1.009, allocations: 76.75 kB / 1.019 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002846/1.011, allocations: 1.224 MB / 1.021 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008605/1.02, allocations: 3.957 MB / 1.024 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004314/1.024, allocations: 1.83 MB / 1.026 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005818/1.03, allocations: 5.261 MB / 1.031 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002319/1.033, allocations: 1.675 MB / 1.033 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004963/1.038, allocations: 2.695 MB / 1.036 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003188/1.041, allocations: 1.71 MB / 1.037 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005004/1.041, allocations: 175.5 kB / 1.037 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005106/1.046, allocations: 2.72 MB / 1.04 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009595/1.047, allocations: 0.7632 MB / 1.041 GB, free: 396 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/1.049, allocations: 1.151 MB / 1.042 GB, free: 72 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005691/1.055, allocations: 3.573 MB / 1.045 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/1.055, allocations: 4 kB / 1.045 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.343e-06/1.055, allocations: 0 / 1.045 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.833e-05/1.055, allocations: 0 / 1.045 GB, free: 15.59 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.005377/1.06, allocations: 2.498 MB / 1.048 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/1.061, allocations: 7.938 kB / 1.048 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003065/1.064, allocations: 0.5067 MB / 1.048 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/1.066, allocations: 1.358 MB / 1.05 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/1.066, allocations: 175.7 kB / 1.05 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/1.066, allocations: 149.3 kB / 1.05 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/1.069, allocations: 1.74 MB / 1.052 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.402e-05/1.069, allocations: 5.062 kB / 1.052 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/1.069, allocations: 69.61 kB / 1.052 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/1.069, allocations: 61.06 kB / 1.052 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002378/1.072, allocations: 1.376 MB / 1.053 GB, free: 11.38 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.008912/1.081, allocations: 8.206 MB / 1.061 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/1.082, allocations: 0.8975 MB / 1.062 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008489/1.083, allocations: 0.535 MB / 1.063 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005965/1.084, allocations: 324.3 kB / 1.063 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.084, allocations: 47.38 kB / 1.063 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=96): time 2.745e-06/1.084, allocations: 0 / 1.063 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of matching and sorting (n=102): time 0.006566/1.09, allocations: 3.127 MB / 1.066 GB, free: 252 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/1.09, allocations: 60.41 kB / 1.066 GB, free: 180 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/1.092, allocations: 1.266 MB / 1.067 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/1.092, allocations: 49.7 kB / 1.067 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/1.093, allocations: 0.8108 MB / 1.068 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.093, allocations: 368.6 kB / 1.069 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003333/1.093, allocations: 226.8 kB / 1.069 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001312/1.093, allocations: 357.9 kB / 1.069 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008637/1.094, allocations: 444.3 kB / 1.07 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/1.095, allocations: 0.8311 MB / 1.07 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.097, allocations: 1.246 MB / 1.072 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/1.097, allocations: 4 kB / 1.072 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002421/1.1, allocations: 1.411 MB / 1.073 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/1.1, allocations: 11.47 kB / 1.073 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/1.1, allocations: 8 kB / 1.073 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.1, allocations: 16 kB / 1.073 GB, free: 8.922 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/1.101, allocations: 281.7 kB / 1.073 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.452e-05/1.101, allocations: 18.62 kB / 1.073 GB, free: 8.648 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/1.102, allocations: 70.61 kB / 1.073 GB, free: 8.582 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.791e-05/1.102, allocations: 48 kB / 1.073 GB, free: 8.535 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001307/1.104, allocations: 0.7781 MB / 1.074 GB, free: 7.758 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00107/1.105, allocations: 0.8115 MB / 1.075 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001871/1.107, allocations: 1.241 MB / 1.076 GB, free: 5.453 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.44e-06/1.107, allocations: 4 kB / 1.076 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002308/1.109, allocations: 1.388 MB / 1.077 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/1.109, allocations: 11.94 kB / 1.077 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.109, allocations: 8 kB / 1.078 GB, free: 4.09 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/1.109, allocations: 16 kB / 1.078 GB, free: 4.074 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/1.11, allocations: 277.7 kB / 1.078 GB, free: 3.82 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/1.11, allocations: 21.56 kB / 1.078 GB, free: 3.805 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/1.111, allocations: 75.88 kB / 1.078 GB, free: 3.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/1.112, allocations: 55.98 kB / 1.078 GB, free: 3.676 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.0002756/1.112, allocations: 262 kB / 1.078 GB, free: 3.43 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.112, allocations: 166 kB / 1.078 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/1.114, allocations: 1.157 MB / 1.079 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001711/1.116, allocations: 1.078 MB / 1.081 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.116, allocations: 0 / 1.081 GB, free: 0.9727 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006088/1.117, allocations: 331 kB / 1.081 GB, free: 0.6289 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.117, allocations: 27.98 kB / 1.081 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001047/1.118, allocations: 58.2 kB / 1.081 GB, free: 0.5469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/1.118, allocations: 60.91 kB / 1.081 GB, free: 500 kB / 0.7481 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002763/1.121, allocations: 1.235 MB / 1.082 GB, free: 15.27 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002876/1.124, allocations: 1.854 MB / 1.084 GB, free: 13.39 MB / 0.7637 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008024/1.125, allocations: 0.4982 MB / 1.084 GB, free: 12.89 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001131/1.126, allocations: 0.8387 MB / 1.085 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of Backend: time 3.51e-07/1.126, allocations: 0 / 1.085 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004385/1.13, allocations: 1.974 MB / 1.087 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of SimCode: time 0.006795/1.137, allocations: 4.234 MB / 1.091 GB, free: 5.945 MB / 0.7637 GB Notification: Performance of Templates: time 0.05827/1.195, allocations: 39.67 MB / 1.13 GB, free: 14.8 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)