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.0009755/0.000976, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001648/0.001649, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.0008074/0.0008076, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.252, allocations: 47.59 MB / 326.5 MB, free: 1.602 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01368/0.2657, allocations: 11.96 MB / 338.4 MB, free: 7.664 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01216/0.2779, allocations: 10.72 MB / 349.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.2781, allocations: 0 / 349.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2784, allocations: 55.69 kB / 349.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.2787, allocations: 83.48 kB / 349.3 MB, free: 12.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.2896, allocations: 3.862 MB / 353.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.2899, allocations: 234.9 kB / 353.4 MB, free: 8.68 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.718e-05/0.29, allocations: 9.453 kB / 353.4 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.2904, allocations: 179.2 kB / 353.6 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.2906, allocations: 71.75 kB / 353.6 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.2906, allocations: 8 kB / 353.6 MB, free: 8.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01278/0.3034, allocations: 6.641 MB / 360.3 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.3035, allocations: 31.89 kB / 360.3 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.203e-05/0.3036, allocations: 49.64 kB / 360.4 MB, free: 1.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004798/0.3084, allocations: 2.569 MB / 362.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3085, allocations: 0 / 362.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3085, allocations: 0 / 362.9 MB, free: 15.11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3085, allocations: 0 / 362.9 MB, free: 15.11 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.004428/0.3129, allocations: 1.111 MB / 364 MB, free: 13.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.313, allocations: 12.03 kB / 364 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004629/0.3135, allocations: 59.72 kB / 364.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002524/0.3137, allocations: 218.8 kB / 364.3 MB, free: 13.62 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.3138, allocations: 20.22 kB / 364.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.377e-05/0.3138, allocations: 15.94 kB / 364.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.315, allocations: 386.6 kB / 364.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.315, allocations: 3.938 kB / 364.7 MB, free: 13.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.3151, allocations: 8 kB / 364.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3151, allocations: 4 kB / 364.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.3164, allocations: 368.2 kB / 365.1 MB, free: 12.8 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.001317/0.3177, allocations: 1.196 MB / 366.3 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.3186, allocations: 284.4 kB / 366.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002698/0.3189, allocations: 114.9 kB / 366.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08753/0.4064, allocations: 47.87 MB / 414.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.086e-05/0.4065, allocations: 42.75 kB / 414.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.456e-06/0.4065, allocations: 0 / 414.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.00637/0.4129, allocations: 1.612 MB / 416.2 MB, free: 3.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.4129, allocations: 114.8 kB / 416.3 MB, free: 3.734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.4131, allocations: 125.6 kB / 416.5 MB, free: 3.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4131, allocations: 29.7 kB / 416.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.4132, allocations: 104.5 kB / 416.6 MB, free: 3.461 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4133, allocations: 122.3 kB / 416.7 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.4133, allocations: 4 kB / 416.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4134, allocations: 330.8 kB / 417 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003794/0.4138, allocations: 140.1 kB / 417.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004092/0.4142, allocations: 206.4 kB / 417.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.4146, allocations: 151.9 kB / 417.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4146, allocations: 0 / 417.5 MB, free: 2.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001009/0.4157, allocations: 441.8 kB / 417.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4157, allocations: 4 kB / 418 MB, free: 2.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.4157, allocations: 8.219 kB / 418 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/0.4159, allocations: 40.83 kB / 418 MB, free: 1.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.4164, allocations: 95.81 kB / 418.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003937/0.4168, allocations: 0.5446 MB / 418.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.4171, allocations: 24.02 kB / 418.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.4171, allocations: 15.95 kB / 418.7 MB, free: 1.293 MB / 350.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 (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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001435/0.4173, allocations: 145.7 kB / 418.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.397e-05/0.4174, allocations: 15.81 kB / 418.8 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.4195, allocations: 1.462 MB / 420.3 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/0.4195, allocations: 19.97 kB / 420.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4195, allocations: 0 / 420.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4195, allocations: 7.984 kB / 420.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002767/0.4223, allocations: 1.994 MB / 422.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4223, allocations: 0 / 422.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.4228, allocations: 91.98 kB / 422.4 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.4231, allocations: 72.78 kB / 422.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.72e-05/0.4232, allocations: 12 kB / 422.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003503/0.4236, allocations: 0.5874 MB / 423.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4236, allocations: 4.031 kB / 423.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.4258, allocations: 1.701 MB / 424.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.63e-05/0.4259, allocations: 132.3 kB / 424.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.636e-05/0.426, allocations: 20.03 kB / 424.9 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003726/0.4264, allocations: 23.98 kB / 425 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.944e-05/0.4265, allocations: 31.91 kB / 425 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.213e-05/0.4265, allocations: 23.92 kB / 425 MB, free: 10.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.107e-05/0.4266, allocations: 87.28 kB / 425.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4266, allocations: 0 / 425.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003121/0.4297, allocations: 0.9568 MB / 426.1 MB, free: 9.742 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 (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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004814/0.4345, allocations: 1.131 MB / 427.2 MB, free: 8.605 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001242/0.4358, allocations: 0.6052 MB / 427.8 MB, free: 8 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.4358, allocations: 7.938 kB / 427.8 MB, free: 7.992 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000775/0.4366, allocations: 0.5046 MB / 428.3 MB, free: 7.484 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.4373, allocations: 84.3 kB / 428.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.4397, allocations: 1.565 MB / 429.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.4401, allocations: 0.8139 MB / 430.8 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004101/0.4405, allocations: 141.8 kB / 430.9 MB, free: 4.816 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.4407, allocations: 35.42 kB / 430.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4407, allocations: 0 / 430.9 MB, free: 4.781 MB / 366.1 MB Notification: Performance of Templates: time 0.193/0.6337, allocations: 36.29 MB / 467.2 MB, free: 111 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)