Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001604/0.001604, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001493/0.001493, allocations: 191.4 kB / 16.14 MB, free: 6.707 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.421/1.421, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.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.001154/0.001154, allocations: 47.94 kB / 278 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2292, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01663/0.2459, allocations: 13.73 MB / 338.4 MB, free: 6.387 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01409/0.26, allocations: 12.48 MB / 350.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.2602, allocations: 0 / 350.9 MB, free: 9.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003756/0.2606, allocations: 63.67 kB / 350.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.2609, allocations: 79.48 kB / 351 MB, free: 9.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01395/0.2749, allocations: 4.008 MB / 355 MB, free: 5.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000398/0.2753, allocations: 266.9 kB / 355.3 MB, free: 5.445 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.603e-05/0.2754, allocations: 13.44 kB / 355.3 MB, free: 5.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.2759, allocations: 195.3 kB / 355.5 MB, free: 5.242 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.276, allocations: 75.69 kB / 355.6 MB, free: 5.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2761, allocations: 4 kB / 355.6 MB, free: 5.164 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/0.2895, allocations: 6.903 MB / 362.5 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.584e-05/0.2896, allocations: 15.92 kB / 362.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.2898, allocations: 71.7 kB / 362.6 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009334/0.2991, allocations: 3.883 MB / 366.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2991, allocations: 0 / 366.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2991, allocations: 0 / 366.4 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2992, allocations: 0 / 366.4 MB, free: 10.28 MB / 302.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.004519/0.3037, allocations: 1.143 MB / 367.6 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3037, allocations: 15.97 kB / 367.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004789/0.3042, allocations: 52.7 kB / 367.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.3045, allocations: 212.2 kB / 367.9 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.273e-05/0.3045, allocations: 16.38 kB / 367.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.552e-05/0.3046, allocations: 24.16 kB / 367.9 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.3058, allocations: 376.1 kB / 368.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3059, allocations: 7.938 kB / 368.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.525e-05/0.3059, allocations: 7.984 kB / 368.3 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3059, allocations: 4 kB / 368.3 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3073, allocations: 355.6 kB / 368.6 MB, free: 7.969 MB / 302.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.001346/0.3087, allocations: 1.184 MB / 369.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008204/0.3095, allocations: 271.8 kB / 370.1 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002905/0.3098, allocations: 118.9 kB / 370.2 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09013/0.4, allocations: 47.45 MB / 417.6 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.4001, allocations: 46.56 kB / 417.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.4001, allocations: 0 / 417.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006817/0.4069, allocations: 1.583 MB / 419.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.407, allocations: 106.8 kB / 419.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.84e-05/0.4071, allocations: 121.8 kB / 419.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.4071, allocations: 33.64 kB / 419.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6e-05/0.4072, allocations: 104.5 kB / 419.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.985e-05/0.4073, allocations: 118.4 kB / 419.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.4074, allocations: 69.59 kB / 419.8 MB, free: 14.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001/0.4075, allocations: 322.8 kB / 420.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.4079, allocations: 143.7 kB / 420.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000416/0.4083, allocations: 198.5 kB / 420.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.4091, allocations: 342.6 kB / 420.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4091, allocations: 4 kB / 420.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001076/0.4102, allocations: 422 kB / 421.2 MB, free: 13.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.4103, allocations: 11.94 kB / 421.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4103, allocations: 0 / 421.2 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/0.4105, allocations: 45.03 kB / 421.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.411, allocations: 87.88 kB / 421.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003674/0.4114, allocations: 0.5483 MB / 421.9 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003034/0.4117, allocations: 36.03 kB / 421.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.4117, allocations: 12 kB / 421.9 MB, free: 12.67 MB / 366.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.0001539/0.4119, allocations: 135.7 kB / 422.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.412, allocations: 15.81 kB / 422.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00221/0.4142, allocations: 1.454 MB / 423.6 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.351e-05/0.4142, allocations: 23.97 kB / 423.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4143, allocations: 0 / 423.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4143, allocations: 0 / 423.6 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.4172, allocations: 1.987 MB / 425.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.4173, allocations: 0 / 425.6 MB, free: 8.965 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004552/0.4177, allocations: 79.88 kB / 425.6 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003183/0.418, allocations: 76.81 kB / 425.7 MB, free: 8.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/0.4181, allocations: 12 kB / 425.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003539/0.4185, allocations: 0.5913 MB / 426.3 MB, free: 8.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4185, allocations: 4.406 kB / 426.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.4206, allocations: 1.692 MB / 428 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.4207, allocations: 128.5 kB / 428.1 MB, free: 6.312 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.4207, allocations: 8 kB / 428.1 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003778/0.4211, allocations: 31.86 kB / 428.2 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4212, allocations: 31.95 kB / 428.2 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.365e-05/0.4213, allocations: 15.98 kB / 428.2 MB, free: 6.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.4213, allocations: 95.2 kB / 428.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4213, allocations: 0 / 428.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002874/0.4242, allocations: 0.9566 MB / 429.3 MB, free: 5.176 MB / 366.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.004696/0.4289, allocations: 1.139 MB / 430.4 MB, free: 4.027 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.4304, allocations: 0.6162 MB / 431 MB, free: 3.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4304, allocations: 4.125 kB / 431 MB, free: 3.406 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.4312, allocations: 0.5084 MB / 431.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007777/0.432, allocations: 84.22 kB / 431.6 MB, free: 2.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.4346, allocations: 1.479 MB / 433.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.435, allocations: 0.8178 MB / 433.9 MB, free: 460 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004436/0.4354, allocations: 141.7 kB / 434.1 MB, free: 316 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4356, allocations: 39.41 kB / 434.1 MB, free: 276 kB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4356, allocations: 8 kB / 434.1 MB, free: 268 kB / 366.1 MB Notification: Performance of Templates: time 0.1928/0.6284, allocations: 35.91 MB / 470 MB, free: 107.6 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)