Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.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.001189/0.00119, allocations: 168.8 kB / 7.639 MB, free: 1.414 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.2/1.2, allocations: 170.6 MB / 178.7 MB, free: 15.57 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.001687/0.001687, allocations: 103.5 kB / 218 MB, free: 8.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.809e-05/1.802e-05, allocations: 0 / 262.2 MB, free: 26.38 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06552/0.06556, allocations: 38.78 MB / 301 MB, free: 3.609 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.482/5.547, allocations: 2.464 GB / 2.758 GB, free: 60.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/5.548, allocations: 83.95 kB / 2.758 GB, free: 60.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068/6.615, allocations: 286.8 MB / 3.038 GB, free: 34.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/6.615, allocations: 0 / 3.038 GB, free: 34.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.549e-05/6.615, allocations: 8 kB / 3.038 GB, free: 34.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002858/6.618, allocations: 0.8922 MB / 3.039 GB, free: 33.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/6.618, allocations: 11.97 kB / 3.039 GB, free: 33.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/6.619, allocations: 83.58 kB / 3.039 GB, free: 33.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/6.62, allocations: 297.6 kB / 3.039 GB, free: 32.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/6.62, allocations: 19.89 kB / 3.039 GB, free: 32.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/6.62, allocations: 24 kB / 3.039 GB, free: 32.74 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003842/6.62, allocations: 237.3 kB / 3.04 GB, free: 32.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004522/6.62, allocations: 350.4 kB / 3.04 GB, free: 32.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/6.62, allocations: 4 kB / 3.04 GB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.45e-05/6.621, allocations: 0 / 3.04 GB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/6.621, allocations: 11.94 kB / 3.04 GB, free: 32.11 MB / 346.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.03109/6.652, allocations: 17.68 MB / 3.057 GB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/6.652, allocations: 185.7 kB / 3.057 GB, free: 12.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/6.652, allocations: 85.47 kB / 3.057 GB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02905/6.681, allocations: 15.31 MB / 3.072 GB, free: 11.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.449e-05/6.681, allocations: 38.56 kB / 3.072 GB, free: 11.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 3.657e-06/6.681, allocations: 3.938 kB / 3.072 GB, free: 11.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.004613/6.686, allocations: 1.137 MB / 3.074 GB, free: 9.828 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/6.686, allocations: 55.41 kB / 3.074 GB, free: 9.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/6.686, allocations: 216.3 kB / 3.074 GB, free: 9.543 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/6.686, allocations: 25.7 kB / 3.074 GB, free: 9.512 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/6.687, allocations: 200.1 kB / 3.074 GB, free: 9.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.791e-05/6.687, allocations: 102.5 kB / 3.074 GB, free: 9.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.493e-05/6.687, allocations: 0 / 3.074 GB, free: 9.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/6.687, allocations: 334.8 kB / 3.074 GB, free: 8.871 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/6.687, allocations: 92.86 kB / 3.075 GB, free: 8.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002478/6.687, allocations: 198 kB / 3.075 GB, free: 8.539 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000938/6.688, allocations: 227.9 kB / 3.075 GB, free: 8.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/6.688, allocations: 4 kB / 3.075 GB, free: 8.312 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001424/6.69, allocations: 486.8 kB / 3.075 GB, free: 7.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/6.69, allocations: 4 kB / 3.075 GB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/6.69, allocations: 4 kB / 3.075 GB, free: 7.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002799/6.69, allocations: 69.62 kB / 3.075 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/6.69, allocations: 79.91 kB / 3.076 GB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/6.692, allocations: 1.918 MB / 3.077 GB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003123/6.693, allocations: 19.98 kB / 3.077 GB, free: 5.594 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.366e-05/6.693, allocations: 20 kB / 3.077 GB, free: 5.574 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.00015/6.693, allocations: 120.8 kB / 3.078 GB, free: 5.449 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/6.693, allocations: 27.78 kB / 3.078 GB, free: 5.422 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/6.694, allocations: 0.8161 MB / 3.078 GB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/6.694, allocations: 7.984 kB / 3.078 GB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/6.694, allocations: 7.938 kB / 3.078 GB, free: 4.578 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001192/6.696, allocations: 1.029 MB / 3.079 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00222/6.698, allocations: 1.393 MB / 3.081 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/6.698, allocations: 0 / 3.081 GB, free: 2.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/6.698, allocations: 47.91 kB / 3.081 GB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003445/6.698, allocations: 100.7 kB / 3.081 GB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/6.698, allocations: 7.953 kB / 3.081 GB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008011/6.699, allocations: 0.7093 MB / 3.082 GB, free: 1.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/6.699, allocations: 4.031 kB / 3.082 GB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/6.701, allocations: 0.909 MB / 3.083 GB, free: 176 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/6.701, allocations: 104.7 kB / 3.083 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/6.701, allocations: 8.109 kB / 3.083 GB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/6.701, allocations: 15.84 kB / 3.083 GB, free: 28 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/6.701, allocations: 27.91 kB / 3.083 GB, free: 0 / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2425/6.944, allocations: 4.328 kB / 3.083 GB, free: 59.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003248/6.944, allocations: 157.9 kB / 3.083 GB, free: 58.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.11e-07/6.944, allocations: 0 / 3.083 GB, free: 58.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003806/6.948, allocations: 0.5072 MB / 3.083 GB, free: 58.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.003188/6.951, allocations: 0.9293 MB / 3.084 GB, free: 58.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009241/6.952, allocations: 490.2 kB / 3.085 GB, free: 58.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/6.952, allocations: 2.188 kB / 3.085 GB, free: 58.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/6.953, allocations: 275.4 kB / 3.085 GB, free: 58.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000907/6.954, allocations: 139.1 kB / 3.085 GB, free: 58.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/6.955, allocations: 0.7049 MB / 3.086 GB, free: 58.58 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/6.955, allocations: 0.8167 MB / 3.087 GB, free: 57.88 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004713/6.956, allocations: 131.4 kB / 3.087 GB, free: 57.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.837e-05/6.956, allocations: 29.89 kB / 3.087 GB, free: 57.87 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/6.956, allocations: 3.562 kB / 3.087 GB, free: 57.87 MB / 362.7 MB Notification: Performance of Templates: time 0.02727/6.983, allocations: 17.75 MB / 3.104 GB, free: 57.46 MB / 362.7 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1)