Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_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) 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.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005523/0.005527, allocations: 98.48 kB / 15.73 MB, free: 6.008 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.001178/0.001178, allocations: 192.7 kB / 16.67 MB, free: 5.93 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.525/1.525, allocations: 205.1 MB / 222.6 MB, free: 4.477 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.00121/0.00121, allocations: 53.16 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.114, allocations: 46.62 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.0456/0.1596, allocations: 39.26 MB / 412.5 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002722/0.1624, allocations: 2.027 MB / 414.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001719/0.1626, allocations: 4 kB / 414.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.1632, allocations: 174.9 kB / 414.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005633/0.1638, allocations: 318.2 kB / 415 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000658/0.1645, allocations: 279.4 kB / 415.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009467/0.1654, allocations: 0.8446 MB / 416.1 MB, free: 6.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002355/0.1657, allocations: 100.7 kB / 416.2 MB, free: 6.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3777/0.5434, allocations: 44.1 MB / 460.3 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006997/0.5441, allocations: 276 kB / 460.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.633e-05/0.5442, allocations: 29.47 kB / 460.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.5444, allocations: 39.19 kB / 460.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.5445, allocations: 86.28 kB / 460.7 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.5448, allocations: 183.2 kB / 460.9 MB, free: 35.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.5454, allocations: 436.2 kB / 461.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5454, allocations: 1 kB / 461.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.5454, allocations: 0.8906 kB / 461.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.5454, allocations: 0 / 461.3 MB, free: 35.61 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009532/0.5464, allocations: 0.595 MB / 461.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5465, allocations: 9.531 kB / 461.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003404/0.5468, allocations: 42.89 kB / 462 MB, free: 35.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.5473, allocations: 297.9 kB / 462.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.5473, allocations: 17.44 kB / 462.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.5474, allocations: 24.81 kB / 462.3 MB, free: 34.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006675/0.5481, allocations: 304.3 kB / 462.6 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.5481, allocations: 5.188 kB / 462.6 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.5482, allocations: 14.22 kB / 462.6 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.5482, allocations: 5.688 kB / 462.6 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5486, allocations: 196.5 kB / 462.8 MB, free: 34.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.5505, allocations: 1.435 MB / 464.3 MB, free: 33.78 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003299/0.5508, allocations: 183.9 kB / 464.4 MB, free: 33.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.551, allocations: 86.55 kB / 464.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.22e-05/0.551, allocations: 6.828 kB / 464.5 MB, free: 33.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.551, allocations: 36.34 kB / 464.6 MB, free: 33.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.332e-06/0.551, allocations: 0 / 464.6 MB, free: 33.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00238/0.5534, allocations: 1.004 MB / 465.6 MB, free: 33.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.5535, allocations: 59.47 kB / 465.6 MB, free: 33.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002685/0.5537, allocations: 264.7 kB / 465.9 MB, free: 33.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.5538, allocations: 30.08 kB / 465.9 MB, free: 33.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.481e-05/0.5538, allocations: 176.1 kB / 466.1 MB, free: 32.94 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.5539, allocations: 98.59 kB / 466.2 MB, free: 32.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.554, allocations: 65.94 kB / 466.2 MB, free: 32.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.5541, allocations: 337.3 kB / 466.6 MB, free: 32.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.5542, allocations: 85.48 kB / 466.7 MB, free: 32.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5544, allocations: 187.6 kB / 466.8 MB, free: 32.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.5548, allocations: 285.2 kB / 467.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5548, allocations: 3.625 kB / 467.1 MB, free: 32.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006114/0.5554, allocations: 390.6 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.5554, allocations: 7.812 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/0.5554, allocations: 2.344 kB / 467.5 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002571/0.5557, allocations: 58.81 kB / 467.6 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.556, allocations: 66.89 kB / 467.6 MB, free: 32.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00188/0.5579, allocations: 2.888 MB / 470.5 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.5582, allocations: 11.53 kB / 470.5 MB, free: 29.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.5582, allocations: 14.28 kB / 470.6 MB, free: 29.53 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.5584, allocations: 150.1 kB / 470.7 MB, free: 29.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.517e-05/0.5585, allocations: 32.31 kB / 470.7 MB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.789e-05/0.5585, allocations: 42.64 kB / 470.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.5586, allocations: 3.281 kB / 470.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.5586, allocations: 5.219 kB / 470.8 MB, free: 29.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005372/0.5591, allocations: 0.5597 MB / 471.3 MB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009523/0.5601, allocations: 0.6955 MB / 472 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5601, allocations: 2.562 kB / 472 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.5603, allocations: 44.81 kB / 472.1 MB, free: 28.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002105/0.5605, allocations: 55.7 kB / 472.1 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5605, allocations: 6.156 kB / 472.1 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008264/0.5614, allocations: 1.495 MB / 473.6 MB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.5614, allocations: 1.406 kB / 473.6 MB, free: 27.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.562, allocations: 483.4 kB / 474.1 MB, free: 27.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.5621, allocations: 101.5 kB / 474.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.5621, allocations: 6.906 kB / 474.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.5623, allocations: 7.062 kB / 474.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.613e-05/0.5623, allocations: 17.45 kB / 474.2 MB, free: 26.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.5624, allocations: 14.38 kB / 474.3 MB, free: 26.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001487/0.5625, allocations: 191.2 kB / 474.4 MB, free: 26.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5625, allocations: 1.594 kB / 474.4 MB, free: 26.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004237/0.563, allocations: 85.03 kB / 474.5 MB, free: 26.88 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001079/0.5631, allocations: 101.8 kB / 474.6 MB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008686/0.5639, allocations: 483.3 kB / 475.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.564, allocations: 0 / 475.1 MB, free: 26.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004752/0.5645, allocations: 233.2 kB / 475.3 MB, free: 26.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.5657, allocations: 153.8 kB / 475.5 MB, free: 26.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001446/0.5671, allocations: 0.7069 MB / 476.2 MB, free: 26.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002044/0.5674, allocations: 0.7655 MB / 476.9 MB, free: 25.39 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002262/0.5676, allocations: 54.45 kB / 477 MB, free: 25.37 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.736e-05/0.5677, allocations: 26.47 kB / 477 MB, free: 25.37 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5677, allocations: 0 / 477 MB, free: 25.37 MB / 382.1 MB Notification: Performance of Templates: time 0.009868/0.5775, allocations: 5.746 MB / 482.8 MB, free: 24.7 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1)