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.001316/0.001316, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001562/0.001562, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2911/0.2911, allocations: 38.03 MB / 308.4 MB, free: 10.36 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.0006027/0.0006028, allocations: 16 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.111, allocations: 57.52 MB / 433.9 MB, free: 5.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates): time 0.2386/0.3496, allocations: 47.97 MB / 481.9 MB, free: 28.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02322/0.3729, allocations: 26.1 MB / 0.4961 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.3742, allocations: 35.19 kB / 0.4961 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001589/0.3758, allocations: 0.5722 MB / 0.4967 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.3879, allocations: 4.548 MB / 0.5011 GB, free: 7.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009137/0.3971, allocations: 3.197 MB / 0.5043 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004175/0.4012, allocations: 1.801 MB / 0.506 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0016/0.4029, allocations: 0.6817 MB / 0.5067 GB, free: 4.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01928/0.4222, allocations: 9.528 MB / 0.516 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01683/0.439, allocations: 11.94 MB / 0.5276 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003086/0.4394, allocations: 60 kB / 0.5277 GB, free: 13.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01573/0.4551, allocations: 8.1 MB / 0.5356 GB, free: 4.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005326/0.4557, allocations: 338.9 kB / 0.5359 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005415/0.4562, allocations: 265.1 kB / 0.5362 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007933/0.4642, allocations: 4.292 MB / 0.5404 GB, free: 0 / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4642, allocations: 4.047 kB / 0.5404 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4642, allocations: 0 / 0.5404 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.4642, allocations: 4 kB / 0.5404 GB, free: 15.99 MB / 414.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.00484/0.4691, allocations: 2.019 MB / 0.5424 GB, free: 13.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.4691, allocations: 12.02 kB / 0.5424 GB, free: 13.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004631/0.4738, allocations: 0.6386 MB / 0.543 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.4753, allocations: 0.7595 MB / 0.5437 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.4755, allocations: 208.8 kB / 0.5439 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.4757, allocations: 96 kB / 0.544 GB, free: 12.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00403/0.4797, allocations: 1.833 MB / 0.5458 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/0.4798, allocations: 7.938 kB / 0.5458 GB, free: 10.17 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001298/0.4799, allocations: 44 kB / 0.5459 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.445e-05/0.48, allocations: 57.86 kB / 0.5459 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003999/0.484, allocations: 1.69 MB / 0.5476 GB, free: 8.383 MB / 414.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.01024/0.4943, allocations: 8.595 MB / 0.556 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.4972, allocations: 1.021 MB / 0.557 GB, free: 14.15 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0425/0.5397, allocations: 25.3 MB / 0.5817 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.642e-05/0.5398, allocations: 47.06 kB / 0.5817 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006104/0.5404, allocations: 106.9 kB / 0.5818 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of pre-optimization done (n=70): time 2.916e-06/0.5404, allocations: 0 / 0.5818 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of matching and sorting (n=78): time 0.01037/0.5508, allocations: 3.564 MB / 0.5853 GB, free: 13.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.5509, allocations: 115.5 kB / 0.5854 GB, free: 13.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.5521, allocations: 0.8486 MB / 0.5862 GB, free: 12.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.749e-05/0.5522, allocations: 45.7 kB / 0.5863 GB, free: 12.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.5526, allocations: 0.5679 MB / 0.5868 GB, free: 11.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/0.5529, allocations: 280.1 kB / 0.5871 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.5529, allocations: 24 kB / 0.5871 GB, free: 11.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5532, allocations: 406.7 kB / 0.5875 GB, free: 11 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009549/0.5541, allocations: 442.4 kB / 0.5879 GB, free: 10.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.5554, allocations: 0.997 MB / 0.5889 GB, free: 9.301 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.5566, allocations: 0.5925 MB / 0.5895 GB, free: 8.707 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/0.5566, allocations: 4 kB / 0.5895 GB, free: 8.703 MB / 462.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.00362/0.5602, allocations: 1.755 MB / 0.5912 GB, free: 6.934 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.617e-05/0.5603, allocations: 19.95 kB / 0.5912 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.619e-05/0.5603, allocations: 16 kB / 0.5912 GB, free: 6.898 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002645/0.563, allocations: 0.6228 MB / 0.5918 GB, free: 6.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007633/0.5637, allocations: 255.5 kB / 0.5921 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002242/0.566, allocations: 1.835 MB / 0.5939 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.5671, allocations: 127.8 kB / 0.594 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.5673, allocations: 79.97 kB / 0.5941 GB, free: 3.93 MB / 462.1 MB 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,mixingVolume1.heatTransfer.states[1].phase,flowSource2.medium.phase,mixingVolume2.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,3 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005586/0.5678, allocations: 348.7 kB / 0.5944 GB, free: 3.582 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.5681, allocations: 102.7 kB / 0.5945 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/0.5738, allocations: 4.514 MB / 0.5989 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-05/0.5738, allocations: 59.91 kB / 0.599 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.176e-06/0.5739, allocations: 0 / 0.599 GB, free: 14.87 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5739, allocations: 7.969 kB / 0.599 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007369/0.5813, allocations: 6.305 MB / 0.6051 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5813, allocations: 0 / 0.6051 GB, free: 8.449 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.5819, allocations: 175.8 kB / 0.6053 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/0.5836, allocations: 0.68 MB / 0.606 GB, free: 7.594 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.5837, allocations: 23.98 kB / 0.606 GB, free: 7.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.5851, allocations: 1.78 MB / 0.6077 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.5852, allocations: 4.078 kB / 0.6077 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005214/0.5904, allocations: 3.986 MB / 0.6116 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/0.5911, allocations: 425.9 kB / 0.612 GB, free: 1.258 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.5914, allocations: 24 kB / 0.6121 GB, free: 1.234 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007792/0.5921, allocations: 83.78 kB / 0.6121 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.5923, allocations: 76.88 kB / 0.6122 GB, free: 1.074 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.5924, allocations: 35.98 kB / 0.6122 GB, free: 1.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001007/0.5934, allocations: 0.651 MB / 0.6129 GB, free: 388 kB / 478.1 MB Notification: Performance of sort global known variables: time 3e-07/0.5934, allocations: 0 / 0.6129 GB, free: 388 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.003792/0.5972, allocations: 1.448 MB / 0.6143 GB, free: 14.93 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 10,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005608/0.6029, allocations: 1.59 MB / 0.6158 GB, free: 13.33 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003129/0.606, allocations: 1.691 MB / 0.6175 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.606, allocations: 0 / 0.6175 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001722/0.6078, allocations: 1.224 MB / 0.6187 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6103, allocations: 0.5037 MB / 0.6192 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/0.6153, allocations: 4.441 MB / 0.6235 GB, free: 5.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008897/0.6162, allocations: 1.426 MB / 0.6249 GB, free: 3.977 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001253/0.6174, allocations: 0.5906 MB / 0.6255 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.6177, allocations: 95.42 kB / 0.6256 GB, free: 3.293 MB / 494.1 MB Notification: Performance of SimCode: time 4.3e-07/0.6177, allocations: 0 / 0.6256 GB, free: 3.293 MB / 494.1 MB Notification: Performance of Templates: time 0.2714/0.8891, allocations: 58.19 MB / 0.6824 GB, free: 133.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumesPressureStates.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: