Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001215/0.001215, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.445/1.445, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.002083/0.002083, allocations: 59.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2131, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0159/0.229, allocations: 12.9 MB / 338.2 MB, free: 6.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2417, allocations: 11.55 MB / 349.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.2419, allocations: 3.938 kB / 349.7 MB, free: 11.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.2422, allocations: 63.62 kB / 349.8 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002857/0.2425, allocations: 99.36 kB / 349.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01288/0.2554, allocations: 5.049 MB / 355 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003505/0.2558, allocations: 231 kB / 355.2 MB, free: 5.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.946e-05/0.2558, allocations: 13.45 kB / 355.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004237/0.2563, allocations: 199.3 kB / 355.4 MB, free: 5.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.2564, allocations: 71.7 kB / 355.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.2564, allocations: 8 kB / 355.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/0.2685, allocations: 6.821 MB / 362.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.102e-05/0.2686, allocations: 27.89 kB / 362.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001174/0.2688, allocations: 67.73 kB / 362.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00903/0.2778, allocations: 3.883 MB / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.2779, allocations: 0 / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2779, allocations: 0 / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2779, allocations: 0 / 366.3 MB, free: 10.84 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.00485/0.2827, allocations: 1.139 MB / 367.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.2828, allocations: 12.03 kB / 367.4 MB, free: 9.641 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.2833, allocations: 48.7 kB / 367.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.2835, allocations: 216.2 kB / 367.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.2836, allocations: 12.38 kB / 367.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.241e-05/0.2836, allocations: 20.28 kB / 367.7 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.2849, allocations: 384 kB / 368.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.2849, allocations: 4 kB / 368.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.463e-05/0.285, allocations: 4 kB / 368.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.285, allocations: 4 kB / 368.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.2864, allocations: 363.5 kB / 368.4 MB, free: 8.539 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.001409/0.2878, allocations: 1.195 MB / 369.6 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.2887, allocations: 279.7 kB / 369.9 MB, free: 6.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.289, allocations: 114.8 kB / 370 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09833/0.3874, allocations: 47.45 MB / 417.5 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.744e-05/0.3874, allocations: 38.56 kB / 417.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.214e-06/0.3875, allocations: 0 / 417.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006852/0.3943, allocations: 1.583 MB / 419.1 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.3944, allocations: 106.8 kB / 419.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.3945, allocations: 113.8 kB / 419.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3946, allocations: 29.7 kB / 419.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3946, allocations: 116.5 kB / 419.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.3947, allocations: 114.4 kB / 419.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.3949, allocations: 65.59 kB / 419.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.395, allocations: 326.8 kB / 420 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.3954, allocations: 135.7 kB / 420.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00044/0.3958, allocations: 202.5 kB / 420.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/0.3967, allocations: 350.5 kB / 420.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3967, allocations: 4 kB / 420.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001098/0.3978, allocations: 434 kB / 421.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.3978, allocations: 4 kB / 421.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3978, allocations: 0 / 421.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.3981, allocations: 40.83 kB / 421.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004686/0.3986, allocations: 92.03 kB / 421.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003787/0.399, allocations: 0.5483 MB / 421.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/0.3993, allocations: 28.31 kB / 421.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.377e-05/0.3993, allocations: 16 kB / 421.8 MB, free: 13.23 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.0001354/0.3995, allocations: 137.9 kB / 421.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.887e-05/0.3996, allocations: 11.91 kB / 421.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002176/0.4017, allocations: 1.462 MB / 423.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.161e-05/0.4018, allocations: 19.97 kB / 423.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4018, allocations: 4 kB / 423.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.074e-06/0.4018, allocations: 0 / 423.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.4047, allocations: 1.983 MB / 425.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/0.4047, allocations: 4 kB / 425.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004276/0.4052, allocations: 79.88 kB / 425.5 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.4055, allocations: 76.81 kB / 425.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.299e-05/0.4055, allocations: 12 kB / 425.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003764/0.4059, allocations: 0.5836 MB / 426.1 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.4059, allocations: 7.969 kB / 426.2 MB, free: 8.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.4081, allocations: 1.685 MB / 427.8 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.4082, allocations: 128.5 kB / 428 MB, free: 6.871 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.263e-05/0.4083, allocations: 12.03 kB / 428 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.4087, allocations: 23.86 kB / 428 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.4087, allocations: 35.95 kB / 428 MB, free: 6.801 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.4088, allocations: 19.98 kB / 428.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.379e-05/0.4088, allocations: 87.28 kB / 428.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4088, allocations: 0 / 428.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002779/0.4116, allocations: 0.9643 MB / 429.1 MB, free: 5.73 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.00375/0.4154, allocations: 1.136 MB / 430.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.417, allocations: 0.6277 MB / 430.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.417, allocations: 4 kB / 430.9 MB, free: 3.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007877/0.4178, allocations: 0.5093 MB / 431.4 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.4186, allocations: 80.08 kB / 431.5 MB, free: 3.371 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.421, allocations: 1.307 MB / 432.8 MB, free: 2.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4213, allocations: 0.8178 MB / 433.6 MB, free: 1.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000397/0.4218, allocations: 141.8 kB / 433.7 MB, free: 1.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.4219, allocations: 31.42 kB / 433.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.4219, allocations: 0 / 433.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of Templates: time 0.1851/0.607, allocations: 36.27 MB / 470 MB, free: 107.6 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.1_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.WaterIF97.pipe 2>&1)