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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001472/0.001472, allocations: 181.9 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.754/1.754, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001675/0.001675, allocations: 105 kB / 252.6 MB, free: 4.828 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2568/0.2568, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.735e-05/3.737e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.33/7.471, allocations: 2.596 GB / 3.04 GB, free: 71.03 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/7.471, allocations: 84.33 kB / 3.041 GB, free: 71 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487/8.958, allocations: 355.4 MB / 3.388 GB, free: 67.77 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.517e-06/8.958, allocations: 3.812 kB / 3.388 GB, free: 67.77 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.538e-05/8.959, allocations: 19.84 kB / 3.388 GB, free: 67.77 MB / 490.7 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.007157/8.966, allocations: 1.647 MB / 3.389 GB, free: 66.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/8.966, allocations: 9.594 kB / 3.389 GB, free: 66.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00323/8.969, allocations: 446 kB / 3.39 GB, free: 66.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/8.97, allocations: 0.5743 MB / 3.39 GB, free: 66.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/8.97, allocations: 123.9 kB / 3.39 GB, free: 66.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.073e-05/8.97, allocations: 52.25 kB / 3.39 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002324/8.973, allocations: 1.142 MB / 3.391 GB, free: 65.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/8.973, allocations: 3.938 kB / 3.391 GB, free: 65.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/8.973, allocations: 35.53 kB / 3.392 GB, free: 65.85 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/8.973, allocations: 30.42 kB / 3.392 GB, free: 65.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/8.975, allocations: 1.009 MB / 3.393 GB, free: 65.55 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.006524/8.981, allocations: 4.935 MB / 3.397 GB, free: 61.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/8.983, allocations: 0.8071 MB / 3.398 GB, free: 61.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003847/8.984, allocations: 281.9 kB / 3.398 GB, free: 61.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0576/9.041, allocations: 32.93 MB / 3.431 GB, free: 40.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.945e-05/9.041, allocations: 42.69 kB / 3.431 GB, free: 40.92 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 2.465e-06/9.041, allocations: 0 / 3.431 GB, free: 40.92 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.019/9.06, allocations: 4.07 MB / 3.435 GB, free: 39.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/9.061, allocations: 109.2 kB / 3.435 GB, free: 39.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006595/9.061, allocations: 489.2 kB / 3.435 GB, free: 39.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.389e-05/9.061, allocations: 33.7 kB / 3.435 GB, free: 39.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/9.062, allocations: 361.5 kB / 3.436 GB, free: 39.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/9.062, allocations: 194.9 kB / 3.436 GB, free: 39 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/9.062, allocations: 15.66 kB / 3.436 GB, free: 38.99 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/9.062, allocations: 373.5 kB / 3.436 GB, free: 38.65 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005823/9.062, allocations: 410.4 kB / 3.436 GB, free: 38.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/9.063, allocations: 0.6346 MB / 3.437 GB, free: 38.06 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/9.064, allocations: 461.9 kB / 3.438 GB, free: 37.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/9.064, allocations: 0 / 3.438 GB, free: 37.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002296/9.066, allocations: 1.443 MB / 3.439 GB, free: 37.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006518/9.067, allocations: 2.703 MB / 3.442 GB, free: 34.45 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/9.067, allocations: 4.25 kB / 3.442 GB, free: 34.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/9.069, allocations: 1.109 MB / 3.443 GB, free: 34.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/9.069, allocations: 143.5 kB / 3.443 GB, free: 34.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/9.072, allocations: 2.668 MB / 3.445 GB, free: 32.23 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009867/9.073, allocations: 93.39 kB / 3.446 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.655e-05/9.073, allocations: 44.38 kB / 3.446 GB, free: 32.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/9.073, allocations: 7.969 kB / 3.446 GB, free: 32.2 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001975/9.075, allocations: 1.256 MB / 3.447 GB, free: 31.72 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/9.075, allocations: 19.91 kB / 3.447 GB, free: 31.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/9.076, allocations: 0.9657 MB / 3.448 GB, free: 31.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/9.077, allocations: 166.4 kB / 3.448 GB, free: 31.47 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/9.081, allocations: 4.926 MB / 3.453 GB, free: 27.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009744/9.082, allocations: 94.25 kB / 3.453 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/9.082, allocations: 47.17 kB / 3.453 GB, free: 27.23 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003261/9.082, allocations: 159.8 kB / 3.453 GB, free: 27.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/9.082, allocations: 64.17 kB / 3.453 GB, free: 27.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/9.088, allocations: 4.685 MB / 3.458 GB, free: 23.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/9.088, allocations: 42.75 kB / 3.458 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/9.088, allocations: 4 kB / 3.458 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/9.088, allocations: 6.438 kB / 3.458 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007274/9.095, allocations: 6.412 MB / 3.464 GB, free: 17.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/9.095, allocations: 0 / 3.464 GB, free: 17.99 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/9.095, allocations: 93.66 kB / 3.464 GB, free: 17.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003006/9.098, allocations: 2.503 MB / 3.466 GB, free: 15.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/9.099, allocations: 27.53 kB / 3.467 GB, free: 15.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/9.102, allocations: 4.024 MB / 3.47 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/9.102, allocations: 0 / 3.47 GB, free: 12.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/9.105, allocations: 3.296 MB / 3.474 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006886/9.106, allocations: 377.2 kB / 3.474 GB, free: 8.844 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/9.106, allocations: 16 kB / 3.474 GB, free: 8.828 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007558/9.107, allocations: 87.81 kB / 3.474 GB, free: 8.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/9.107, allocations: 72.84 kB / 3.474 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.389e-05/9.107, allocations: 26.81 kB / 3.474 GB, free: 8.699 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005535/9.108, allocations: 466.1 kB / 3.475 GB, free: 8.285 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/9.108, allocations: 96 / 3.475 GB, free: 8.285 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007444/9.115, allocations: 1.435 MB / 3.476 GB, free: 6.883 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.009941/9.125, allocations: 1.686 MB / 3.478 GB, free: 5.559 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005948/9.131, allocations: 2.501 MB / 3.48 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.722e-06/9.131, allocations: 0 / 3.48 GB, free: 3.297 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/9.134, allocations: 1.251 MB / 3.481 GB, free: 2.168 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001721/9.135, allocations: 277.6 kB / 3.482 GB, free: 1.961 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4912/9.627, allocations: 77.39 MB / 3.557 GB, free: 78.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/9.627, allocations: 1.224 MB / 3.558 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001513/9.629, allocations: 0.7741 MB / 3.559 GB, free: 77.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/9.629, allocations: 50.81 kB / 3.559 GB, free: 77.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/9.629, allocations: 0 / 3.559 GB, free: 77.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.06958/9.699, allocations: 51.03 MB / 3.609 GB, free: 73.81 MB / 0.4948 GB 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)