Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001381, allocations: 108 kB / 15.6 MB, free: 132 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.001498/0.001498, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.505/1.505, allocations: 205.1 MB / 222.4 MB, free: 4.559 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.00125/0.00125, allocations: 55.92 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 46.64 MB / 325.3 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4613/0.7567, allocations: 172.7 MB / 498 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.7602, allocations: 3.21 MB / 0.4895 GB, free: 32 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.7605, allocations: 12.81 kB / 0.4895 GB, free: 28 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.7612, allocations: 168.4 kB / 0.4897 GB, free: 24 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008326/0.7621, allocations: 410.3 kB / 0.4901 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008163/0.7629, allocations: 331.5 kB / 0.4904 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.7637, allocations: 0.9026 MB / 0.4913 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.7639, allocations: 105.6 kB / 0.4914 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002156/0.7661, allocations: 0.7951 MB / 0.4921 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000384/0.7665, allocations: 270.3 kB / 0.4924 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.102e-05/0.7665, allocations: 32 kB / 0.4924 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003569/0.7669, allocations: 127.7 kB / 0.4925 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.7671, allocations: 90.34 kB / 0.4926 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002479/0.7673, allocations: 186.6 kB / 0.4928 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000708/0.768, allocations: 0.511 MB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.768, allocations: 0 / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.7681, allocations: 2.125 kB / 0.4933 GB, free: 15.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.7681, allocations: 1.094 kB / 0.4933 GB, free: 15.91 MB / 398.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.0009413/0.769, allocations: 0.5847 MB / 0.4939 GB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7691, allocations: 12.61 kB / 0.4939 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003372/0.7694, allocations: 43.14 kB / 0.4939 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.7698, allocations: 295.5 kB / 0.4942 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.7698, allocations: 14.69 kB / 0.4942 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.351e-05/0.7699, allocations: 23.34 kB / 0.4942 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000448/0.7703, allocations: 317.9 kB / 0.4946 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.7704, allocations: 6.281 kB / 0.4946 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.7704, allocations: 23.39 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.7704, allocations: 5.969 kB / 0.4946 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000321/0.7707, allocations: 207 kB / 0.4948 GB, free: 15.12 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.001783/0.7725, allocations: 1.59 MB / 0.4963 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/0.7728, allocations: 169.7 kB / 0.4965 GB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.773, allocations: 100.8 kB / 0.4966 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.7731, allocations: 9.062 kB / 0.4966 GB, free: 13.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.7731, allocations: 42.44 kB / 0.4966 GB, free: 13.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.7731, allocations: 3.938 kB / 0.4966 GB, free: 13.84 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.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005876/0.779, allocations: 1.609 MB / 0.4982 GB, free: 13.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.779, allocations: 54.06 kB / 0.4983 GB, free: 13.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.7793, allocations: 249.9 kB / 0.4985 GB, free: 12.94 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.48e-05/0.7794, allocations: 33.05 kB / 0.4985 GB, free: 12.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.7795, allocations: 184.3 kB / 0.4987 GB, free: 12.78 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.837e-05/0.7796, allocations: 94.08 kB / 0.4988 GB, free: 12.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.7797, allocations: 86.2 kB / 0.4989 GB, free: 12.7 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7798, allocations: 339.4 kB / 0.4992 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.78, allocations: 88.97 kB / 0.4993 GB, free: 12.38 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.7802, allocations: 187.3 kB / 0.4995 GB, free: 12.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003843/0.7806, allocations: 306.3 kB / 0.4998 GB, free: 12.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.7806, allocations: 2.594 kB / 0.4998 GB, free: 12.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006067/0.7812, allocations: 399.9 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7813, allocations: 6.375 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7813, allocations: 2.812 kB / 0.5002 GB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002263/0.7815, allocations: 69.28 kB / 0.5002 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.7819, allocations: 90.06 kB / 0.5003 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.7836, allocations: 1.944 MB / 0.5022 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.7838, allocations: 14.2 kB / 0.5022 GB, free: 10.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.7839, allocations: 37.59 kB / 0.5023 GB, free: 10.19 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0002028/0.7841, allocations: 158.1 kB / 0.5024 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.7842, allocations: 30.09 kB / 0.5024 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009757/0.7851, allocations: 443.7 kB / 0.5029 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.7852, allocations: 3.828 kB / 0.5029 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.7852, allocations: 4.156 kB / 0.5029 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006191/0.7858, allocations: 0.5618 MB / 0.5034 GB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001202/0.787, allocations: 0.7213 MB / 0.5041 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.787, allocations: 1.547 kB / 0.5041 GB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003084/0.7873, allocations: 78.23 kB / 0.5042 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.004e-05/0.7874, allocations: 20.59 kB / 0.5042 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.7875, allocations: 12.61 kB / 0.5042 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/0.7884, allocations: 1.38 MB / 0.5056 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7884, allocations: 1.203 kB / 0.5056 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006137/0.789, allocations: 481.4 kB / 0.506 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.7e-05/0.7891, allocations: 106.8 kB / 0.5061 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.7892, allocations: 10.31 kB / 0.5062 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.7894, allocations: 9.844 kB / 0.5062 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.7894, allocations: 24.31 kB / 0.5062 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.7895, allocations: 36.28 kB / 0.5062 GB, free: 7.5 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000184/0.7897, allocations: 188 kB / 0.5064 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7897, allocations: 2.531 kB / 0.5064 GB, free: 7.422 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005205/0.7902, allocations: 123.5 kB / 0.5065 GB, free: 7.414 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.0004047/0.7906, allocations: 156.8 kB / 0.5067 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007223/0.7914, allocations: 389.2 kB / 0.507 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7914, allocations: 4.25 kB / 0.507 GB, free: 7.195 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.7917, allocations: 230.7 kB / 0.5073 GB, free: 7.082 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.7927, allocations: 169.5 kB / 0.5074 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.7939, allocations: 0.7021 MB / 0.5081 GB, free: 6.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.7943, allocations: 0.7624 MB / 0.5089 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005842/0.7949, allocations: 110.9 kB / 0.509 GB, free: 5.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.7951, allocations: 77.03 kB / 0.509 GB, free: 5.902 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.7951, allocations: 0 / 0.509 GB, free: 5.902 MB / 398.1 MB Notification: Performance of Templates: time 0.01563/0.8107, allocations: 8.707 MB / 0.5175 GB, free: 484 kB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)