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.007422/0.007422, allocations: 103.8 kB / 15.73 MB, free: 6.043 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.001381/0.001381, allocations: 189 kB / 16.67 MB, free: 5.961 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.3374/0.3374, allocations: 39.94 MB / 309.8 MB, free: 9.305 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.001765/0.001765, allocations: 79.89 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2933, allocations: 56.86 MB / 492.7 MB, free: 19.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5445/0.8378, allocations: 179.7 MB / 0.6566 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008277/0.8462, allocations: 5.75 MB / 0.6622 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.8471, allocations: 20.56 kB / 0.6622 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.8482, allocations: 310.8 kB / 0.6625 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005445/0.8537, allocations: 1.578 MB / 0.6641 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004276/0.858, allocations: 1.241 MB / 0.6653 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003325/0.8613, allocations: 1.855 MB / 0.6671 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007179/0.8621, allocations: 464.7 kB / 0.6675 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003305/0.8654, allocations: 1.231 MB / 0.6687 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001844/0.8672, allocations: 0.7536 MB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001703/0.8674, allocations: 61.12 kB / 0.6695 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002741/0.8702, allocations: 0.8281 MB / 0.6703 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003451/0.8705, allocations: 262.2 kB / 0.6706 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005436/0.8711, allocations: 397.1 kB / 0.671 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002286/0.8734, allocations: 1.423 MB / 0.6723 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.8734, allocations: 0 / 0.6723 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8734, allocations: 1.688 kB / 0.6723 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.8734, allocations: 0 / 0.6723 GB, free: 1.207 MB / 0.4981 GB 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.002621/0.8761, allocations: 1.133 MB / 0.6735 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.8761, allocations: 13.08 kB / 0.6735 GB, free: 16.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/0.8769, allocations: 136.2 kB / 0.6736 GB, free: 16.55 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009248/0.8778, allocations: 0.5293 MB / 0.6741 GB, free: 16.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.878, allocations: 105 kB / 0.6742 GB, free: 16.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.8781, allocations: 50.06 kB / 0.6743 GB, free: 16.21 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.8793, allocations: 0.8161 MB / 0.6751 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.8794, allocations: 4.219 kB / 0.6751 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.692e-05/0.8794, allocations: 25.25 kB / 0.6751 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.8795, allocations: 39.3 kB / 0.6751 GB, free: 16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.8806, allocations: 0.6164 MB / 0.6757 GB, free: 15.99 MB / 0.5137 GB 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.004391/0.885, allocations: 3.982 MB / 0.6796 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.8855, allocations: 360.9 kB / 0.68 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002298/0.8857, allocations: 175.6 kB / 0.6801 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000427/0.8862, allocations: 354.4 kB / 0.6805 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.8862, allocations: 37.88 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.803e-06/0.8862, allocations: 1.703 kB / 0.6805 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.00527/0.8915, allocations: 1.667 MB / 0.6821 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.8916, allocations: 136.3 kB / 0.6823 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006913/0.8923, allocations: 0.6093 MB / 0.6829 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.8924, allocations: 35.89 kB / 0.6829 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.8926, allocations: 367.3 kB / 0.6832 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.8927, allocations: 150.4 kB / 0.6834 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002216/0.893, allocations: 158 kB / 0.6835 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.8931, allocations: 379.9 kB / 0.6839 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.8935, allocations: 205.4 kB / 0.6841 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/0.894, allocations: 0.5101 MB / 0.6846 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008461/0.8948, allocations: 0.7488 MB / 0.6853 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.8948, allocations: 6.312 kB / 0.6853 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001374/0.8962, allocations: 0.8742 MB / 0.6862 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.8963, allocations: 9.531 kB / 0.6862 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/0.8963, allocations: 11.59 kB / 0.6862 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001348/0.8976, allocations: 316.2 kB / 0.6865 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.898, allocations: 122.7 kB / 0.6866 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001007/0.899, allocations: 0.9358 MB / 0.6875 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000505/0.8996, allocations: 25.92 kB / 0.6876 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.928e-05/0.8996, allocations: 69.11 kB / 0.6876 GB, free: 10.19 MB / 0.5137 GB 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.0003557/0.9, allocations: 242.5 kB / 0.6879 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.9001, allocations: 67.62 kB / 0.6879 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.9014, allocations: 0.6784 MB / 0.6886 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.9014, allocations: 6.156 kB / 0.6886 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9014, allocations: 0 / 0.6886 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.9014, allocations: 2.578 kB / 0.6886 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.9036, allocations: 1.608 MB / 0.6902 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9036, allocations: 3.812 kB / 0.6902 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/0.9046, allocations: 204.9 kB / 0.6904 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-05/0.9047, allocations: 32.89 kB / 0.6904 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.521e-05/0.9047, allocations: 28.62 kB / 0.6904 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/0.9068, allocations: 2.869 MB / 0.6932 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9068, allocations: 9.312 kB / 0.6932 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.908, allocations: 0.8076 MB / 0.694 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.9083, allocations: 193 kB / 0.6942 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.633e-05/0.9084, allocations: 11.41 kB / 0.6942 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.9088, allocations: 19.73 kB / 0.6942 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.9089, allocations: 37.47 kB / 0.6943 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.909, allocations: 44.34 kB / 0.6943 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005261/0.9095, allocations: 435.2 kB / 0.6947 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9095, allocations: 0 / 0.6947 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001045/0.9106, allocations: 298.7 kB / 0.695 GB, free: 5.977 MB / 0.5137 GB 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.0009073/0.9115, allocations: 382.4 kB / 0.6954 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001068/0.9126, allocations: 0.5374 MB / 0.6959 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.9126, allocations: 1.094 kB / 0.6959 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000924/0.9135, allocations: 422.2 kB / 0.6963 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.9151, allocations: 369.6 kB / 0.6967 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.9171, allocations: 1.309 MB / 0.6979 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.9177, allocations: 0.9305 MB / 0.6988 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007573/0.9185, allocations: 265.1 kB / 0.6991 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/0.9187, allocations: 98.55 kB / 0.6992 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of SimCode: time 2.51e-07/0.9187, allocations: 0 / 0.6992 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of Templates: time 0.03042/0.9491, allocations: 18.71 MB / 0.7175 GB, free: 7.891 MB / 0.5294 GB 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)