Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.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.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 104.7 kB / 17.06 MB, free: 6.027 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.00151/0.00151, allocations: 196 kB / 18 MB, free: 5.105 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.495/1.495, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001139/0.001139, allocations: 51.92 kB / 327.9 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08201/0.08316, allocations: 46.62 MB / 374.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.2312/0.3144, allocations: 32.56 MB / 407.1 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.3317, allocations: 15.74 MB / 422.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003359/0.3321, allocations: 8.125 kB / 422.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008192/0.3329, allocations: 272.3 kB / 423.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008431/0.3338, allocations: 356.8 kB / 423.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02027/0.3541, allocations: 5.78 MB / 429.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0021/0.3562, allocations: 1.004 MB / 430.2 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.3566, allocations: 115.6 kB / 430.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00634/0.363, allocations: 2.207 MB / 432.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008586/0.3638, allocations: 302.8 kB / 432.9 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.364, allocations: 43.94 kB / 432.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01529/0.3793, allocations: 6.072 MB / 439 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.3796, allocations: 115.6 kB / 439.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000399/0.38, allocations: 227.2 kB / 439.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008288/0.3883, allocations: 3.789 MB / 443.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3883, allocations: 0 / 443.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3883, allocations: 0 / 443.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.3883, allocations: 0 / 443.1 MB, free: 10.96 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002147/0.3905, allocations: 0.9909 MB / 444.1 MB, free: 9.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3905, allocations: 12.03 kB / 444.1 MB, free: 9.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.3919, allocations: 152.3 kB / 444.2 MB, free: 9.766 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.3924, allocations: 327.6 kB / 444.6 MB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.3925, allocations: 29.03 kB / 444.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.3925, allocations: 32.56 kB / 444.6 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.3938, allocations: 0.5151 MB / 445.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.3938, allocations: 0 / 445.1 MB, free: 8.793 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/0.3939, allocations: 16 kB / 445.2 MB, free: 8.777 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.3939, allocations: 8 kB / 445.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006368/0.3945, allocations: 325.9 kB / 445.5 MB, free: 8.453 MB / 366.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.002872/0.3974, allocations: 2.554 MB / 448 MB, free: 5.637 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/0.398, allocations: 270.7 kB / 448.3 MB, free: 5.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.3982, allocations: 117.3 kB / 448.4 MB, free: 5.246 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06584/0.464, allocations: 31.03 MB / 479.5 MB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.4641, allocations: 34.56 kB / 479.5 MB, free: 2.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=27): time 1.973e-06/0.4641, allocations: 0 / 479.5 MB, free: 2.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=31): time 0.003371/0.4675, allocations: 1.201 MB / 480.7 MB, free: 1.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4675, allocations: 55.41 kB / 480.7 MB, free: 1.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.4678, allocations: 254.6 kB / 481 MB, free: 1.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.576e-05/0.4678, allocations: 33.64 kB / 481 MB, free: 0.9922 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.468, allocations: 192 kB / 481.2 MB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.189e-05/0.468, allocations: 114.4 kB / 481.3 MB, free: 0.6875 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.4681, allocations: 78.03 kB / 481.4 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4683, allocations: 338.8 kB / 481.7 MB, free: 272 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.4684, allocations: 92.84 kB / 481.8 MB, free: 180 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/0.4687, allocations: 214.9 kB / 482 MB, free: 15.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.4691, allocations: 342.3 kB / 482.4 MB, free: 15.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.4691, allocations: 4 kB / 482.4 MB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007073/0.4698, allocations: 414.7 kB / 482.8 MB, free: 15.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.4699, allocations: 11.28 kB / 482.8 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.4699, allocations: 4 kB / 482.8 MB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002647/0.4701, allocations: 58.16 kB / 482.8 MB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/0.4705, allocations: 91.84 kB / 482.9 MB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.4721, allocations: 2.532 MB / 485.5 MB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001962/0.4723, allocations: 12 kB / 485.5 MB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.4724, allocations: 16 kB / 485.5 MB, free: 12.19 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.4726, allocations: 165.9 kB / 485.7 MB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.528e-05/0.4726, allocations: 31.62 kB / 485.7 MB, free: 11.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.4737, allocations: 0.8616 MB / 486.5 MB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.4737, allocations: 11.98 kB / 486.6 MB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.4737, allocations: 3.938 kB / 486.6 MB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008747/0.4746, allocations: 1.04 MB / 487.6 MB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001637/0.4762, allocations: 1.497 MB / 489.1 MB, free: 8.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4762, allocations: 3.938 kB / 489.1 MB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002223/0.4765, allocations: 51.97 kB / 489.2 MB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003106/0.4768, allocations: 68.7 kB / 489.2 MB, free: 8.277 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.4768, allocations: 16 kB / 489.2 MB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004546/0.4773, allocations: 0.5875 MB / 489.8 MB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4773, allocations: 0 / 489.8 MB, free: 7.648 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009833/0.4783, allocations: 0.8208 MB / 490.6 MB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.306e-05/0.4784, allocations: 108.9 kB / 490.8 MB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.767e-05/0.4785, allocations: 19.84 kB / 490.8 MB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4788, allocations: 27.97 kB / 490.8 MB, free: 6.633 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.4788, allocations: 15.97 kB / 490.8 MB, free: 6.617 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.4789, allocations: 15.98 kB / 490.8 MB, free: 6.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.4791, allocations: 235.1 kB / 491.1 MB, free: 6.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4791, allocations: 0 / 491.1 MB, free: 6.367 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002551/0.4817, allocations: 0.8589 MB / 491.9 MB, free: 5.508 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.004267/0.486, allocations: 0.9672 MB / 492.9 MB, free: 4.531 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009683/0.487, allocations: 492 kB / 493.4 MB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.487, allocations: 0 / 493.4 MB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003663/0.4873, allocations: 248.3 kB / 493.6 MB, free: 3.797 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.4884, allocations: 198.7 kB / 493.8 MB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.49, allocations: 0.9722 MB / 494.8 MB, free: 2.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.4904, allocations: 0.8172 MB / 495.6 MB, free: 1.762 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.4908, allocations: 183 kB / 495.8 MB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.143e-05/0.4909, allocations: 35.42 kB / 495.8 MB, free: 1.551 MB / 414.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4909, allocations: 0 / 495.8 MB, free: 1.551 MB / 414.1 MB Notification: Performance of Templates: time 0.05292/0.5438, allocations: 34.97 MB / 0.5183 GB, free: 14.52 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1)