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.005986/0.005986, allocations: 174.1 kB / 15.12 MB, free: 5.984 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.554/1.554, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001825/0.001825, allocations: 116.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1949/0.1949, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004409, allocations: 11.56 kB / 406.2 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 54.87 MB / 461 MB, free: 3.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.465/7.609, allocations: 2.596 GB / 3.046 GB, free: 159.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004227/7.61, allocations: 84.41 kB / 3.046 GB, free: 159.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195/8.805, allocations: 356.4 MB / 3.394 GB, free: 3.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.747e-06/8.805, allocations: 0 / 3.394 GB, free: 3.512 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.656e-05/8.805, allocations: 19.12 kB / 3.394 GB, free: 3.496 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.008818/8.814, allocations: 1.716 MB / 3.396 GB, free: 1.738 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/8.814, allocations: 12.03 kB / 3.396 GB, free: 1.727 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003378/8.817, allocations: 438.2 kB / 3.396 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/8.819, allocations: 0.5857 MB / 3.397 GB, free: 0.6797 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/8.819, allocations: 112.7 kB / 3.397 GB, free: 0.5586 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.994e-05/8.819, allocations: 56 kB / 3.397 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4446/9.264, allocations: 1.153 MB / 3.398 GB, free: 61.36 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/9.264, allocations: 0 / 3.398 GB, free: 61.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/9.264, allocations: 28.22 kB / 3.398 GB, free: 61.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/9.264, allocations: 32.41 kB / 3.398 GB, free: 61.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003197/9.267, allocations: 1.074 MB / 3.399 GB, free: 61.35 MB / 490.7 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.007915/9.275, allocations: 4.934 MB / 3.404 GB, free: 58.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003062/9.278, allocations: 0.8432 MB / 3.405 GB, free: 58.35 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06983/9.348, allocations: 32.8 MB / 3.437 GB, free: 39.01 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/9.348, allocations: 41.16 kB / 3.437 GB, free: 38.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 5.611e-06/9.348, allocations: 0 / 3.437 GB, free: 38.97 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.02667/9.375, allocations: 5.432 MB / 3.442 GB, free: 38.22 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.493e-05/9.375, allocations: 110.4 kB / 3.443 GB, free: 38.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009673/9.376, allocations: 499.1 kB / 3.443 GB, free: 37.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001543/9.376, allocations: 36.95 kB / 3.443 GB, free: 37.95 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/9.376, allocations: 349.7 kB / 3.443 GB, free: 37.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002932/9.377, allocations: 199.8 kB / 3.444 GB, free: 37.69 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/9.377, allocations: 16.5 kB / 3.444 GB, free: 37.69 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/9.377, allocations: 379.5 kB / 3.444 GB, free: 37.37 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/9.378, allocations: 492.3 kB / 3.444 GB, free: 37.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/9.379, allocations: 0.7085 MB / 3.445 GB, free: 37.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001241/9.381, allocations: 0.5155 MB / 3.446 GB, free: 37.09 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.063e-05/9.381, allocations: 3.812 kB / 3.446 GB, free: 37.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003884/9.385, allocations: 1.63 MB / 3.447 GB, free: 37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001008/9.386, allocations: 2.706 MB / 3.45 GB, free: 34.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/9.386, allocations: 11.64 kB / 3.45 GB, free: 34.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002726/9.388, allocations: 1.196 MB / 3.451 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005631/9.389, allocations: 146.5 kB / 3.451 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/9.393, allocations: 2.797 MB / 3.454 GB, free: 32.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001275/9.394, allocations: 97.33 kB / 3.454 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/9.395, allocations: 44.92 kB / 3.454 GB, free: 32.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/9.395, allocations: 3.844 kB / 3.454 GB, free: 32.59 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003268/9.398, allocations: 1.439 MB / 3.455 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/9.398, allocations: 7.438 kB / 3.455 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00193/9.4, allocations: 1.042 MB / 3.457 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/9.4, allocations: 166.9 kB / 3.457 GB, free: 32.51 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004931/9.405, allocations: 5.043 MB / 3.462 GB, free: 28.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/9.407, allocations: 95.52 kB / 3.462 GB, free: 28.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/9.407, allocations: 40.83 kB / 3.462 GB, free: 28.81 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 () * Number of clocked 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.0007181/9.407, allocations: 327.8 kB / 3.462 GB, free: 28.62 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002381/9.408, allocations: 69.53 kB / 3.462 GB, free: 28.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006753/9.414, allocations: 4.534 MB / 3.467 GB, free: 28.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.363e-05/9.415, allocations: 52.09 kB / 3.467 GB, free: 28.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/9.415, allocations: 0 / 3.467 GB, free: 28.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/9.415, allocations: 7.625 kB / 3.467 GB, free: 28.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/9.425, allocations: 6.483 MB / 3.473 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/9.426, allocations: 0 / 3.473 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/9.426, allocations: 86.23 kB / 3.473 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004264/9.43, allocations: 2.265 MB / 3.475 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/9.43, allocations: 20.56 kB / 3.475 GB, free: 27.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/9.435, allocations: 4.074 MB / 3.479 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/9.435, allocations: 3.688 kB / 3.479 GB, free: 26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005463/9.441, allocations: 3.404 MB / 3.483 GB, free: 25.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009488/9.442, allocations: 371.3 kB / 3.483 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002592/9.442, allocations: 21.03 kB / 3.483 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/9.443, allocations: 82 kB / 3.483 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002276/9.444, allocations: 76.41 kB / 3.483 GB, free: 25.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-05/9.444, allocations: 24.48 kB / 3.483 GB, free: 25.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008451/9.444, allocations: 475 kB / 3.484 GB, free: 25.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.944e-06/9.445, allocations: 0 / 3.484 GB, free: 25.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008727/9.453, allocations: 1.434 MB / 3.485 GB, free: 25.36 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 () * Number of clocked 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.01217/9.465, allocations: 1.679 MB / 3.487 GB, free: 25.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008483/9.474, allocations: 2.7 MB / 3.489 GB, free: 24.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/9.474, allocations: 3.875 kB / 3.489 GB, free: 24.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003533/9.478, allocations: 1.332 MB / 3.491 GB, free: 24.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/9.48, allocations: 283.3 kB / 3.491 GB, free: 24.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1571/9.637, allocations: 78.9 MB / 3.568 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001132/9.638, allocations: 1.221 MB / 3.569 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001912/9.64, allocations: 0.7342 MB / 3.57 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/9.64, allocations: 59 kB / 3.57 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of SimCode: time 5.761e-06/9.64, allocations: 4 kB / 3.57 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.4857/10.13, allocations: 48.98 MB / 3.618 GB, free: 71.27 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)