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.001543/0.001543, 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.00185/0.00185, allocations: 195 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.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.001157/0.001157, allocations: 55.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1953, allocations: 46.63 MB / 325.3 MB, free: 1.812 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01448/0.2098, allocations: 12.91 MB / 338.2 MB, free: 6.98 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.2238, allocations: 11.54 MB / 349.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001459/0.2239, allocations: 0 / 349.7 MB, free: 11.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000347/0.2243, allocations: 75.55 kB / 349.8 MB, free: 11.32 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.2247, allocations: 91.36 kB / 349.9 MB, free: 11.23 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01504/0.2398, allocations: 5.053 MB / 355 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003591/0.2401, allocations: 235 kB / 355.2 MB, free: 5.934 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.231e-05/0.2402, allocations: 9.453 kB / 355.2 MB, free: 5.926 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004396/0.2406, allocations: 195.3 kB / 355.4 MB, free: 5.734 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2408, allocations: 67.7 kB / 355.5 MB, free: 5.668 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.2408, allocations: 8 kB / 355.5 MB, free: 5.66 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01382/0.2546, allocations: 6.833 MB / 362.3 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.584e-05/0.2548, allocations: 23.91 kB / 362.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.2549, allocations: 67.73 kB / 362.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008826/0.2637, allocations: 3.883 MB / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2638, allocations: 0 / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2638, allocations: 0 / 366.3 MB, free: 10.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.2638, 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.004949/0.2688, allocations: 1.135 MB / 367.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.2688, allocations: 8.031 kB / 367.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005051/0.2693, allocations: 52.7 kB / 367.5 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.2696, allocations: 220.2 kB / 367.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.182e-05/0.2697, allocations: 12.38 kB / 367.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.079e-05/0.2697, allocations: 16.28 kB / 367.7 MB, free: 9.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.2711, allocations: 388 kB / 368.1 MB, free: 8.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.2711, allocations: 4 kB / 368.1 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.2711, allocations: 4 kB / 368.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2712, allocations: 15.86 kB / 368.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/0.2726, allocations: 355.5 kB / 368.5 MB, free: 8.535 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.001601/0.2742, allocations: 1.195 MB / 369.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008413/0.2751, allocations: 279.7 kB / 369.9 MB, free: 6.938 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.2754, allocations: 110.9 kB / 370 MB, free: 6.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.102/0.3774, allocations: 47.44 MB / 417.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.954e-05/0.3775, allocations: 38.56 kB / 417.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.424e-06/0.3775, allocations: 0 / 417.5 MB, free: 1.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.007089/0.3846, allocations: 1.583 MB / 419.1 MB, free: 68 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.457e-05/0.3847, allocations: 106.8 kB / 419.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3848, allocations: 117.9 kB / 419.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3849, allocations: 29.7 kB / 419.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.385, allocations: 112.4 kB / 419.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.3851, allocations: 114.4 kB / 419.6 MB, free: 15.55 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3852, allocations: 69.59 kB / 419.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3853, allocations: 322.8 kB / 420 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.3857, allocations: 143.7 kB / 420.1 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004436/0.3862, allocations: 198.5 kB / 420.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.387, allocations: 354.5 kB / 420.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.387, allocations: 0 / 420.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001084/0.3881, allocations: 430.3 kB / 421.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3881, allocations: 8 kB / 421.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3881, allocations: 0 / 421.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002253/0.3884, allocations: 41.05 kB / 421.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004669/0.3888, allocations: 91.81 kB / 421.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/0.3892, allocations: 0.556 MB / 421.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.3895, allocations: 28.09 kB / 421.8 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.3896, 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.0001402/0.3897, allocations: 129.8 kB / 421.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/0.3898, allocations: 15.89 kB / 421.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002121/0.392, allocations: 1.45 MB / 423.4 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/0.392, allocations: 23.97 kB / 423.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.392, allocations: 0 / 423.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.392, allocations: 7.984 kB / 423.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002889/0.3949, allocations: 1.975 MB / 425.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.295e-06/0.3949, allocations: 4 kB / 425.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.3954, allocations: 83.86 kB / 425.5 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003044/0.3957, allocations: 72.83 kB / 425.5 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.856e-05/0.3958, allocations: 19.98 kB / 425.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003502/0.3961, allocations: 0.5797 MB / 426.1 MB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.3961, allocations: 7.969 kB / 426.2 MB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.3983, allocations: 1.685 MB / 427.8 MB, free: 7.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.66e-05/0.3984, allocations: 136.6 kB / 428 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.3985, allocations: 8 kB / 428 MB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.3989, allocations: 27.92 kB / 428 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.3989, allocations: 35.89 kB / 428 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.101e-05/0.399, allocations: 15.98 kB / 428.1 MB, free: 6.781 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.662e-05/0.399, allocations: 87.28 kB / 428.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.399, allocations: 0 / 428.1 MB, free: 6.695 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002577/0.4016, 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.00451/0.4061, allocations: 1.136 MB / 430.2 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.4077, allocations: 0.6202 MB / 430.9 MB, free: 3.973 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.4077, allocations: 8.062 kB / 430.9 MB, free: 3.965 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000825/0.4086, allocations: 0.5048 MB / 431.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007838/0.4094, allocations: 80.23 kB / 431.5 MB, free: 3.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.4118, allocations: 1.303 MB / 432.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4121, allocations: 0.8255 MB / 433.6 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003976/0.4126, allocations: 133.7 kB / 433.7 MB, free: 1.047 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.4127, allocations: 39.42 kB / 433.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4127, allocations: 4 kB / 433.8 MB, free: 1.004 MB / 366.1 MB Notification: Performance of Templates: time 0.1993/0.612, allocations: 36.27 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)