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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001894/0.001895, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.297/1.297, allocations: 170.6 MB / 183.8 MB, free: 11.43 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001655/0.001655, allocations: 102.8 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1626/0.1626, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.605e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08984, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.935/5.025, allocations: 2.485 GB / 2.881 GB, free: 19.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/5.025, allocations: 83.95 kB / 2.882 GB, free: 19.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.166/6.191, allocations: 347.2 MB / 3.221 GB, free: 28.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.624e-06/6.191, allocations: 0 / 3.221 GB, free: 28.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.713e-05/6.191, allocations: 15.94 kB / 3.221 GB, free: 28.93 MB / 442.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.006645/6.197, allocations: 1.619 MB / 3.222 GB, free: 27.29 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/6.198, allocations: 8.031 kB / 3.222 GB, free: 27.28 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003432/6.201, allocations: 397.5 kB / 3.223 GB, free: 26.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/6.202, allocations: 0.5796 MB / 3.223 GB, free: 26.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001032/6.202, allocations: 112.7 kB / 3.223 GB, free: 26.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.701e-05/6.202, allocations: 56.69 kB / 3.223 GB, free: 26.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/6.205, allocations: 1.143 MB / 3.224 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/6.205, allocations: 4.453 kB / 3.224 GB, free: 24.91 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.907e-05/6.205, allocations: 29.41 kB / 3.224 GB, free: 24.88 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/6.205, allocations: 33.64 kB / 3.224 GB, free: 24.85 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/6.207, allocations: 1.02 MB / 3.225 GB, free: 23.84 MB / 442.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.0054/6.212, allocations: 4.942 MB / 3.23 GB, free: 18.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001706/6.214, allocations: 0.8029 MB / 3.231 GB, free: 17.75 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003417/6.214, allocations: 287.1 kB / 3.231 GB, free: 17.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3453/6.56, allocations: 32.88 MB / 3.263 GB, free: 48.31 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/6.56, allocations: 43.53 kB / 3.264 GB, free: 48.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.104e-06/6.56, allocations: 0 / 3.264 GB, free: 48.27 MB / 442.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.01976/6.579, allocations: 4.065 MB / 3.267 GB, free: 48.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/6.58, allocations: 111.2 kB / 3.268 GB, free: 47.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005722/6.58, allocations: 492.9 kB / 3.268 GB, free: 47.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/6.58, allocations: 34.55 kB / 3.268 GB, free: 47.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001951/6.58, allocations: 352.4 kB / 3.268 GB, free: 47.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/6.581, allocations: 202.2 kB / 3.269 GB, free: 47.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/6.581, allocations: 14.94 kB / 3.269 GB, free: 47.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/6.581, allocations: 373 kB / 3.269 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005684/6.581, allocations: 408.7 kB / 3.269 GB, free: 47.2 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/6.582, allocations: 0.6449 MB / 3.27 GB, free: 46.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/6.583, allocations: 459.7 kB / 3.27 GB, free: 46.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/6.583, allocations: 0 / 3.27 GB, free: 46.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002242/6.585, allocations: 1.438 MB / 3.272 GB, free: 46.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008634/6.586, allocations: 2.7 MB / 3.274 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.861e-05/6.586, allocations: 7.062 kB / 3.274 GB, free: 44.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001991/6.588, allocations: 1.097 MB / 3.276 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/6.588, allocations: 151.2 kB / 3.276 GB, free: 43.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/6.591, allocations: 2.665 MB / 3.278 GB, free: 42.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009828/6.592, allocations: 98.69 kB / 3.278 GB, free: 42.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/6.592, allocations: 45.66 kB / 3.278 GB, free: 42.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/6.592, allocations: 3.719 kB / 3.278 GB, free: 42.42 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001974/6.594, allocations: 1.264 MB / 3.28 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/6.594, allocations: 7.719 kB / 3.28 GB, free: 42.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/6.596, allocations: 0.9678 MB / 3.281 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000574/6.596, allocations: 166.8 kB / 3.281 GB, free: 42.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003839/6.6, allocations: 4.939 MB / 3.286 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009586/6.601, allocations: 85.33 kB / 3.286 GB, free: 38.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.148e-05/6.601, allocations: 43.14 kB / 3.286 GB, free: 38.64 MB / 442.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.0003358/6.601, allocations: 159.8 kB / 3.286 GB, free: 38.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/6.602, allocations: 64.38 kB / 3.286 GB, free: 38.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00552/6.607, allocations: 4.692 MB / 3.291 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/6.607, allocations: 46.56 kB / 3.291 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/6.607, allocations: 0 / 3.291 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/6.607, allocations: 3.609 kB / 3.291 GB, free: 38.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007223/6.614, allocations: 6.401 MB / 3.297 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/6.614, allocations: 0 / 3.297 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003381/6.615, allocations: 91.59 kB / 3.297 GB, free: 37.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/6.618, allocations: 2.508 MB / 3.299 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/6.618, allocations: 26.53 kB / 3.299 GB, free: 37.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/6.622, allocations: 4.018 MB / 3.303 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/6.622, allocations: 3.344 kB / 3.303 GB, free: 35.88 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003644/6.625, allocations: 3.3 MB / 3.307 GB, free: 35.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007108/6.626, allocations: 376.8 kB / 3.307 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/6.626, allocations: 14.28 kB / 3.307 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/6.627, allocations: 92.34 kB / 3.307 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/6.627, allocations: 70.02 kB / 3.307 GB, free: 35.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/6.627, allocations: 25.81 kB / 3.307 GB, free: 35.33 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006315/6.628, allocations: 470.1 kB / 3.308 GB, free: 35.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.41e-07/6.628, allocations: 0 / 3.308 GB, free: 35.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007694/6.636, allocations: 1.428 MB / 3.309 GB, free: 35.21 MB / 442.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.009321/6.645, allocations: 1.668 MB / 3.311 GB, free: 35.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005727/6.651, allocations: 2.505 MB / 3.313 GB, free: 34.77 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/6.651, allocations: 0 / 3.313 GB, free: 34.77 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002425/6.653, allocations: 1.252 MB / 3.314 GB, free: 34.75 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001556/6.655, allocations: 289 kB / 3.315 GB, free: 34.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1295/6.784, allocations: 76.1 MB / 3.389 GB, free: 12.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/6.785, allocations: 1.227 MB / 3.39 GB, free: 11.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001404/6.786, allocations: 0.77 MB / 3.391 GB, free: 10.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/6.786, allocations: 55.19 kB / 3.391 GB, free: 10.52 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/6.786, allocations: 0 / 3.391 GB, free: 10.52 MB / 442.7 MB Notification: Performance of Templates: time 0.3336/7.12, allocations: 50.83 MB / 3.44 GB, free: 69.32 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.makefile (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)