Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001098/0.001098, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.766/1.766, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001778/0.001778, allocations: 108.5 kB / 218 MB, free: 8.406 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.2192/0.2192, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.576e-05/1.577e-05, allocations: 2.469 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 48.73 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.85/6.962, allocations: 2.514 GB / 2.903 GB, free: 69.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/6.962, allocations: 93.17 kB / 2.903 GB, free: 69.73 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.984/8.946, allocations: 482.9 MB / 3.375 GB, free: 50.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.066e-06/8.946, allocations: 0 / 3.375 GB, free: 50.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001589/8.947, allocations: 29.94 kB / 3.375 GB, free: 50.47 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.008378/8.955, allocations: 1.655 MB / 3.376 GB, free: 49.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/8.955, allocations: 7.656 kB / 3.376 GB, free: 49.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/8.957, allocations: 223.3 kB / 3.377 GB, free: 49.7 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/8.959, allocations: 0.5898 MB / 3.377 GB, free: 49.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001351/8.959, allocations: 86.66 kB / 3.377 GB, free: 49.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/8.959, allocations: 35.12 kB / 3.377 GB, free: 49.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001249/8.96, allocations: 0.6293 MB / 3.378 GB, free: 49.37 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/8.962, allocations: 0.8669 MB / 3.379 GB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.311e-05/8.962, allocations: 6.156 kB / 3.379 GB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/8.962, allocations: 3.188 kB / 3.379 GB, free: 49.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.971e-05/8.962, allocations: 47.12 kB / 3.379 GB, free: 49.05 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.1236/9.086, allocations: 67.64 MB / 3.445 GB, free: 22.79 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006526/9.086, allocations: 336.7 kB / 3.445 GB, free: 22.76 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/9.087, allocations: 152 kB / 3.445 GB, free: 22.75 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1057/9.192, allocations: 53.42 MB / 3.498 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.361e-05/9.192, allocations: 34.31 kB / 3.498 GB, free: 14.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.036e-06/9.192, allocations: 0 / 3.498 GB, free: 14.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.005946/9.198, allocations: 1.596 MB / 3.499 GB, free: 13.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/9.199, allocations: 139.9 kB / 3.499 GB, free: 13.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/9.199, allocations: 0.4928 MB / 3.5 GB, free: 13.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.762e-05/9.199, allocations: 25.7 kB / 3.5 GB, free: 13.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002538/9.199, allocations: 441.6 kB / 3.5 GB, free: 12.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/9.2, allocations: 128.7 kB / 3.5 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/9.2, allocations: 0 / 3.5 GB, free: 12.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/9.2, allocations: 379.5 kB / 3.501 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/9.2, allocations: 203 kB / 3.501 GB, free: 12.39 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/9.201, allocations: 0.5901 MB / 3.501 GB, free: 11.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/9.202, allocations: 418.6 kB / 3.502 GB, free: 11.54 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/9.202, allocations: 4 kB / 3.502 GB, free: 11.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001929/9.204, allocations: 0.8983 MB / 3.503 GB, free: 10.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/9.204, allocations: 12 kB / 3.503 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/9.204, allocations: 12 kB / 3.503 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000246/9.204, allocations: 71.67 kB / 3.503 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/9.205, allocations: 296.3 kB / 3.503 GB, free: 10.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/9.208, allocations: 2.066 MB / 3.505 GB, free: 8.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008757/9.208, allocations: 47.31 kB / 3.505 GB, free: 8.645 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/9.208, allocations: 48.44 kB / 3.505 GB, free: 8.609 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.000244/9.209, allocations: 153.3 kB / 3.505 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/9.209, allocations: 67.2 kB / 3.505 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/9.211, allocations: 1.49 MB / 3.507 GB, free: 7.582 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/9.211, allocations: 24.78 kB / 3.507 GB, free: 7.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/9.211, allocations: 5.125 kB / 3.507 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/9.211, allocations: 3.938 kB / 3.507 GB, free: 7.57 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3561/9.567, allocations: 2.323 MB / 3.509 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/9.567, allocations: 5.438 kB / 3.509 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/9.568, allocations: 173.7 kB / 3.509 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003402/9.568, allocations: 115.2 kB / 3.509 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/9.568, allocations: 6.172 kB / 3.509 GB, free: 100.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001454/9.57, allocations: 2.074 MB / 3.511 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/9.57, allocations: 1.844 kB / 3.511 GB, free: 98.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/9.572, allocations: 1.504 MB / 3.513 GB, free: 98.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/9.572, allocations: 209.3 kB / 3.513 GB, free: 98.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.512e-05/9.572, allocations: 5.719 kB / 3.513 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/9.573, allocations: 29.48 kB / 3.513 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.76e-05/9.573, allocations: 28.31 kB / 3.513 GB, free: 98.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/9.573, allocations: 17.73 kB / 3.513 GB, free: 98.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005439/9.573, allocations: 354.9 kB / 3.514 GB, free: 98.41 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/9.573, allocations: 0.6562 kB / 3.514 GB, free: 98.41 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005931/9.579, allocations: 1.079 MB / 3.515 GB, free: 98.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00857/9.588, allocations: 1.635 MB / 3.516 GB, free: 98.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002198/9.59, allocations: 0.8061 MB / 3.517 GB, free: 98.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/9.59, allocations: 4.188 kB / 3.517 GB, free: 98.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/9.591, allocations: 0.5293 MB / 3.518 GB, free: 98.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001622/9.593, allocations: 267.6 kB / 3.518 GB, free: 98.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002535/9.595, allocations: 1.376 MB / 3.519 GB, free: 97.98 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006461/9.596, allocations: 1.061 MB / 3.52 GB, free: 97.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001136/9.597, allocations: 436.5 kB / 3.521 GB, free: 97.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/9.597, allocations: 58.92 kB / 3.521 GB, free: 97.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.242e-06/9.597, allocations: 0 / 3.521 GB, free: 97.26 MB / 490.7 MB Notification: Performance of Templates: time 0.04682/9.644, allocations: 32.43 MB / 3.552 GB, free: 96.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)