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.001336/0.001336, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001496/0.001496, allocations: 190.4 kB / 16.14 MB, free: 6.703 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.465/1.465, allocations: 205.1 MB / 222 MB, free: 4.773 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.3681/0.3681, allocations: 39.93 MB / 309.3 MB, free: 9.309 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.001522/0.001522, allocations: 67.91 kB / 376.9 MB, free: 13.11 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1371, allocations: 56.89 MB / 433.8 MB, free: 4.117 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume): time 0.3054/0.4425, allocations: 37.42 MB / 471.2 MB, free: 32.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01939/0.462, allocations: 17.83 MB / 489.1 MB, free: 20.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009523/0.463, allocations: 24.62 kB / 489.1 MB, free: 20.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.4642, allocations: 375.8 kB / 489.5 MB, free: 20.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01114/0.4754, allocations: 3.254 MB / 492.7 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008732/0.4842, allocations: 2.667 MB / 495.4 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.4873, allocations: 2.426 MB / 497.8 MB, free: 17.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006859/0.488, allocations: 478.4 kB / 498.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.4892, allocations: 0.6633 MB / 498.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007496/0.49, allocations: 0.5947 MB / 499.5 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.377e-05/0.4901, allocations: 37.84 kB / 499.6 MB, free: 16.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.5088, allocations: 7.334 MB / 0.495 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005562/0.5094, allocations: 214.8 kB / 0.4952 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007814/0.5102, allocations: 392.1 kB / 0.4956 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01755/0.5278, allocations: 5.03 MB / 0.5005 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.5278, allocations: 0 / 0.5005 GB, free: 12.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5279, allocations: 0 / 0.5005 GB, free: 12.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.5279, allocations: 0 / 0.5005 GB, free: 12.76 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.006848/0.5347, allocations: 1.605 MB / 0.5021 GB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.5348, allocations: 9.844 kB / 0.5021 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002945/0.5377, allocations: 373 kB / 0.5024 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007664/0.5385, allocations: 0.5183 MB / 0.5029 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5386, allocations: 110.1 kB / 0.5031 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-05/0.5387, allocations: 61.27 kB / 0.5031 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/0.5412, allocations: 1.138 MB / 0.5042 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.5413, allocations: 1.031 kB / 0.5042 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/0.5414, allocations: 23.12 kB / 0.5042 GB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.587e-05/0.5414, allocations: 40.23 kB / 0.5043 GB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.544, allocations: 1.047 MB / 0.5053 GB, free: 9.672 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.006305/0.5504, allocations: 5.022 MB / 0.5102 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0027/0.5531, allocations: 0.9114 MB / 0.5111 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/0.5539, allocations: 380.2 kB / 0.5115 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05098/0.6048, allocations: 24.21 MB / 0.5351 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/0.605, allocations: 42.94 kB / 0.5351 GB, free: 14.44 MB / 414.1 MB Notification: Performance of pre-optimization done (n=47): time 2.855e-06/0.605, allocations: 4 kB / 0.5351 GB, free: 14.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=47): time 0.007148/0.6121, allocations: 1.977 MB / 0.5371 GB, free: 12.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.581e-05/0.6122, allocations: 107.2 kB / 0.5372 GB, free: 12.28 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000782/0.613, allocations: 0.5964 MB / 0.5378 GB, free: 11.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.239e-05/0.6131, allocations: 37.7 kB / 0.5378 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.6134, allocations: 319.6 kB / 0.5381 GB, free: 11.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000151/0.6135, allocations: 161.7 kB / 0.5383 GB, free: 11.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.6137, allocations: 130.2 kB / 0.5384 GB, free: 11.02 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6139, allocations: 370.8 kB / 0.5387 GB, free: 10.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006738/0.6146, allocations: 325.1 kB / 0.539 GB, free: 10.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.6154, allocations: 485.6 kB / 0.5395 GB, free: 9.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.6168, allocations: 0.7407 MB / 0.5402 GB, free: 8.988 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.6168, allocations: 4 kB / 0.5402 GB, free: 8.984 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002145/0.6189, allocations: 1.047 MB / 0.5413 GB, free: 7.922 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.619, allocations: 8 kB / 0.5413 GB, free: 7.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.619, allocations: 8.406 kB / 0.5413 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.6201, allocations: 421.3 kB / 0.5417 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.6206, allocations: 119.8 kB / 0.5418 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.6224, allocations: 1.631 MB / 0.5434 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007876/0.6232, allocations: 103.3 kB / 0.5435 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.046e-05/0.6232, allocations: 31.98 kB / 0.5435 GB, free: 5.555 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.0003953/0.6236, allocations: 238.2 kB / 0.5437 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.6238, allocations: 63.25 kB / 0.5438 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004132/0.6279, allocations: 3.263 MB / 0.547 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-05/0.628, allocations: 43.92 kB / 0.547 GB, free: 1.922 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.628, allocations: 4 kB / 0.547 GB, free: 1.918 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.628, allocations: 3.984 kB / 0.547 GB, free: 1.914 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.6297, allocations: 1.558 MB / 0.5486 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6297, allocations: 0 / 0.5486 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003325/0.6301, allocations: 87.88 kB / 0.5486 GB, free: 224 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001418/0.6315, allocations: 0.8816 MB / 0.5495 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.6315, allocations: 15.94 kB / 0.5495 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002478/0.634, allocations: 2.291 MB / 0.5518 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.634, allocations: 3.938 kB / 0.5518 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003151/0.6372, allocations: 2.277 MB / 0.554 GB, free: 10.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.6377, allocations: 291 kB / 0.5543 GB, free: 10.37 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6379, allocations: 31.72 kB / 0.5543 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/0.6385, allocations: 59.84 kB / 0.5543 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.6386, allocations: 60.47 kB / 0.5544 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.6387, allocations: 23.98 kB / 0.5544 GB, free: 10.2 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006465/0.6394, allocations: 0.5146 MB / 0.5549 GB, free: 9.684 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6394, allocations: 0 / 0.5549 GB, free: 9.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005655/0.645, allocations: 1.167 MB / 0.5561 GB, free: 8.516 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.008334/0.6534, allocations: 1.309 MB / 0.5574 GB, free: 7.203 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.6561, allocations: 1.126 MB / 0.5585 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.6561, allocations: 0 / 0.5585 GB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.6576, allocations: 0.8731 MB / 0.5593 GB, free: 5.207 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.6597, allocations: 362.1 kB / 0.5596 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.6638, allocations: 2.991 MB / 0.5626 GB, free: 1.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007423/0.6646, allocations: 1.154 MB / 0.5637 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007101/0.6653, allocations: 344.9 kB / 0.564 GB, free: 328 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.6655, allocations: 63.42 kB / 0.5641 GB, free: 264 kB / 430.1 MB Notification: Performance of SimCode: time 6.71e-07/0.6655, allocations: 0 / 0.5641 GB, free: 264 kB / 430.1 MB Notification: Performance of Templates: time 0.06959/0.7351, allocations: 49.33 MB / 0.6123 GB, free: 14.91 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)