Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 112.9 kB / 17.06 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 55.92 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.1004, allocations: 46.62 MB / 374.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.2185/0.3189, allocations: 12.91 MB / 387.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01317/0.3321, allocations: 11.54 MB / 398.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.3324, allocations: 0 / 398.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003807/0.3328, allocations: 76.56 kB / 399 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.3332, allocations: 75.02 kB / 399.1 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02178/0.355, allocations: 5.065 MB / 404.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.3555, allocations: 236.1 kB / 404.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.881e-05/0.3556, allocations: 13.48 kB / 404.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005443/0.3561, allocations: 197.8 kB / 404.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.3563, allocations: 76.19 kB / 404.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3564, allocations: 11.88 kB / 404.6 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.3733, allocations: 6.989 MB / 411.6 MB, free: 7.934 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.3735, allocations: 30.25 kB / 411.7 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001855/0.3737, allocations: 75.94 kB / 411.7 MB, free: 7.867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.3853, allocations: 3.851 MB / 415.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.3854, allocations: 0 / 415.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3854, allocations: 0 / 415.6 MB, free: 5.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.965e-06/0.3854, allocations: 2.875 kB / 415.6 MB, free: 5.41 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005209/0.3906, allocations: 1.146 MB / 416.7 MB, free: 4.602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3907, allocations: 9.375 kB / 416.8 MB, free: 4.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004693/0.3911, allocations: 50.8 kB / 416.8 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.3915, allocations: 215.9 kB / 417 MB, free: 4.344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.151e-05/0.3915, allocations: 14.48 kB / 417 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.201e-05/0.3916, allocations: 20.83 kB / 417 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.3929, allocations: 385.6 kB / 417.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.3929, allocations: 5.438 kB / 417.4 MB, free: 4.051 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.3929, allocations: 5.375 kB / 417.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.393, allocations: 4.562 kB / 417.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.3944, allocations: 350 kB / 417.8 MB, free: 3.883 MB / 334.1 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.001445/0.3958, allocations: 1.201 MB / 419 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008603/0.3967, allocations: 274.8 kB / 419.2 MB, free: 2.512 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.397, allocations: 111.3 kB / 419.4 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1027/0.4997, allocations: 47.65 MB / 467 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.4997, allocations: 38.5 kB / 467 MB, free: 13.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 1.884e-06/0.4998, allocations: 4 kB / 467 MB, free: 13.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006831/0.5066, allocations: 1.572 MB / 468.6 MB, free: 11.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.5067, allocations: 110.8 kB / 468.7 MB, free: 11.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.5068, allocations: 129.7 kB / 468.9 MB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.5068, allocations: 29.7 kB / 468.9 MB, free: 11.26 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.5069, allocations: 96.61 kB / 469 MB, free: 11.16 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.751e-05/0.507, allocations: 126.3 kB / 469.1 MB, free: 11.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.5071, allocations: 65.69 kB / 469.2 MB, free: 10.96 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5072, allocations: 322.8 kB / 469.5 MB, free: 10.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003976/0.5076, allocations: 135.8 kB / 469.6 MB, free: 10.51 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.5081, allocations: 202.5 kB / 469.8 MB, free: 10.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008486/0.5089, allocations: 350.5 kB / 470.2 MB, free: 9.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.5089, allocations: 3.938 kB / 470.2 MB, free: 9.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001079/0.51, allocations: 422 kB / 470.6 MB, free: 9.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.5101, allocations: 8 kB / 470.6 MB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5101, allocations: 0 / 470.6 MB, free: 9.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002289/0.5103, allocations: 44.77 kB / 470.6 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004643/0.5108, allocations: 87.88 kB / 470.7 MB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003603/0.5112, allocations: 0.5486 MB / 471.3 MB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002643/0.5114, allocations: 19.98 kB / 471.3 MB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.5115, allocations: 12 kB / 471.3 MB, free: 8.746 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5116, allocations: 157.5 kB / 471.4 MB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.714e-05/0.5117, allocations: 19.91 kB / 471.5 MB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.5139, allocations: 1.439 MB / 472.9 MB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-05/0.5139, allocations: 23.91 kB / 472.9 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.5139, allocations: 0 / 472.9 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.5139, allocations: 3.984 kB / 472.9 MB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002915/0.5169, allocations: 1.983 MB / 474.9 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.5169, allocations: 1.078 kB / 474.9 MB, free: 5.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004351/0.5173, allocations: 87.86 kB / 475 MB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003043/0.5176, allocations: 69.3 kB / 475.1 MB, free: 4.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.5177, allocations: 11.98 kB / 475.1 MB, free: 4.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003877/0.5181, allocations: 0.5913 MB / 475.7 MB, free: 4.246 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.5181, allocations: 3.938 kB / 475.7 MB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.5204, allocations: 1.686 MB / 477.4 MB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5205, allocations: 132.3 kB / 477.5 MB, free: 2.375 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.542e-05/0.5206, allocations: 12 kB / 477.5 MB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.5209, allocations: 20.03 kB / 477.5 MB, free: 2.344 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.553e-05/0.521, allocations: 35.89 kB / 477.6 MB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.5211, allocations: 15.98 kB / 477.6 MB, free: 2.293 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.636e-05/0.5211, allocations: 91.27 kB / 477.7 MB, free: 2.203 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5211, allocations: 0 / 477.7 MB, free: 2.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003535/0.5247, allocations: 0.9527 MB / 478.6 MB, free: 1.25 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004374/0.5291, allocations: 1.139 MB / 479.7 MB, free: 108 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.5305, allocations: 0.6086 MB / 480.4 MB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5306, allocations: 448 / 480.4 MB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007797/0.5313, allocations: 0.5123 MB / 480.9 MB, free: 14.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007677/0.5321, allocations: 84.44 kB / 481 MB, free: 14.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.5344, allocations: 1.305 MB / 482.3 MB, free: 13.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.5348, allocations: 0.8139 MB / 483.1 MB, free: 12.72 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003348/0.5351, allocations: 141.7 kB / 483.2 MB, free: 12.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.5353, allocations: 31.42 kB / 483.2 MB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5353, allocations: 4 kB / 483.2 MB, free: 12.55 MB / 414.1 MB Notification: Performance of Templates: time 0.04695/0.5822, allocations: 36.35 MB / 0.5074 GB, free: 8.125 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.2_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.WaterIF97.pipe 2>&1)