Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/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 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(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") translateModel(ThermoPower.Test.WaterComponents.TestMixer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestMixer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 110.4 kB / 17.75 MB, free: 5.328 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.001453/0.001453, allocations: 183.1 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.466/1.466, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3159/0.3159, allocations: 48.85 MB / 320.8 MB, free: 11 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 75.88 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1212, allocations: 59.15 MB / 0.4984 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestMixer): time 0.4048/0.526, allocations: 72.53 MB / 0.5692 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01604/0.5421, allocations: 10.85 MB / 0.5798 GB, free: 14.96 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5432, allocations: 15.84 kB / 0.5798 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.5445, allocations: 339.9 kB / 0.5802 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001084/0.5456, allocations: 438.7 kB / 0.5806 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01938/0.565, allocations: 5.36 MB / 0.5858 GB, free: 10.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002485/0.5675, allocations: 1.194 MB / 0.587 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000763/0.5683, allocations: 388.9 kB / 0.5874 GB, free: 9.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007837/0.5691, allocations: 440.8 kB / 0.5878 GB, free: 9.434 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006443/0.5698, allocations: 437.7 kB / 0.5882 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5699, allocations: 44.38 kB / 0.5882 GB, free: 9.184 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0194/0.5893, allocations: 6.333 MB / 0.5944 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.5896, allocations: 114 kB / 0.5945 GB, free: 5.816 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007261/0.5903, allocations: 343.4 kB / 0.5949 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.6016, allocations: 4.027 MB / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.6016, allocations: 2.562 kB / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6016, allocations: 0 / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.6016, allocations: 0 / 0.5988 GB, free: 3.043 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.006307/0.608, allocations: 1.379 MB / 0.6001 GB, free: 1.879 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.462e-05/0.6081, allocations: 15.83 kB / 0.6002 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.6087, allocations: 120.4 kB / 0.6003 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000993/0.6097, allocations: 434.1 kB / 0.6007 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.6097, allocations: 37.38 kB / 0.6007 GB, free: 1.246 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.6098, allocations: 52.38 kB / 0.6008 GB, free: 1.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.6116, allocations: 0.6881 MB / 0.6014 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.6116, allocations: 0 / 0.6014 GB, free: 484 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.897e-05/0.6117, allocations: 20 kB / 0.6015 GB, free: 464 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.73e-05/0.6117, allocations: 14.69 kB / 0.6015 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001588/0.6133, allocations: 0.5229 MB / 0.602 GB, free: 15.91 MB / 462.1 MB 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.003014/0.6163, allocations: 2.654 MB / 0.6046 GB, free: 12.99 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001358/0.6177, allocations: 0.5601 MB / 0.6051 GB, free: 12.39 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.6179, allocations: 128.8 kB / 0.6053 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06476/0.6827, allocations: 32.11 MB / 0.6366 GB, free: 8.332 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.046e-05/0.6828, allocations: 46.5 kB / 0.6367 GB, free: 8.277 MB / 494.1 MB Notification: Performance of pre-optimization done (n=28): time 4.128e-06/0.6828, allocations: 0 / 0.6367 GB, free: 8.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.006547/0.6894, allocations: 1.864 MB / 0.6385 GB, free: 6.312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.6895, allocations: 106.8 kB / 0.6386 GB, free: 6.184 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.6901, allocations: 466.8 kB / 0.639 GB, free: 5.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.916e-05/0.6902, allocations: 29.7 kB / 0.639 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.6904, allocations: 276.4 kB / 0.6393 GB, free: 5.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.6906, allocations: 119 kB / 0.6394 GB, free: 5.289 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/0.6908, allocations: 89.66 kB / 0.6395 GB, free: 5.195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6909, allocations: 366.7 kB / 0.6399 GB, free: 4.828 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003451/0.6913, allocations: 160.8 kB / 0.64 GB, free: 4.668 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003926/0.6917, allocations: 226.3 kB / 0.6402 GB, free: 4.422 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007246/0.6924, allocations: 376.8 kB / 0.6406 GB, free: 4.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6924, allocations: 4.031 kB / 0.6406 GB, free: 4.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002084/0.6945, allocations: 0.7403 MB / 0.6413 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.6946, allocations: 4 kB / 0.6413 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6946, allocations: 0 / 0.6413 GB, free: 3.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.697, allocations: 0.517 MB / 0.6418 GB, free: 2.746 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.6971, allocations: 39.92 kB / 0.6419 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/0.6991, allocations: 1.511 MB / 0.6433 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.6995, allocations: 8 kB / 0.6433 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.291e-05/0.6995, allocations: 28.02 kB / 0.6434 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004274/0.7, allocations: 280 kB / 0.6436 GB, free: 0.832 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003364/0.7003, allocations: 223.6 kB / 0.6439 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006281/0.7009, allocations: 369.9 kB / 0.6442 GB, free: 208 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/0.701, allocations: 4 kB / 0.6442 GB, free: 204 kB / 494.1 MB Notification: Performance of matching and sorting (n=41) (initialization_lambda0): time 0.001789/0.7028, allocations: 0.6859 MB / 0.6449 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7028, allocations: 8 kB / 0.6449 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.7028, allocations: 0 / 0.6449 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/0.7044, allocations: 453.6 kB / 0.6453 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.7046, allocations: 43.86 kB / 0.6454 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.7066, allocations: 1.449 MB / 0.6468 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.707, allocations: 8.875 kB / 0.6468 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.154e-05/0.707, allocations: 31.97 kB / 0.6468 GB, free: 13.46 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (header.fluidState.phase,pressDrop.state.phase,mixer.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,11), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.7072, allocations: 200.1 kB / 0.647 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.7074, allocations: 55.62 kB / 0.6471 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004018/0.7114, allocations: 3.013 MB / 0.65 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.7115, allocations: 6.234 kB / 0.65 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.7115, allocations: 8 kB / 0.65 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002501/0.7117, allocations: 132.6 kB / 0.6501 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.7119, allocations: 8 kB / 0.6501 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.7122, allocations: 23.95 kB / 0.6502 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.7124, allocations: 23.97 kB / 0.6502 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001853/0.7142, allocations: 0.6978 MB / 0.6509 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00139/0.7156, allocations: 1.016 MB / 0.6519 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004009/0.716, allocations: 260.5 kB / 0.6521 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004196/0.7165, allocations: 314.9 kB / 0.6524 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of Backend: time 1.082e-06/0.7165, allocations: 0 / 0.6524 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009012/0.7255, allocations: 1.788 MB / 0.6542 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of SimCode: time 0.003203/0.7287, allocations: 1.878 MB / 0.656 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of Templates: time 0.0739/0.8026, allocations: 45.85 MB / 0.7008 GB, free: 5.996 MB / 0.545 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestMixer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestMixer.pipe 2>&1)