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.001411/0.001411, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 196.1 kB / 16.53 MB, free: 6.625 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.509/1.509, allocations: 205.1 MB / 222.4 MB, free: 4.547 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.001379/0.001379, allocations: 55.92 kB / 278.7 MB, free: 12.29 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2416, allocations: 46.63 MB / 325.3 MB, free: 2.074 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04442/0.2861, allocations: 39.24 MB / 364.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002817/0.2889, allocations: 2.035 MB / 366.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.2891, allocations: 4 kB / 366.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005553/0.2897, allocations: 170.9 kB / 366.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005313/0.2902, allocations: 318.2 kB / 367.1 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006357/0.2909, allocations: 287.4 kB / 367.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.2917, allocations: 0.8369 MB / 368.2 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2919, allocations: 96.69 kB / 368.3 MB, free: 8.949 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1086/0.4005, allocations: 44.1 MB / 412.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005987/0.4012, allocations: 270.9 kB / 412.7 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.4013, allocations: 32 kB / 412.7 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002397/0.4015, allocations: 40 kB / 412.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001463/0.4017, allocations: 95.7 kB / 412.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000283/0.402, allocations: 179.2 kB / 413 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006176/0.4026, allocations: 434.6 kB / 413.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.4026, allocations: 0 / 413.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4027, allocations: 0 / 413.4 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.4027, allocations: 0 / 413.4 MB, free: 11.31 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001229/0.4039, allocations: 0.5809 MB / 414 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.404, allocations: 8.031 kB / 414 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003547/0.4043, allocations: 44.55 kB / 414.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004139/0.4047, allocations: 283.8 kB / 414.3 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4048, allocations: 20.94 kB / 414.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.678e-05/0.4048, allocations: 28.28 kB / 414.4 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004898/0.4053, allocations: 303.7 kB / 414.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.4054, allocations: 7.938 kB / 414.7 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.285e-05/0.4054, allocations: 8 kB / 414.7 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4054, allocations: 8 kB / 414.7 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003241/0.4057, allocations: 193.6 kB / 414.9 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.4076, allocations: 1.44 MB / 416.3 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003523/0.408, allocations: 182.6 kB / 416.5 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001355/0.4081, allocations: 92.77 kB / 416.6 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.4082, allocations: 4 kB / 416.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.4082, allocations: 38.5 kB / 416.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.633e-06/0.4082, allocations: 0 / 416.6 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.002634/0.4109, allocations: 1.008 MB / 417.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.4109, allocations: 59.34 kB / 417.7 MB, free: 6.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002862/0.4112, allocations: 258.5 kB / 418 MB, free: 6.426 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.4112, allocations: 33.7 kB / 418 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.4114, allocations: 168.2 kB / 418.2 MB, free: 6.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/0.4115, allocations: 98.72 kB / 418.3 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.32e-05/0.4116, allocations: 65.39 kB / 418.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4118, allocations: 342.8 kB / 418.7 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4119, allocations: 83.97 kB / 418.7 MB, free: 5.625 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.4121, allocations: 174.9 kB / 418.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004006/0.4125, allocations: 290.9 kB / 419.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.4126, allocations: 3.938 kB / 419.2 MB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006929/0.4133, allocations: 382.7 kB / 419.6 MB, free: 4.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4133, allocations: 8 kB / 419.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.4133, allocations: 0 / 419.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002566/0.4136, allocations: 66.05 kB / 419.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.4139, allocations: 63.91 kB / 419.7 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/0.4166, allocations: 2.882 MB / 422.6 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/0.4168, allocations: 11.94 kB / 422.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.454e-05/0.4169, allocations: 16.06 kB / 422.6 MB, free: 1.371 MB / 350.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.0001919/0.4171, allocations: 153.7 kB / 422.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.873e-05/0.4171, allocations: 31.7 kB / 422.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.312e-05/0.4172, allocations: 30.19 kB / 422.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.4172, allocations: 8 kB / 422.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4172, allocations: 0 / 422.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006205/0.4179, allocations: 0.5708 MB / 423.4 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.4189, allocations: 0.7027 MB / 424.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.4189, allocations: 4 kB / 424.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/0.4192, allocations: 43.91 kB / 424.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002134/0.4194, allocations: 52.83 kB / 424.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.4194, allocations: 8.141 kB / 424.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.4206, allocations: 1.492 MB / 425.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4206, allocations: 0 / 425.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.4214, allocations: 473.1 kB / 426.2 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.534e-05/0.4214, allocations: 104.8 kB / 426.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.353e-05/0.4215, allocations: 7.938 kB / 426.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.4217, allocations: 8 kB / 426.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.4218, allocations: 19.97 kB / 426.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.4218, allocations: 11.94 kB / 426.3 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.422, allocations: 194 kB / 426.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.422, allocations: 0 / 426.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.4224, allocations: 88 kB / 426.6 MB, free: 13.05 MB / 366.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.0001342/0.4226, allocations: 99.25 kB / 426.7 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008389/0.4234, allocations: 497.9 kB / 427.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4234, allocations: 0 / 427.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003689/0.4238, allocations: 234.5 kB / 427.4 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009545/0.4248, allocations: 156.4 kB / 427.6 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.426, allocations: 0.6911 MB / 428.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.4264, allocations: 0.7606 MB / 429 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000299/0.4267, allocations: 58.91 kB / 429.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.4267, allocations: 27.44 kB / 429.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4268, allocations: 0 / 429.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01131/0.4381, allocations: 5.679 MB / 434.8 MB, free: 4.766 MB / 366.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)