Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.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/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 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(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005067/0.005067, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001104/0.001104, allocations: 191.3 kB / 16.67 MB, free: 5.52 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.376/1.376, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.193/0.193, allocations: 37.99 MB / 307.9 MB, free: 6.008 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001596/0.001596, allocations: 73.61 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1303, allocations: 56.46 MB / 489.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.3371/0.4675, allocations: 56.82 MB / 0.5335 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04101/0.5085, allocations: 30.71 MB / 0.5635 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.5106, allocations: 28.72 kB / 0.5635 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.513, allocations: 0.671 MB / 0.5642 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01857/0.5316, allocations: 5.732 MB / 0.5697 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0119/0.5436, allocations: 3.879 MB / 0.5735 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.5479, allocations: 3.059 MB / 0.5765 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00155/0.5495, allocations: 0.8267 MB / 0.5773 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01549/0.565, allocations: 6.345 MB / 0.5835 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01634/0.5814, allocations: 7.419 MB / 0.5908 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005037/0.5819, allocations: 112 kB / 0.5909 GB, free: 10.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02028/0.6022, allocations: 8.386 MB / 0.5991 GB, free: 2.078 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008704/0.6031, allocations: 406.8 kB / 0.5995 GB, free: 1.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001739/0.6049, allocations: 0.6767 MB / 0.6001 GB, free: 1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01656/0.6215, allocations: 6.315 MB / 0.6063 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.586e-06/0.6215, allocations: 0 / 0.6063 GB, free: 10.67 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6215, allocations: 0 / 0.6063 GB, free: 10.67 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.821e-05/0.6216, allocations: 0 / 0.6063 GB, free: 10.67 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.006482/0.6281, allocations: 2.249 MB / 0.6085 GB, free: 8.367 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.6282, allocations: 8.031 kB / 0.6085 GB, free: 8.359 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005096/0.6333, allocations: 0.6239 MB / 0.6091 GB, free: 7.734 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.6349, allocations: 0.8034 MB / 0.6099 GB, free: 6.887 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.6352, allocations: 217.3 kB / 0.6101 GB, free: 6.652 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.6354, allocations: 100.4 kB / 0.6102 GB, free: 6.555 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004228/0.6396, allocations: 1.819 MB / 0.612 GB, free: 4.602 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.388e-05/0.6397, allocations: 7.938 kB / 0.612 GB, free: 4.594 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/0.6398, allocations: 44 kB / 0.612 GB, free: 4.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.359e-05/0.6399, allocations: 49.98 kB / 0.6121 GB, free: 4.5 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00429/0.6442, allocations: 1.639 MB / 0.6137 GB, free: 2.863 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.01066/0.6549, allocations: 8.56 MB / 0.622 GB, free: 9.684 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003191/0.6581, allocations: 0.9889 MB / 0.623 GB, free: 8.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/0.659, allocations: 422.2 kB / 0.6234 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04485/0.7038, allocations: 25.03 MB / 0.6478 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.301e-05/0.7039, allocations: 39.12 kB / 0.6479 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007752/0.7047, allocations: 90.95 kB / 0.648 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 4.278e-06/0.7047, allocations: 3.938 kB / 0.648 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=78): time 0.01087/0.7156, allocations: 3.454 MB / 0.6513 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.7157, allocations: 115.5 kB / 0.6514 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.717, allocations: 0.8488 MB / 0.6523 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.7171, allocations: 37.7 kB / 0.6523 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004374/0.7176, allocations: 0.5718 MB / 0.6529 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.7178, allocations: 288 kB / 0.6531 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003927/0.7182, allocations: 266.6 kB / 0.6534 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.7184, allocations: 406.7 kB / 0.6538 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009365/0.7194, allocations: 438.3 kB / 0.6542 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.7208, allocations: 0.997 MB / 0.6552 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.7232, allocations: 1.49 MB / 0.6566 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/0.7233, allocations: 7.938 kB / 0.6566 GB, free: 1.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003567/0.7268, allocations: 1.724 MB / 0.6583 GB, free: 64 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.7269, allocations: 12 kB / 0.6583 GB, free: 52 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.7269, allocations: 20 kB / 0.6583 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002705/0.7296, allocations: 0.5918 MB / 0.6589 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.7304, allocations: 251.6 kB / 0.6592 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002437/0.7328, allocations: 1.826 MB / 0.6609 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7339, allocations: 67.97 kB / 0.661 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/0.7341, allocations: 75.98 kB / 0.6611 GB, free: 13.16 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 16 (sink2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume1.heatTransfer.states[1].phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase,simpleGenericOrifice2.state_b.phase,simpleGenericOrifice2.state_a.phase,mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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 {(1,4), (3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.000672/0.7347, allocations: 343.7 kB / 0.6614 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003262/0.7351, allocations: 106.7 kB / 0.6615 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00591/0.741, allocations: 4.439 MB / 0.6658 GB, free: 8.227 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.103e-05/0.7411, allocations: 59.84 kB / 0.6659 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.7411, allocations: 0 / 0.6659 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7411, allocations: 3.984 kB / 0.6659 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007906/0.749, allocations: 6.251 MB / 0.672 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.749, allocations: 4 kB / 0.672 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.7496, allocations: 151.8 kB / 0.6722 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.7512, allocations: 0.5343 MB / 0.6727 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.7513, allocations: 24 kB / 0.6727 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.753, allocations: 1.796 MB / 0.6745 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.753, allocations: 3.938 kB / 0.6745 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005398/0.7584, allocations: 3.949 MB / 0.6783 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005656/0.759, allocations: 366.3 kB / 0.6787 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002096/0.7592, allocations: 31.75 kB / 0.6787 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006305/0.7599, allocations: 47.95 kB / 0.6787 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.76, allocations: 72.89 kB / 0.6788 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.7601, allocations: 35.98 kB / 0.6789 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009811/0.7611, allocations: 0.6666 MB / 0.6795 GB, free: 10 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7611, allocations: 0 / 0.6795 GB, free: 10 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004344/0.7655, allocations: 1.445 MB / 0.6809 GB, free: 8.555 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (mixingVolume1.medium.p,mixingVolume1.medium.h,mixingVolume2.medium.h) * Number of discrete variables: 34 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse26.phase,$cse26.region,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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 {(4,10), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005967/0.7714, allocations: 1.578 MB / 0.6825 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003167/0.7746, allocations: 1.664 MB / 0.6841 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.7746, allocations: 4 kB / 0.6841 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001711/0.7764, allocations: 1.22 MB / 0.6853 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002415/0.7788, allocations: 0.5378 MB / 0.6858 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00543/0.7842, allocations: 3.607 MB / 0.6893 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009931/0.7853, allocations: 1.394 MB / 0.6907 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001191/0.7865, allocations: 0.587 MB / 0.6913 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.7867, allocations: 99.41 kB / 0.6914 GB, free: 13.8 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/0.7867, allocations: 0 / 0.6914 GB, free: 13.8 MB / 0.545 GB Notification: Performance of Templates: time 0.332/1.119, allocations: 60.28 MB / 0.7502 GB, free: 212 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.pipe 2>&1)