Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001294/0.001294, allocations: 190.8 kB / 16.14 MB, free: 6.703 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.575/1.575, allocations: 205.1 MB / 222 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3496/0.3496, allocations: 37.98 MB / 307.3 MB, free: 10.11 MB / 254.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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002059/0.002059, allocations: 70.41 kB / 374.6 MB, free: 15.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1284, allocations: 56.47 MB / 431 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3909/0.5194, allocations: 178.1 MB / 0.5949 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.007983/0.5274, allocations: 5.927 MB / 0.6007 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.5286, allocations: 27.75 kB / 0.6007 GB, free: 15.91 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009862/0.5296, allocations: 270.5 kB / 0.6009 GB, free: 15.65 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.5336, allocations: 1.42 MB / 0.6023 GB, free: 14.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002961/0.5366, allocations: 1.098 MB / 0.6034 GB, free: 13.15 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002775/0.5394, allocations: 2.702 MB / 0.606 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006953/0.5401, allocations: 404.3 kB / 0.6064 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.543, allocations: 1.111 MB / 0.6075 GB, free: 8.934 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001355/0.5443, allocations: 0.7705 MB / 0.6083 GB, free: 8.16 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000129/0.5445, allocations: 36 kB / 0.6083 GB, free: 8.125 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.5462, allocations: 0.702 MB / 0.609 GB, free: 7.422 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000281/0.5465, allocations: 235.3 kB / 0.6092 GB, free: 7.191 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000494/0.547, allocations: 374.2 kB / 0.6096 GB, free: 6.824 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001871/0.5489, allocations: 1.391 MB / 0.6109 GB, free: 5.43 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5489, allocations: 3.984 kB / 0.6109 GB, free: 5.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5489, allocations: 0 / 0.6109 GB, free: 5.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.5489, allocations: 0 / 0.6109 GB, free: 5.426 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002729/0.5516, allocations: 1.133 MB / 0.612 GB, free: 4.242 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5517, allocations: 11.97 kB / 0.612 GB, free: 4.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008616/0.5526, allocations: 139 kB / 0.6122 GB, free: 4.094 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008522/0.5534, allocations: 0.5118 MB / 0.6127 GB, free: 3.543 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.5536, allocations: 96.41 kB / 0.6128 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.282e-05/0.5537, allocations: 55.86 kB / 0.6128 GB, free: 3.383 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/0.5549, allocations: 0.8174 MB / 0.6136 GB, free: 2.492 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.555, allocations: 4 kB / 0.6136 GB, free: 2.488 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.412e-05/0.5551, allocations: 24 kB / 0.6136 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.276e-05/0.5551, allocations: 40.92 kB / 0.6137 GB, free: 2.426 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.5562, allocations: 0.6205 MB / 0.6143 GB, free: 1.801 MB / 478.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.004694/0.5609, allocations: 3.98 MB / 0.6182 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005798/0.5615, allocations: 355.7 kB / 0.6185 GB, free: 13.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.5618, allocations: 173.2 kB / 0.6187 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004252/0.5622, allocations: 361.4 kB / 0.619 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5623, allocations: 38.84 kB / 0.6191 GB, free: 12.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.375e-06/0.5623, allocations: 0 / 0.6191 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005822/0.5681, allocations: 1.668 MB / 0.6207 GB, free: 10.86 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.799e-05/0.5682, allocations: 132.5 kB / 0.6208 GB, free: 10.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007363/0.5689, allocations: 0.6171 MB / 0.6214 GB, free: 10.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.569, allocations: 41.7 kB / 0.6215 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.5692, allocations: 362.9 kB / 0.6218 GB, free: 9.664 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5694, allocations: 142 kB / 0.6219 GB, free: 9.523 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.5696, allocations: 154.5 kB / 0.6221 GB, free: 9.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5698, allocations: 374.8 kB / 0.6224 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.5701, allocations: 205.9 kB / 0.6226 GB, free: 8.789 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.5707, allocations: 0.5164 MB / 0.6231 GB, free: 8.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009585/0.5717, allocations: 0.7476 MB / 0.6239 GB, free: 7.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.114e-06/0.5717, allocations: 4 kB / 0.6239 GB, free: 7.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001459/0.5732, allocations: 0.8808 MB / 0.6247 GB, free: 6.344 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5732, allocations: 8 kB / 0.6247 GB, free: 6.336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5732, allocations: 8.906 kB / 0.6248 GB, free: 6.328 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.5747, allocations: 316.5 kB / 0.6251 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/0.575, allocations: 123.8 kB / 0.6252 GB, free: 5.895 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.5763, allocations: 0.9362 MB / 0.6261 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005501/0.5768, allocations: 44.05 kB / 0.6261 GB, free: 4.891 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-05/0.5769, allocations: 63.98 kB / 0.6262 GB, free: 4.828 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003355/0.5773, allocations: 246 kB / 0.6264 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.5774, allocations: 67.19 kB / 0.6265 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001464/0.5789, allocations: 0.6883 MB / 0.6272 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.5789, allocations: 4 kB / 0.6272 GB, free: 3.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5789, allocations: 4 kB / 0.6272 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5789, allocations: 0 / 0.6272 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.581, allocations: 1.607 MB / 0.6287 GB, free: 2.047 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.581, allocations: 3.938 kB / 0.6287 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.5821, allocations: 207.9 kB / 0.6289 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.068e-05/0.5822, allocations: 24.84 kB / 0.629 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.287e-05/0.5822, allocations: 20 kB / 0.629 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1743/0.7566, allocations: 2.676 MB / 0.6316 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7566, allocations: 0 / 0.6316 GB, free: 161.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.7579, allocations: 0.8161 MB / 0.6324 GB, free: 161.5 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.7582, allocations: 193.1 kB / 0.6326 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.412e-05/0.7583, allocations: 6.625 kB / 0.6326 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004161/0.7587, allocations: 29.42 kB / 0.6326 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.7588, allocations: 40.66 kB / 0.6327 GB, free: 161.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.7589, allocations: 45.69 kB / 0.6327 GB, free: 161.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004282/0.7593, allocations: 438.6 kB / 0.6331 GB, free: 161.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.7593, allocations: 0 / 0.6331 GB, free: 161.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008962/0.7602, allocations: 301.4 kB / 0.6334 GB, free: 161.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0008406/0.7611, allocations: 355.6 kB / 0.6337 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.7621, allocations: 0.5442 MB / 0.6343 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.7621, allocations: 0 / 0.6343 GB, free: 161.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009039/0.763, allocations: 417.1 kB / 0.6347 GB, free: 161.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.7646, allocations: 349.7 kB / 0.635 GB, free: 161.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.7664, allocations: 1.538 MB / 0.6365 GB, free: 160.5 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.7667, allocations: 0.9308 MB / 0.6374 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009511/0.7676, allocations: 266.8 kB / 0.6377 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002863/0.7679, allocations: 94.55 kB / 0.6378 GB, free: 159.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.874e-06/0.7679, allocations: 0 / 0.6378 GB, free: 159.8 MB / 494.1 MB Notification: Performance of Templates: time 0.02328/0.7912, allocations: 17.76 MB / 0.6551 GB, free: 158.4 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)