Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001059/0.001059, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.497/1.497, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3675/0.3675, allocations: 39.94 MB / 309.7 MB, free: 9.305 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.2. 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.00157/0.00157, allocations: 66.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.148, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.2968/0.4448, allocations: 36.33 MB / 470.8 MB, free: 33.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01953/0.4644, allocations: 16.75 MB / 487.6 MB, free: 22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.4653, allocations: 17.56 kB / 487.6 MB, free: 21.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.4666, allocations: 430.1 kB / 488 MB, free: 21.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01259/0.4792, allocations: 4.013 MB / 492 MB, free: 20.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009525/0.4887, allocations: 3.132 MB / 495.2 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.4917, allocations: 1.812 MB / 497 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009086/0.4926, allocations: 0.5316 MB / 497.5 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001406/0.4941, allocations: 0.7391 MB / 498.2 MB, free: 17.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007799/0.4949, allocations: 0.5735 MB / 498.8 MB, free: 16.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001312/0.495, allocations: 75.44 kB / 498.9 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01813/0.5131, allocations: 7.286 MB / 0.4943 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000762/0.5139, allocations: 244.5 kB / 0.4945 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008878/0.5148, allocations: 425.7 kB / 0.495 GB, free: 14.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01946/0.5343, allocations: 5.048 MB / 0.4999 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.567e-06/0.5344, allocations: 0 / 0.4999 GB, free: 12.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5344, allocations: 1.188 kB / 0.4999 GB, free: 12.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.578e-05/0.5344, allocations: 0 / 0.4999 GB, free: 12.99 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.007101/0.5415, allocations: 1.605 MB / 0.5014 GB, free: 11.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.5416, allocations: 12.89 kB / 0.5015 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002892/0.5445, allocations: 364.8 kB / 0.5018 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009066/0.5454, allocations: 0.5294 MB / 0.5023 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.5456, allocations: 117.5 kB / 0.5024 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5457, allocations: 53.22 kB / 0.5025 GB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.5484, allocations: 1.134 MB / 0.5036 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.5485, allocations: 5.125 kB / 0.5036 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.152e-05/0.5485, allocations: 27.84 kB / 0.5036 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.031e-05/0.5486, allocations: 31.58 kB / 0.5037 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/0.5512, allocations: 1.048 MB / 0.5047 GB, free: 9.906 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.006333/0.5576, allocations: 5.031 MB / 0.5096 GB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.5603, allocations: 0.9303 MB / 0.5105 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007296/0.561, allocations: 384 kB / 0.5109 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05343/0.6144, allocations: 24.22 MB / 0.5345 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.478e-05/0.6146, allocations: 39 kB / 0.5346 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 3.276e-06/0.6146, allocations: 0 / 0.5346 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007829/0.6224, allocations: 1.973 MB / 0.5365 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.6225, allocations: 111.2 kB / 0.5366 GB, free: 12.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.6236, allocations: 0.5965 MB / 0.5372 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.603e-05/0.6237, allocations: 29.7 kB / 0.5372 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.6239, allocations: 319.7 kB / 0.5375 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.6242, allocations: 157.7 kB / 0.5377 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.6244, allocations: 134.2 kB / 0.5378 GB, free: 11.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.6246, allocations: 374.7 kB / 0.5381 GB, free: 11.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000729/0.6253, allocations: 321.1 kB / 0.5384 GB, free: 10.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.6262, allocations: 493.6 kB / 0.5389 GB, free: 10.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.6278, allocations: 0.7357 MB / 0.5396 GB, free: 9.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6278, allocations: 0 / 0.5396 GB, free: 9.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002391/0.6302, allocations: 1.047 MB / 0.5407 GB, free: 8.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.6302, allocations: 8 kB / 0.5407 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.6302, allocations: 11.92 kB / 0.5407 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.6315, allocations: 417.8 kB / 0.5411 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.6319, allocations: 127.3 kB / 0.5412 GB, free: 7.918 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.6338, allocations: 1.628 MB / 0.5428 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007801/0.6346, allocations: 91.22 kB / 0.5429 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/0.6347, allocations: 31.98 kB / 0.5429 GB, free: 6.117 MB / 414.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.regularFlow[1],Volume.regularFlow[2],Sink.medium.phase,FlowSource.medium.phase,Volume.inFlow[2],Volume.inFlow[1],Volume.heatTransfer.states[1].phase,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 (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 {(2,1), (3,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0004232/0.6351, allocations: 229.6 kB / 0.5431 GB, free: 5.883 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.6354, allocations: 63.25 kB / 0.5432 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004684/0.64, allocations: 3.263 MB / 0.5464 GB, free: 2.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.271e-05/0.6401, allocations: 43.94 kB / 0.5464 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/0.6402, allocations: 7.984 kB / 0.5464 GB, free: 2.492 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.6402, allocations: 4 kB / 0.5464 GB, free: 2.488 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/0.6426, allocations: 1.565 MB / 0.548 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/0.6426, allocations: 0 / 0.548 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003629/0.643, allocations: 83.88 kB / 0.548 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.6446, allocations: 0.8699 MB / 0.5489 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.6447, allocations: 11.94 kB / 0.5489 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002662/0.6473, allocations: 2.291 MB / 0.5511 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6474, allocations: 5.562 kB / 0.5511 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003447/0.6508, allocations: 2.269 MB / 0.5534 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005536/0.6514, allocations: 299 kB / 0.5536 GB, free: 10.94 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.6516, allocations: 27.72 kB / 0.5537 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006451/0.6523, allocations: 43.95 kB / 0.5537 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.6525, allocations: 60.47 kB / 0.5538 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-05/0.6525, allocations: 27.98 kB / 0.5538 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0007514/0.6533, allocations: 0.5107 MB / 0.5543 GB, free: 10.27 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6533, allocations: 0 / 0.5543 GB, free: 10.27 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.007068/0.6604, allocations: 1.167 MB / 0.5554 GB, free: 9.105 MB / 430.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 (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 {(2,1), (3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01014/0.6705, allocations: 1.31 MB / 0.5567 GB, free: 7.793 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00365/0.6742, allocations: 1.2 MB / 0.5579 GB, free: 6.598 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.6743, allocations: 4 kB / 0.5579 GB, free: 6.594 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.6758, allocations: 0.8773 MB / 0.5587 GB, free: 5.719 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/0.6781, allocations: 379.9 kB / 0.5591 GB, free: 5.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003746/0.6818, allocations: 2.471 MB / 0.5615 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006934/0.6826, allocations: 1.154 MB / 0.5626 GB, free: 1.672 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008215/0.6834, allocations: 354 kB / 0.563 GB, free: 1.324 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.6835, allocations: 59.42 kB / 0.563 GB, free: 1.266 MB / 430.1 MB Notification: Performance of SimCode: time 1.923e-06/0.6836, allocations: 4 kB / 0.563 GB, free: 1.262 MB / 430.1 MB Notification: Performance of Templates: time 0.07186/0.7554, allocations: 50.43 MB / 0.6123 GB, free: 14.8 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)