Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 100 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.001477/0.001477, allocations: 177.3 kB / 15.95 MB, free: 216 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.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3457/0.3457, allocations: 38.03 MB / 308.4 MB, free: 10.35 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.0005801/0.0005801, allocations: 20 kB / 376.4 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1339, allocations: 57.52 MB / 433.9 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2945/0.4284, allocations: 30.77 MB / 464.7 MB, free: 33.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01757/0.446, allocations: 14.35 MB / 479.1 MB, free: 29.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009429/0.447, allocations: 21.47 kB / 479.1 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001195/0.4482, allocations: 368.5 kB / 479.4 MB, free: 29.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01154/0.4598, allocations: 3.114 MB / 482.5 MB, free: 28.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008807/0.4686, allocations: 2.539 MB / 485.1 MB, free: 26.81 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002031/0.4707, allocations: 1.063 MB / 486.1 MB, free: 26.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006672/0.4713, allocations: 457.9 kB / 486.6 MB, free: 26.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.4725, allocations: 0.6302 MB / 487.2 MB, free: 25.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004613/0.4729, allocations: 415.3 kB / 487.6 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/0.473, allocations: 41.55 kB / 487.7 MB, free: 25.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.4876, allocations: 7.214 MB / 494.9 MB, free: 24.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.4884, allocations: 192.4 kB / 495.1 MB, free: 24.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000579/0.489, allocations: 165.4 kB / 495.2 MB, free: 23.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009885/0.4989, allocations: 3.411 MB / 498.6 MB, free: 23.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4989, allocations: 0 / 498.6 MB, free: 23.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4989, allocations: 4 kB / 498.7 MB, free: 23.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.499, allocations: 0 / 498.7 MB, free: 23.26 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.006955/0.5059, allocations: 1.473 MB / 0.4884 GB, free: 22.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.506, allocations: 9.062 kB / 0.4884 GB, free: 22.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/0.509, allocations: 374.5 kB / 0.4888 GB, free: 22.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009904/0.51, allocations: 0.5109 MB / 0.4893 GB, free: 21.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/0.5102, allocations: 119.8 kB / 0.4894 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.194e-05/0.5103, allocations: 53.84 kB / 0.4894 GB, free: 21.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002927/0.5132, allocations: 1.15 MB / 0.4906 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5132, allocations: 6.312 kB / 0.4906 GB, free: 21.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.888e-05/0.5133, allocations: 27.91 kB / 0.4906 GB, free: 21.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.293e-05/0.5134, allocations: 36.84 kB / 0.4906 GB, free: 21.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.5165, allocations: 1.084 MB / 0.4917 GB, free: 21.06 MB / 382.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.007393/0.5239, allocations: 5.042 MB / 0.4966 GB, free: 17.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.5267, allocations: 0.9654 MB / 0.4975 GB, free: 17.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05015/0.5769, allocations: 24.42 MB / 0.5214 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.577, allocations: 38.41 kB / 0.5214 GB, free: 14.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=47): time 3.496e-06/0.577, allocations: 7.922 kB / 0.5214 GB, free: 14.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=47): time 0.006717/0.5837, allocations: 2.071 MB / 0.5235 GB, free: 13.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.5839, allocations: 113.7 kB / 0.5236 GB, free: 12.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.5847, allocations: 0.5855 MB / 0.5241 GB, free: 12.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.61e-05/0.5848, allocations: 33.7 kB / 0.5242 GB, free: 12.55 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002199/0.585, allocations: 328.2 kB / 0.5245 GB, free: 12.27 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.5851, allocations: 157.8 kB / 0.5246 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.5852, allocations: 10.66 kB / 0.5247 GB, free: 12.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5853, allocations: 369.5 kB / 0.525 GB, free: 11.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000643/0.586, allocations: 337.4 kB / 0.5253 GB, free: 11.61 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007034/0.5867, allocations: 0.4902 MB / 0.5258 GB, free: 11.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007267/0.5874, allocations: 357.1 kB / 0.5261 GB, free: 11.05 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.5874, allocations: 4 kB / 0.5262 GB, free: 11.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002193/0.5896, allocations: 1.082 MB / 0.5272 GB, free: 9.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.56e-05/0.5897, allocations: 4 kB / 0.5272 GB, free: 9.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.5897, allocations: 8 kB / 0.5272 GB, free: 9.934 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5909, allocations: 433.7 kB / 0.5276 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.5913, allocations: 119.8 kB / 0.5277 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.5932, allocations: 1.64 MB / 0.5293 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000916/0.5941, allocations: 111.2 kB / 0.5295 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.5942, allocations: 31.98 kB / 0.5295 GB, free: 7.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004258/0.5946, allocations: 230.7 kB / 0.5297 GB, free: 7.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.5947, allocations: 63.25 kB / 0.5298 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.5991, allocations: 3.308 MB / 0.533 GB, free: 3.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.964e-05/0.5992, allocations: 43.92 kB / 0.533 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5992, allocations: 5 kB / 0.533 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.427e-06/0.5992, allocations: 3.984 kB / 0.533 GB, free: 3.887 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001855/0.6011, allocations: 1.565 MB / 0.5346 GB, free: 2.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.6011, allocations: 4 kB / 0.5346 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.6015, allocations: 99.81 kB / 0.5347 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.603, allocations: 0.8895 MB / 0.5355 GB, free: 1.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.623e-05/0.603, allocations: 12 kB / 0.5356 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.6056, allocations: 2.312 MB / 0.5378 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.6056, allocations: 3.953 kB / 0.5378 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.6089, allocations: 2.312 MB / 0.5401 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006834/0.6096, allocations: 354.7 kB / 0.5404 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6097, allocations: 15.95 kB / 0.5404 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.6103, allocations: 67.86 kB / 0.5405 GB, free: 12.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.6105, allocations: 64.45 kB / 0.5406 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.6106, allocations: 23.98 kB / 0.5406 GB, free: 12.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007128/0.6113, allocations: 0.5068 MB / 0.5411 GB, free: 11.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6113, allocations: 0 / 0.5411 GB, free: 11.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.006101/0.6174, allocations: 1.163 MB / 0.5422 GB, free: 10.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 27 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 {2 1,3 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.006982/0.6244, allocations: 1.297 MB / 0.5435 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002613/0.627, allocations: 1.15 MB / 0.5446 GB, free: 7.906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.894e-06/0.6271, allocations: 4 kB / 0.5446 GB, free: 7.902 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001448/0.6285, allocations: 0.8886 MB / 0.5455 GB, free: 7.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6305, allocations: 347.3 kB / 0.5458 GB, free: 6.676 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.6346, allocations: 2.995 MB / 0.5487 GB, free: 3.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/0.6354, allocations: 1.181 MB / 0.5499 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0008051/0.6362, allocations: 348.9 kB / 0.5502 GB, free: 2.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6363, allocations: 63.42 kB / 0.5503 GB, free: 2.047 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6363, allocations: 0 / 0.5503 GB, free: 2.047 MB / 414.1 MB Notification: Performance of Templates: time 0.07117/0.7075, allocations: 49.23 MB / 0.5983 GB, free: 0.8008 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1) Environment - environmentSimulation: