Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008207/0.0008208, 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.000921/0.0009211, 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.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3876/0.3876, allocations: 39.99 MB / 310.4 MB, free: 9.953 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005783/0.0005784, allocations: 12 kB / 378.9 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.149, allocations: 57.95 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.332/0.481, allocations: 36.63 MB / 473.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02545/0.5066, allocations: 18.86 MB / 492.3 MB, free: 19.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.5081, allocations: 25.12 kB / 492.3 MB, free: 19.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00168/0.5098, allocations: 376.8 kB / 492.7 MB, free: 19.66 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01518/0.525, allocations: 4.065 MB / 496.8 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007723/0.5328, allocations: 2.019 MB / 498.8 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003535/0.5363, allocations: 2.349 MB / 0.4894 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009009/0.5373, allocations: 406.2 kB / 0.4898 GB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01192/0.5492, allocations: 6.398 MB / 0.496 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01787/0.5671, allocations: 9.095 MB / 0.5049 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.5674, allocations: 36.22 kB / 0.5049 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01831/0.5858, allocations: 6.83 MB / 0.5116 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005883/0.5864, allocations: 237.5 kB / 0.5118 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005332/0.5869, allocations: 189.3 kB / 0.512 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007843/0.5948, allocations: 3.379 MB / 0.5153 GB, free: 8.461 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.5948, allocations: 4 kB / 0.5153 GB, free: 8.457 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5949, allocations: 0 / 0.5153 GB, free: 8.457 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5949, allocations: 0 / 0.5153 GB, free: 8.457 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.004078/0.599, allocations: 1.465 MB / 0.5167 GB, free: 6.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.599, allocations: 8.562 kB / 0.5167 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/0.6004, allocations: 230.8 kB / 0.517 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/0.6011, allocations: 0.5316 MB / 0.5175 GB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6013, allocations: 112.6 kB / 0.5176 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.621e-05/0.6014, allocations: 56 kB / 0.5176 GB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.603, allocations: 1.071 MB / 0.5187 GB, free: 4.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.6031, allocations: 3.953 kB / 0.5187 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.621e-05/0.6032, allocations: 39.98 kB / 0.5187 GB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.6032, allocations: 40.92 kB / 0.5188 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.6046, allocations: 0.8155 MB / 0.5196 GB, free: 3.879 MB / 382.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.005466/0.6101, allocations: 5.562 MB / 0.525 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6115, allocations: 0.5301 MB / 0.5255 GB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.6119, allocations: 202.5 kB / 0.5257 GB, free: 13.19 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08899/0.7009, allocations: 47.89 MB / 0.5725 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.521e-05/0.701, allocations: 40.19 kB / 0.5725 GB, free: 7.641 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 1.994e-06/0.701, allocations: 4 kB / 0.5725 GB, free: 7.637 MB / 446.1 MB Notification: Performance of matching and sorting (n=44): time 0.006291/0.7073, allocations: 2.129 MB / 0.5746 GB, free: 5.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.7074, allocations: 199.9 kB / 0.5748 GB, free: 5.211 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008429/0.7083, allocations: 0.6289 MB / 0.5754 GB, free: 4.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.7084, allocations: 33.7 kB / 0.5754 GB, free: 4.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.7087, allocations: 399.2 kB / 0.5758 GB, free: 4.141 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.7088, allocations: 165.7 kB / 0.576 GB, free: 3.977 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.7089, allocations: 12 kB / 0.576 GB, free: 3.965 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.7091, allocations: 382.8 kB / 0.5764 GB, free: 3.582 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.7095, allocations: 225.9 kB / 0.5766 GB, free: 3.359 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000645/0.7101, allocations: 0.5867 MB / 0.5771 GB, free: 2.598 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005302/0.7107, allocations: 339.6 kB / 0.5775 GB, free: 2.266 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.7107, allocations: 7.938 kB / 0.5775 GB, free: 2.258 MB / 446.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001452/0.7121, allocations: 0.8845 MB / 0.5783 GB, free: 1.363 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.587e-05/0.7122, allocations: 12 kB / 0.5784 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.7122, allocations: 12.09 kB / 0.5784 GB, free: 1.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002844/0.715, allocations: 284.4 kB / 0.5786 GB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.7162, allocations: 279.6 kB / 0.5789 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002298/0.7185, allocations: 2.022 MB / 0.5809 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/0.7195, allocations: 55.97 kB / 0.5809 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.956e-05/0.7196, allocations: 47.94 kB / 0.581 GB, free: 14.51 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005701/0.7202, allocations: 277.5 kB / 0.5812 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/0.7204, allocations: 79.14 kB / 0.5813 GB, free: 14.15 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.723, allocations: 2.02 MB / 0.5833 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/0.723, allocations: 27.97 kB / 0.5833 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.723, allocations: 0 / 0.5833 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.723, allocations: 3.984 kB / 0.5833 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.7269, allocations: 2.996 MB / 0.5862 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.7269, allocations: 0 / 0.5862 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009518/0.7279, allocations: 183.8 kB / 0.5864 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001551/0.7294, allocations: 303.9 kB / 0.5867 GB, free: 8.535 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.7295, allocations: 16 kB / 0.5867 GB, free: 8.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.7315, allocations: 2.079 MB / 0.5888 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.7315, allocations: 0 / 0.5888 GB, free: 6.277 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.7341, allocations: 1.94 MB / 0.5906 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.7346, allocations: 283.5 kB / 0.5909 GB, free: 4.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.7347, allocations: 19.95 kB / 0.5909 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004669/0.7352, allocations: 35.83 kB / 0.591 GB, free: 3.965 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.7353, allocations: 32.39 kB / 0.591 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.7353, allocations: 23.98 kB / 0.591 GB, free: 3.91 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008148/0.7361, allocations: 0.5654 MB / 0.5916 GB, free: 3.352 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7361, allocations: 0 / 0.5916 GB, free: 3.352 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00419/0.7403, allocations: 1.089 MB / 0.5926 GB, free: 2.262 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004817/0.7452, allocations: 1.196 MB / 0.5938 GB, free: 1.059 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002146/0.7473, allocations: 0.909 MB / 0.5947 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.7474, allocations: 0 / 0.5947 GB, free: 156 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001274/0.7486, allocations: 0.6438 MB / 0.5953 GB, free: 15.51 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/0.7508, allocations: 379.5 kB / 0.5957 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.7543, allocations: 2.578 MB / 0.5982 GB, free: 12.53 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007046/0.755, allocations: 1.093 MB / 0.5993 GB, free: 11.41 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008353/0.7558, allocations: 361.9 kB / 0.5996 GB, free: 11.05 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.756, allocations: 59.44 kB / 0.5997 GB, free: 11 MB / 478.1 MB Notification: Performance of SimCode: time 7.51e-07/0.756, allocations: 0 / 0.5997 GB, free: 11 MB / 478.1 MB Notification: Performance of Templates: time 0.3042/1.06, allocations: 44.7 MB / 0.6433 GB, free: 149.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) Environment - environmentSimulation: