Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001186/0.001186, allocations: 111.3 kB / 15.34 MB, free: 0.5117 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.002126/0.002126, allocations: 185.8 kB / 16.25 MB, free: 6.137 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.613/1.613, allocations: 205.1 MB / 222.1 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3489/0.3489, allocations: 39.93 MB / 309.4 MB, free: 9.012 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.2. 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.001425/0.001425, allocations: 59.91 kB / 377.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 56.88 MB / 434 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4238/0.5405, allocations: 177.9 MB / 0.5975 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008453/0.549, allocations: 5.81 MB / 0.6032 GB, free: 11.76 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.5502, allocations: 27.75 kB / 0.6032 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.5513, allocations: 282.5 kB / 0.6035 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004029/0.5553, allocations: 1.456 MB / 0.6049 GB, free: 10 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003018/0.5583, allocations: 1.149 MB / 0.6061 GB, free: 8.867 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002473/0.5608, allocations: 1.852 MB / 0.6079 GB, free: 7.012 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006695/0.5615, allocations: 459.2 kB / 0.6083 GB, free: 6.562 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002942/0.5645, allocations: 1.214 MB / 0.6095 GB, free: 5.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.5658, allocations: 0.7784 MB / 0.6102 GB, free: 4.566 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.5659, allocations: 64 kB / 0.6103 GB, free: 4.504 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.5674, allocations: 0.7504 MB / 0.611 GB, free: 3.754 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.5677, allocations: 267.3 kB / 0.6113 GB, free: 3.492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004166/0.5681, allocations: 398.2 kB / 0.6117 GB, free: 3.102 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.5699, allocations: 1.426 MB / 0.6131 GB, free: 1.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5699, allocations: 3.938 kB / 0.6131 GB, free: 1.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5699, allocations: 0 / 0.6131 GB, free: 1.668 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5699, allocations: 0 / 0.6131 GB, free: 1.668 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.002155/0.5721, allocations: 1.131 MB / 0.6142 GB, free: 496 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5722, allocations: 15.89 kB / 0.6142 GB, free: 480 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008152/0.573, allocations: 139.1 kB / 0.6143 GB, free: 340 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007456/0.5737, allocations: 0.5043 MB / 0.6148 GB, free: 15.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.5739, allocations: 100.4 kB / 0.6149 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.963e-05/0.574, allocations: 51.98 kB / 0.615 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001199/0.5752, allocations: 0.8252 MB / 0.6158 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.5752, allocations: 7.984 kB / 0.6158 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.362e-05/0.5753, allocations: 20 kB / 0.6158 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.5753, allocations: 40.98 kB / 0.6158 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/0.5763, allocations: 0.6196 MB / 0.6164 GB, free: 14.04 MB / 494.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.004351/0.5807, allocations: 3.983 MB / 0.6203 GB, free: 9.809 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005706/0.5813, allocations: 355.6 kB / 0.6207 GB, free: 9.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.5816, allocations: 165.3 kB / 0.6208 GB, free: 9.289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004808/0.5821, allocations: 365.4 kB / 0.6212 GB, free: 8.879 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.5821, allocations: 46.78 kB / 0.6212 GB, free: 8.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.114e-06/0.5821, allocations: 0 / 0.6212 GB, free: 8.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005482/0.5876, allocations: 1.66 MB / 0.6228 GB, free: 7.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.5877, allocations: 136.5 kB / 0.623 GB, free: 6.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.5885, allocations: 0.6132 MB / 0.6236 GB, free: 6.309 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.175e-05/0.5885, allocations: 33.7 kB / 0.6236 GB, free: 6.27 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.5888, allocations: 374.8 kB / 0.624 GB, free: 5.898 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.5889, allocations: 142.1 kB / 0.6241 GB, free: 5.758 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002129/0.5891, allocations: 154.5 kB / 0.6242 GB, free: 5.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.5893, allocations: 378.8 kB / 0.6246 GB, free: 5.223 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.5897, allocations: 201.9 kB / 0.6248 GB, free: 5.023 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005695/0.5903, allocations: 0.5047 MB / 0.6253 GB, free: 4.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000942/0.5912, allocations: 0.7524 MB / 0.626 GB, free: 3.484 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5912, allocations: 4 kB / 0.626 GB, free: 3.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001381/0.5926, allocations: 0.8799 MB / 0.6269 GB, free: 2.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.5927, allocations: 12 kB / 0.6269 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.5927, allocations: 9.688 kB / 0.6269 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.594, allocations: 316.6 kB / 0.6272 GB, free: 2.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.5944, allocations: 127.8 kB / 0.6273 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001006/0.5954, allocations: 0.9313 MB / 0.6282 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005849/0.596, allocations: 47.97 kB / 0.6283 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.5961, allocations: 68 kB / 0.6283 GB, free: 1.07 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.0003533/0.5965, allocations: 242.1 kB / 0.6286 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001249/0.5966, allocations: 75.09 kB / 0.6287 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/0.5981, allocations: 0.6761 MB / 0.6293 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5981, allocations: 4 kB / 0.6293 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5981, allocations: 0 / 0.6293 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.136e-06/0.5981, allocations: 3.984 kB / 0.6293 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2143/0.8124, allocations: 1.601 MB / 0.6309 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.8124, allocations: 2.844 kB / 0.6309 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009611/0.8134, allocations: 211.1 kB / 0.6311 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-05/0.8135, allocations: 24.91 kB / 0.6311 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.103e-05/0.8135, allocations: 27.31 kB / 0.6311 GB, free: 161.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001346/0.8149, allocations: 2.877 MB / 0.6339 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8149, allocations: 0 / 0.6339 GB, free: 158.3 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009993/0.8159, allocations: 0.8133 MB / 0.6347 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002659/0.8162, allocations: 188.7 kB / 0.6349 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.8163, allocations: 15.03 kB / 0.6349 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.8167, allocations: 28.17 kB / 0.635 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.73e-05/0.8168, allocations: 40.02 kB / 0.635 GB, free: 158 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.705e-05/0.8169, allocations: 39.02 kB / 0.635 GB, free: 158 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004294/0.8173, allocations: 438.7 kB / 0.6355 GB, free: 158 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.8173, allocations: 0.5625 kB / 0.6355 GB, free: 158 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0008771/0.8182, allocations: 301.4 kB / 0.6357 GB, free: 158 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.0008494/0.819, allocations: 372.2 kB / 0.6361 GB, free: 157.9 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.8202, allocations: 0.5862 MB / 0.6367 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.8202, allocations: 3.406 kB / 0.6367 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008611/0.8211, allocations: 415.2 kB / 0.6371 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/0.8226, allocations: 374.9 kB / 0.6374 GB, free: 157.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.8244, allocations: 1.536 MB / 0.6389 GB, free: 156.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.8247, allocations: 0.9298 MB / 0.6398 GB, free: 156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009617/0.8257, allocations: 267.6 kB / 0.6401 GB, free: 156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.826, allocations: 103.5 kB / 0.6402 GB, free: 156 MB / 494.1 MB Notification: Performance of SimCode: time 4.1e-07/0.826, allocations: 0 / 0.6402 GB, free: 156 MB / 494.1 MB Notification: Performance of Templates: time 0.02625/0.8522, allocations: 18.27 MB / 0.658 GB, free: 154.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1)