Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006439/0.006439, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001361/0.001362, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.553/1.553, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.001172/0.001172, allocations: 50.17 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1119, allocations: 46.63 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4779/0.5899, allocations: 175.6 MB / 0.536 GB, free: 260 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005069/0.595, allocations: 3.845 MB / 0.5397 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.5952, allocations: 4 kB / 0.5397 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007075/0.5959, allocations: 230.7 kB / 0.54 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006495/0.5966, allocations: 358.1 kB / 0.5403 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001396/0.598, allocations: 0.5517 MB / 0.5408 GB, free: 11.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001083/0.5991, allocations: 1.107 MB / 0.5419 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002176/0.5993, allocations: 101.4 kB / 0.542 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002905/0.6022, allocations: 1.264 MB / 0.5432 GB, free: 8.797 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005039/0.6028, allocations: 330.8 kB / 0.5436 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.6029, allocations: 44 kB / 0.5436 GB, free: 8.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001056/0.6039, allocations: 451.1 kB / 0.544 GB, free: 7.988 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002349/0.6042, allocations: 235.4 kB / 0.5443 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000343/0.6045, allocations: 310.9 kB / 0.5446 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001242/0.6058, allocations: 1.083 MB / 0.5456 GB, free: 6.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6058, allocations: 0 / 0.5456 GB, free: 6.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.81e-07/0.6058, allocations: 0 / 0.5456 GB, free: 6.367 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.6058, allocations: 3.938 kB / 0.5456 GB, free: 6.363 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001299/0.6071, allocations: 0.803 MB / 0.5464 GB, free: 5.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6072, allocations: 8.031 kB / 0.5464 GB, free: 5.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/0.6078, allocations: 119.5 kB / 0.5465 GB, free: 5.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.6084, allocations: 385 kB / 0.5469 GB, free: 4.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.6084, allocations: 25 kB / 0.5469 GB, free: 4.941 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.6085, allocations: 40 kB / 0.547 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008493/0.6093, allocations: 0.5651 MB / 0.5475 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.6094, allocations: 0 / 0.5475 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.6094, allocations: 24 kB / 0.5475 GB, free: 4.297 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.6095, allocations: 8 kB / 0.5475 GB, free: 4.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/0.6101, allocations: 450.3 kB / 0.548 GB, free: 3.848 MB / 430.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.003536/0.6136, allocations: 2.117 MB / 0.55 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.6139, allocations: 155.1 kB / 0.5502 GB, free: 1.395 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.614, allocations: 81.06 kB / 0.5503 GB, free: 1.312 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.6141, allocations: 7.984 kB / 0.5503 GB, free: 1.305 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.6141, allocations: 38.56 kB / 0.5503 GB, free: 1.258 MB / 430.1 MB Notification: Performance of pre-optimization done (n=18): time 1.393e-06/0.6141, allocations: 0 / 0.5503 GB, free: 1.258 MB / 430.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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=23): time 0.006449/0.6206, allocations: 1.753 MB / 0.552 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.6207, allocations: 59.41 kB / 0.5521 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005379/0.6212, allocations: 481.6 kB / 0.5525 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.926e-05/0.6212, allocations: 33.7 kB / 0.5526 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/0.6215, allocations: 318.3 kB / 0.5529 GB, free: 14.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.6216, allocations: 94.73 kB / 0.553 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.6217, allocations: 122.1 kB / 0.5531 GB, free: 14.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6219, allocations: 350.8 kB / 0.5534 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.6221, allocations: 141.2 kB / 0.5535 GB, free: 13.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.6225, allocations: 436.5 kB / 0.554 GB, free: 13.17 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007033/0.6233, allocations: 0.6052 MB / 0.5545 GB, free: 12.42 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6233, allocations: 4 kB / 0.5546 GB, free: 12.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0009857/0.6243, allocations: 0.6361 MB / 0.5552 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6243, allocations: 8 kB / 0.5552 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.6243, allocations: 12 kB / 0.5552 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001898/0.6245, allocations: 57.69 kB / 0.5552 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004833/0.625, allocations: 140.6 kB / 0.5554 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.6266, allocations: 1.947 MB / 0.5573 GB, free: 9.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.6269, allocations: 23.98 kB / 0.5573 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.627, allocations: 36 kB / 0.5573 GB, free: 9.371 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (73): * Single equations (assignments): 71 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002344/0.6272, allocations: 205.6 kB / 0.5575 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.6273, allocations: 59.28 kB / 0.5576 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005187/0.6278, allocations: 287 kB / 0.5579 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.6279, allocations: 4 kB / 0.5579 GB, free: 8.805 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.6279, allocations: 4 kB / 0.5579 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004679/0.6283, allocations: 0.5316 MB / 0.5584 GB, free: 8.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000921/0.6293, allocations: 0.6985 MB / 0.5591 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6293, allocations: 0 / 0.5591 GB, free: 7.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.6296, allocations: 47.97 kB / 0.5591 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.419e-05/0.6297, allocations: 32.75 kB / 0.5592 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.6297, allocations: 8 kB / 0.5592 GB, free: 7.332 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008498/0.6306, allocations: 1.371 MB / 0.5605 GB, free: 5.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6306, allocations: 7.875 kB / 0.5605 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.6312, allocations: 419.7 kB / 0.5609 GB, free: 5.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.6313, allocations: 116.7 kB / 0.561 GB, free: 5.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.6313, allocations: 7.938 kB / 0.561 GB, free: 5.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.6316, allocations: 8 kB / 0.561 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.6317, allocations: 24.09 kB / 0.5611 GB, free: 5.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.6317, allocations: 8 kB / 0.5611 GB, free: 5.203 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003267/0.632, allocations: 331.1 kB / 0.5614 GB, free: 4.887 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.632, allocations: 0 / 0.5614 GB, free: 4.887 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008137/0.6328, allocations: 211.9 kB / 0.5616 GB, free: 4.68 MB / 446.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.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 (23): * Single equations (assignments): 22 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.6341, allocations: 466.8 kB / 0.562 GB, free: 4.215 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007753/0.6349, allocations: 467.9 kB / 0.5625 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6349, allocations: 0 / 0.5625 GB, free: 3.746 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.6351, allocations: 214.5 kB / 0.5627 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.6363, allocations: 210 kB / 0.5629 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.6377, allocations: 0.8624 MB / 0.5637 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.6381, allocations: 0.8195 MB / 0.5645 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004085/0.6385, allocations: 141.3 kB / 0.5647 GB, free: 1.438 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.881e-05/0.6386, allocations: 43.44 kB / 0.5647 GB, free: 1.395 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6386, allocations: 0 / 0.5647 GB, free: 1.395 MB / 446.1 MB Notification: Performance of Templates: time 0.01974/0.6583, allocations: 12.45 MB / 0.5769 GB, free: 4.898 MB / 462.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & ./Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1)