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.0009527/0.0009529, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008386/0.008386, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.72/1.72, allocations: 205.4 MB / 222.4 MB, free: 5.785 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.3493/0.3493, allocations: 39.99 MB / 310.7 MB, free: 9.426 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.0005789/0.0005788, allocations: 12 kB / 379.5 MB, free: 12.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1228, allocations: 57.97 MB / 437.4 MB, free: 1.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.4131/0.5359, allocations: 175.7 MB / 0.5988 GB, free: 3.711 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008013/0.544, allocations: 5.852 MB / 0.6045 GB, free: 13.85 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.545, allocations: 19.81 kB / 0.6045 GB, free: 13.83 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008799/0.5459, allocations: 274.5 kB / 0.6048 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004212/0.5501, allocations: 1.412 MB / 0.6062 GB, free: 12.16 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.5531, allocations: 1.094 MB / 0.6072 GB, free: 11.07 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002963/0.556, allocations: 2.714 MB / 0.6099 GB, free: 8.352 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006602/0.5567, allocations: 404.2 kB / 0.6103 GB, free: 7.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.5593, allocations: 1.097 MB / 0.6113 GB, free: 6.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.5606, allocations: 0.7705 MB / 0.6121 GB, free: 6.086 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.462e-05/0.5607, allocations: 32 kB / 0.6121 GB, free: 6.055 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001812/0.5625, allocations: 0.6953 MB / 0.6128 GB, free: 5.359 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002735/0.5628, allocations: 239.2 kB / 0.613 GB, free: 5.125 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.5632, allocations: 395.9 kB / 0.6134 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.5653, allocations: 1.379 MB / 0.6148 GB, free: 3.348 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5654, allocations: 0 / 0.6148 GB, free: 3.348 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5654, allocations: 0 / 0.6148 GB, free: 3.348 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.478e-05/0.5654, allocations: 0 / 0.6148 GB, free: 3.348 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.002506/0.5679, allocations: 0.9784 MB / 0.6157 GB, free: 2.316 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.568, allocations: 19.91 kB / 0.6157 GB, free: 2.297 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008592/0.5688, allocations: 131.1 kB / 0.6159 GB, free: 2.168 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000777/0.5696, allocations: 0.5079 MB / 0.6164 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.5697, allocations: 108.4 kB / 0.6165 GB, free: 1.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.25e-05/0.5698, allocations: 51.94 kB / 0.6165 GB, free: 1.449 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.5711, allocations: 0.8136 MB / 0.6173 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.297e-05/0.5712, allocations: 3.938 kB / 0.6173 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.5713, allocations: 27.98 kB / 0.6173 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.952e-05/0.5713, allocations: 36.97 kB / 0.6174 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5724, allocations: 0.6244 MB / 0.618 GB, free: 15.87 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.004492/0.5769, allocations: 3.991 MB / 0.6219 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.5775, allocations: 351.6 kB / 0.6222 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000279/0.5778, allocations: 173.3 kB / 0.6224 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004447/0.5783, allocations: 357.5 kB / 0.6227 GB, free: 10.71 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.5783, allocations: 38.84 kB / 0.6228 GB, free: 10.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.5783, allocations: 0 / 0.6228 GB, free: 10.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.005562/0.5839, allocations: 1.67 MB / 0.6244 GB, free: 8.918 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.584, allocations: 132.5 kB / 0.6245 GB, free: 8.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/0.5847, allocations: 0.6132 MB / 0.6251 GB, free: 8.137 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.19e-05/0.5848, allocations: 33.7 kB / 0.6251 GB, free: 8.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.5851, allocations: 374.8 kB / 0.6255 GB, free: 7.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.5852, allocations: 138 kB / 0.6256 GB, free: 7.59 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.18e-05/0.5853, allocations: 61.69 kB / 0.6257 GB, free: 7.523 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002561/0.5856, allocations: 374.8 kB / 0.626 GB, free: 7.148 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003612/0.586, allocations: 209.8 kB / 0.6262 GB, free: 6.941 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000562/0.5865, allocations: 0.5125 MB / 0.6267 GB, free: 6.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009518/0.5875, allocations: 0.7447 MB / 0.6275 GB, free: 5.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.5875, allocations: 4 kB / 0.6275 GB, free: 5.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001425/0.5889, allocations: 0.8838 MB / 0.6283 GB, free: 4.504 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.589, allocations: 8 kB / 0.6283 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.589, allocations: 18.88 kB / 0.6284 GB, free: 4.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001387/0.5904, allocations: 320.7 kB / 0.6287 GB, free: 4.164 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.5908, allocations: 119.8 kB / 0.6288 GB, free: 4.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/0.5919, allocations: 0.9376 MB / 0.6297 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/0.5924, allocations: 39.98 kB / 0.6297 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.5925, allocations: 67.98 kB / 0.6298 GB, free: 2.98 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.0003801/0.5929, allocations: 250.7 kB / 0.63 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.593, allocations: 75.09 kB / 0.6301 GB, free: 2.652 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.5945, allocations: 0.6751 MB / 0.6308 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.5945, allocations: 4 kB / 0.6308 GB, free: 1.965 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5945, allocations: 3.938 kB / 0.6308 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.5945, allocations: 0 / 0.6308 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002565/0.5971, allocations: 1.606 MB / 0.6323 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.5971, allocations: 7.938 kB / 0.6324 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5982, allocations: 203.8 kB / 0.6326 GB, free: 0 / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2252/0.8235, allocations: 20.66 kB / 0.6326 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.8236, allocations: 23.5 kB / 0.6326 GB, free: 158.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001475/0.8251, allocations: 2.686 MB / 0.6352 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8251, allocations: 2.969 kB / 0.6352 GB, free: 155.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001115/0.8262, allocations: 0.8057 MB / 0.636 GB, free: 155.4 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.8265, allocations: 198.9 kB / 0.6362 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.654e-05/0.8266, allocations: 11.92 kB / 0.6362 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.827, allocations: 22.08 kB / 0.6362 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.909e-05/0.8271, allocations: 42.89 kB / 0.6363 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.8272, allocations: 41.31 kB / 0.6363 GB, free: 155.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.8276, allocations: 444.7 kB / 0.6367 GB, free: 155.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8276, allocations: 0 / 0.6367 GB, free: 155.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009124/0.8285, allocations: 295.3 kB / 0.637 GB, free: 155.2 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.0008229/0.8294, allocations: 361.7 kB / 0.6374 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009989/0.8304, allocations: 0.5468 MB / 0.6379 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.8304, allocations: 2.531 kB / 0.6379 GB, free: 155.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.8313, allocations: 410.2 kB / 0.6383 GB, free: 155 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/0.8331, allocations: 355.4 kB / 0.6386 GB, free: 155 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.8349, allocations: 1.62 MB / 0.6402 GB, free: 154.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.8352, allocations: 0.9372 MB / 0.6411 GB, free: 153.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009589/0.8362, allocations: 257.2 kB / 0.6414 GB, free: 153.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.8365, allocations: 98.98 kB / 0.6415 GB, free: 153.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.22e-07/0.8365, allocations: 0 / 0.6415 GB, free: 153.5 MB / 494.1 MB Notification: Performance of Templates: time 0.02859/0.8651, allocations: 17.66 MB / 0.6587 GB, free: 152.1 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: