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.008446/0.008446, allocations: 102 kB / 15.73 MB, free: 6.035 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.001719/0.00172, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.549/1.549, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.001245/0.001245, allocations: 54.42 kB / 326.5 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0855/0.08675, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01531/0.1021, allocations: 12.91 MB / 386.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.1151, allocations: 11.55 MB / 397.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001198/0.1153, allocations: 0 / 397.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1157, allocations: 71.55 kB / 397.7 MB, free: 8.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.116, allocations: 75.44 kB / 397.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01266/0.1287, allocations: 5.069 MB / 402.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.1291, allocations: 238.9 kB / 403.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.648e-05/0.1291, allocations: 17.38 kB / 403.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003972/0.1295, allocations: 195.3 kB / 403.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1296, allocations: 67.77 kB / 403.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.1297, allocations: 8 kB / 403.3 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01193/0.1416, allocations: 6.989 MB / 410.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.757e-05/0.1417, allocations: 35.89 kB / 410.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.1418, allocations: 67.67 kB / 410.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007507/0.1493, allocations: 3.864 MB / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1494, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1494, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1494, allocations: 0 / 414.3 MB, free: 8.051 MB / 350.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.004205/0.1536, allocations: 1.142 MB / 415.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1537, allocations: 8.031 kB / 415.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004799/0.1541, allocations: 56.7 kB / 415.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1544, allocations: 220.2 kB / 415.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.649e-05/0.1545, allocations: 12.38 kB / 415.7 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.1545, allocations: 16.38 kB / 415.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.1558, allocations: 380 kB / 416.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1558, allocations: 4 kB / 416.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/0.1559, allocations: 7.984 kB / 416.1 MB, free: 6.102 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.1559, allocations: 4 kB / 416.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.1573, allocations: 359.5 kB / 416.5 MB, free: 5.746 MB / 350.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.00137/0.1587, allocations: 1.187 MB / 417.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.1595, allocations: 275.8 kB / 417.9 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000276/0.1598, allocations: 114.8 kB / 418 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2683/0.4281, allocations: 47.64 MB / 465.7 MB, free: 64.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.4282, allocations: 36.06 kB / 465.7 MB, free: 64.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 1.964e-06/0.4282, allocations: 0 / 465.7 MB, free: 64.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.006851/0.435, allocations: 1.579 MB / 467.3 MB, free: 64.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.4351, allocations: 106.9 kB / 467.4 MB, free: 64.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.26e-05/0.4352, allocations: 124.2 kB / 467.5 MB, free: 63.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4352, allocations: 34.98 kB / 467.6 MB, free: 63.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.165e-05/0.4353, allocations: 101.4 kB / 467.7 MB, free: 63.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.04e-05/0.4353, allocations: 121.8 kB / 467.8 MB, free: 63.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.4354, allocations: 64.38 kB / 467.8 MB, free: 63.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.4355, allocations: 329.4 kB / 468.2 MB, free: 63.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000375/0.4359, allocations: 133.6 kB / 468.3 MB, free: 63.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.4363, allocations: 209.7 kB / 468.5 MB, free: 63.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.4371, allocations: 347.8 kB / 468.8 MB, free: 63.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4371, allocations: 1.344 kB / 468.8 MB, free: 63.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001034/0.4382, allocations: 426.7 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4382, allocations: 4.906 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4382, allocations: 3.156 kB / 469.3 MB, free: 62.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002385/0.4385, allocations: 34.86 kB / 469.3 MB, free: 62.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.4389, allocations: 92.62 kB / 469.4 MB, free: 62.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000274/0.4392, allocations: 0.5438 MB / 469.9 MB, free: 62.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.4395, allocations: 29.53 kB / 470 MB, free: 62.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.4396, allocations: 15 kB / 470 MB, free: 62.32 MB / 382.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.0001295/0.4397, allocations: 146.9 kB / 470.1 MB, free: 62.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.4398, allocations: 16.06 kB / 470.1 MB, free: 62.17 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/0.4418, allocations: 1.438 MB / 471.6 MB, free: 61.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-05/0.4418, allocations: 19.97 kB / 471.6 MB, free: 61.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.4418, allocations: 12.77 kB / 471.6 MB, free: 61.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.4418, allocations: 3.984 kB / 471.6 MB, free: 61.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.4443, allocations: 1.973 MB / 473.6 MB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.283e-06/0.4443, allocations: 0 / 473.6 MB, free: 60.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/0.4447, allocations: 86.53 kB / 473.7 MB, free: 60.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002921/0.4451, allocations: 71.81 kB / 473.7 MB, free: 59.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.966e-05/0.4451, allocations: 11.56 kB / 473.7 MB, free: 59.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002395/0.4453, allocations: 0.5959 MB / 474.3 MB, free: 59.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4454, allocations: 0 / 474.3 MB, free: 59.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.4471, allocations: 1.693 MB / 476 MB, free: 58.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.083e-05/0.4472, allocations: 139.3 kB / 476.2 MB, free: 58.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.4473, allocations: 7.938 kB / 476.2 MB, free: 58.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.4476, allocations: 23.83 kB / 476.2 MB, free: 58.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.4477, allocations: 38.7 kB / 476.2 MB, free: 58.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.4477, allocations: 11.86 kB / 476.3 MB, free: 58.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.4478, allocations: 87.22 kB / 476.3 MB, free: 58.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4478, allocations: 0 / 476.3 MB, free: 58.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00258/0.4504, allocations: 0.9628 MB / 477.3 MB, free: 57.95 MB / 382.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.003547/0.4539, allocations: 1.141 MB / 478.4 MB, free: 57.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.4552, allocations: 0.6012 MB / 479 MB, free: 56.78 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.4552, allocations: 7.938 kB / 479.1 MB, free: 56.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006286/0.4558, allocations: 0.5118 MB / 479.6 MB, free: 56.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007469/0.4566, allocations: 71.11 kB / 479.6 MB, free: 56.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.4586, allocations: 1.31 MB / 480.9 MB, free: 54.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/0.4588, allocations: 0.8216 MB / 481.8 MB, free: 54.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003059/0.4591, allocations: 144.3 kB / 481.9 MB, free: 53.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.4592, allocations: 35.42 kB / 481.9 MB, free: 53.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4592, allocations: 0 / 481.9 MB, free: 53.84 MB / 382.1 MB Notification: Performance of Templates: time 0.03401/0.4933, allocations: 36.25 MB / 0.506 GB, free: 17.57 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)