Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.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.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009732, 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.001141/0.001141, 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.566/1.566, allocations: 205.4 MB / 222.1 MB, free: 5.633 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.0004549/0.000455, allocations: 12 kB / 278.9 MB, free: 12.8 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2788, allocations: 47.6 MB / 326.5 MB, free: 1.383 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4562/0.735, allocations: 159.5 MB / 486 MB, free: 1.598 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003487/0.7385, allocations: 3.573 MB / 489.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002957/0.7389, allocations: 2.688 kB / 489.6 MB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005914/0.7395, allocations: 163.1 kB / 489.7 MB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006132/0.7401, allocations: 337.9 kB / 490 MB, free: 1.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.7413, allocations: 410.4 kB / 490.4 MB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.7426, allocations: 1.299 MB / 491.7 MB, free: 1.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002855/0.7429, allocations: 198.8 kB / 491.9 MB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00255/0.7455, allocations: 1.119 MB / 493.1 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007479/0.7462, allocations: 450 kB / 493.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.7464, allocations: 28.94 kB / 493.5 MB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.7478, allocations: 0.6335 MB / 494.2 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004914/0.7483, allocations: 424.2 kB / 494.6 MB, free: 1.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.7485, allocations: 193.9 kB / 494.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.7497, allocations: 1.232 MB / 496 MB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7498, allocations: 0 / 496 MB, free: 1.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.7498, allocations: 0 / 496 MB, free: 1.289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.7498, allocations: 0 / 496 MB, free: 1.289 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001591/0.7514, allocations: 0.8974 MB / 496.9 MB, free: 16.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.7514, allocations: 8.438 kB / 496.9 MB, free: 16.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006466/0.7521, allocations: 154.1 kB / 497.1 MB, free: 16.69 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000768/0.7529, allocations: 470.8 kB / 497.5 MB, free: 16.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.7529, allocations: 55.77 kB / 497.6 MB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.753, allocations: 68.8 kB / 497.6 MB, free: 16.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7546, allocations: 0.9446 MB / 498.6 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.7546, allocations: 0 / 498.6 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.678e-05/0.7547, allocations: 29.81 kB / 498.6 MB, free: 16.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.394e-05/0.7548, allocations: 44.75 kB / 498.7 MB, free: 16.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.7559, allocations: 0.865 MB / 499.5 MB, free: 16.38 MB / 398.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.005013/0.7609, allocations: 3.445 MB / 0.4912 GB, free: 14.58 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.7618, allocations: 0.6305 MB / 0.4918 GB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004789/0.7622, allocations: 370.7 kB / 0.4921 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.655e-05/0.7623, allocations: 15.64 kB / 0.4922 GB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.7624, allocations: 50.3 kB / 0.4922 GB, free: 14.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.996e-06/0.7624, allocations: 0 / 0.4922 GB, free: 14.37 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.Xi[6] 2: volume.medium.Xi[5] 3: volume.medium.Xi[4] 4: volume.medium.Xi[3] 5: volume.medium.Xi[2] 6: volume.medium.Xi[1] 7: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=71): time 0.01404/0.7764, allocations: 6.212 MB / 0.4983 GB, free: 11.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.7765, allocations: 59.56 kB / 0.4983 GB, free: 11.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007402/0.7773, allocations: 0.5484 MB / 0.4989 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.7774, allocations: 42.39 kB / 0.4989 GB, free: 11.11 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.7776, allocations: 283.6 kB / 0.4992 GB, free: 10.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000197/0.7778, allocations: 247.7 kB / 0.4994 GB, free: 10.76 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.7779, allocations: 14.09 kB / 0.4994 GB, free: 10.76 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.778, allocations: 368.6 kB / 0.4998 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006152/0.7787, allocations: 440.9 kB / 0.5002 GB, free: 10.36 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006808/0.7794, allocations: 0.5181 MB / 0.5007 GB, free: 10.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006948/0.7801, allocations: 0.4937 MB / 0.5012 GB, free: 10.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.7801, allocations: 0 / 0.5012 GB, free: 10.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002012/0.7821, allocations: 1.339 MB / 0.5025 GB, free: 9.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7821, allocations: 8.406 kB / 0.5025 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.7822, allocations: 7.984 kB / 0.5025 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005834/0.7827, allocations: 336.5 kB / 0.5028 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.7836, allocations: 176 kB / 0.503 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008393/0.792, allocations: 10.23 MB / 0.513 GB, free: 48 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009141/0.793, allocations: 83.5 kB / 0.5131 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.7931, allocations: 42.52 kB / 0.5131 GB, free: 12 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 8 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007376/0.7939, allocations: 279.3 kB / 0.5134 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003824/0.7943, allocations: 63.84 kB / 0.5134 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002357/0.7966, allocations: 1.284 MB / 0.5147 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-05/0.7967, allocations: 7.938 kB / 0.5147 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.288e-06/0.7967, allocations: 7.938 kB / 0.5147 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/0.7985, allocations: 1.604 MB / 0.5163 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003554/0.8021, allocations: 2.266 MB / 0.5185 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8021, allocations: 8 kB / 0.5185 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.8032, allocations: 218.9 kB / 0.5187 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001967/0.8034, allocations: 69.08 kB / 0.5188 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.241e-05/0.8035, allocations: 46.72 kB / 0.5188 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.8048, allocations: 1.438 MB / 0.5202 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.8049, allocations: 0 / 0.5202 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.8073, allocations: 1.598 MB / 0.5218 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003047/0.8076, allocations: 151.5 kB / 0.5219 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.8077, allocations: 31.61 kB / 0.522 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007786/0.8085, allocations: 71.8 kB / 0.522 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8086, allocations: 56.73 kB / 0.5221 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000146/0.8088, allocations: 60.62 kB / 0.5221 GB, free: 10.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005593/0.8094, allocations: 403.5 kB / 0.5225 GB, free: 9.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8094, allocations: 5.859 kB / 0.5225 GB, free: 9.977 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001717/0.8111, allocations: 348.5 kB / 0.5229 GB, free: 9.66 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/0.8129, allocations: 449.2 kB / 0.5233 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.8154, allocations: 1.867 MB / 0.5251 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.8155, allocations: 0 / 0.5251 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009501/0.8164, allocations: 0.6806 MB / 0.5258 GB, free: 7.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002357/0.8188, allocations: 0.4908 MB / 0.5262 GB, free: 6.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004227/0.823, allocations: 2.557 MB / 0.5287 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006179/0.8237, allocations: 0.977 MB / 0.5297 GB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00119/0.8249, allocations: 265.8 kB / 0.53 GB, free: 3.199 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003222/0.8252, allocations: 94.39 kB / 0.53 GB, free: 3.109 MB / 414.1 MB Notification: Performance of SimCode: time 3.106e-06/0.8252, allocations: 0 / 0.53 GB, free: 3.109 MB / 414.1 MB Notification: Performance of Templates: time 0.04175/0.867, allocations: 24.51 MB / 0.554 GB, free: 10.66 MB / 446.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1)