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.007695/0.007695, allocations: 103.4 kB / 15.73 MB, free: 6.051 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.00179/0.00179, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.476/1.476, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3106/0.3106, allocations: 37.99 MB / 307.9 MB, free: 10.44 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.00149/0.00149, allocations: 71.91 kB / 433 MB, free: 5.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2845, allocations: 56.46 MB / 489.5 MB, free: 19.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5137/0.7982, allocations: 179.7 MB / 0.6535 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008062/0.8063, allocations: 5.75 MB / 0.6591 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008377/0.8073, allocations: 21.59 kB / 0.6591 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.8083, allocations: 317.3 kB / 0.6594 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.813, allocations: 1.574 MB / 0.6609 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003631/0.8167, allocations: 1.237 MB / 0.6621 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.8198, allocations: 1.84 MB / 0.6639 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.8209, allocations: 468.7 kB / 0.6644 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.8253, allocations: 1.235 MB / 0.6656 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002082/0.8274, allocations: 0.7528 MB / 0.6663 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.8276, allocations: 61.38 kB / 0.6664 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003137/0.8307, allocations: 0.8256 MB / 0.6672 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004399/0.8312, allocations: 264.5 kB / 0.6674 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008016/0.832, allocations: 399.4 kB / 0.6678 GB, free: 1.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.8351, allocations: 1.423 MB / 0.6692 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.8351, allocations: 1 kB / 0.6692 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8351, allocations: 0.7812 kB / 0.6692 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.405e-05/0.8352, allocations: 0 / 0.6692 GB, free: 1.297 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.003047/0.8382, allocations: 1.132 MB / 0.6703 GB, free: 16.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.8383, allocations: 13.48 kB / 0.6703 GB, free: 16.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009506/0.8392, allocations: 132.8 kB / 0.6705 GB, free: 16.64 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.8404, allocations: 0.532 MB / 0.671 GB, free: 16.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/0.8406, allocations: 101.6 kB / 0.6711 GB, free: 16.31 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.8408, allocations: 51.98 kB / 0.6711 GB, free: 16.3 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/0.8423, allocations: 0.8167 MB / 0.6719 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.32e-05/0.8424, allocations: 5.469 kB / 0.6719 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-05/0.8425, allocations: 24.72 kB / 0.672 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.391e-05/0.8425, allocations: 38.09 kB / 0.672 GB, free: 16.08 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.8437, allocations: 0.6175 MB / 0.6726 GB, free: 16.07 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.005605/0.8493, allocations: 3.992 MB / 0.6765 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.8499, allocations: 358.8 kB / 0.6768 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002742/0.8502, allocations: 172 kB / 0.677 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004442/0.8506, allocations: 362.5 kB / 0.6773 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.8507, allocations: 38.62 kB / 0.6774 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.8507, allocations: 0 / 0.6774 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=39): time 0.005981/0.8567, allocations: 1.656 MB / 0.679 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.931e-05/0.8568, allocations: 134.1 kB / 0.6791 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008661/0.8577, allocations: 0.616 MB / 0.6797 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-05/0.8577, allocations: 33.7 kB / 0.6798 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/0.858, allocations: 372.2 kB / 0.6801 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001242/0.8582, allocations: 144.5 kB / 0.6802 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.8584, allocations: 154.7 kB / 0.6804 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002069/0.8586, allocations: 380.1 kB / 0.6808 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003912/0.859, allocations: 202.1 kB / 0.681 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000583/0.8596, allocations: 0.5147 MB / 0.6815 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009006/0.8605, allocations: 0.7479 MB / 0.6822 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.8605, allocations: 3.219 kB / 0.6822 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001419/0.862, allocations: 0.8815 MB / 0.683 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.862, allocations: 10.03 kB / 0.6831 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.862, allocations: 16 kB / 0.6831 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.8633, allocations: 313.6 kB / 0.6834 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.8637, allocations: 121.6 kB / 0.6835 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001044/0.8648, allocations: 0.9278 MB / 0.6844 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.8654, allocations: 25.7 kB / 0.6844 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.8655, allocations: 66.27 kB / 0.6845 GB, free: 10.27 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.0004287/0.8659, allocations: 239.6 kB / 0.6847 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.8661, allocations: 70.34 kB / 0.6848 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001411/0.8676, allocations: 0.6816 MB / 0.6854 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8676, allocations: 4.812 kB / 0.6854 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.8676, allocations: 0.9062 kB / 0.6854 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.8676, allocations: 7.359 kB / 0.6855 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002513/0.8701, allocations: 1.616 MB / 0.687 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.8701, allocations: 1.031 kB / 0.687 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.8711, allocations: 212.2 kB / 0.6872 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.262e-05/0.8713, allocations: 25.75 kB / 0.6873 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.49e-05/0.8713, allocations: 24.98 kB / 0.6873 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002476/0.8738, allocations: 2.866 MB / 0.6901 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.8738, allocations: 5.719 kB / 0.6901 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.8752, allocations: 0.8059 MB / 0.6909 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.8756, allocations: 197.5 kB / 0.6911 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.8757, allocations: 11.02 kB / 0.6911 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.8761, allocations: 16.11 kB / 0.6911 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.8762, allocations: 37.23 kB / 0.6911 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.28e-05/0.8763, allocations: 46.86 kB / 0.6912 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006074/0.8769, allocations: 438.5 kB / 0.6916 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8769, allocations: 1.031 kB / 0.6916 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001309/0.8782, allocations: 291.9 kB / 0.6919 GB, free: 6.059 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.001295/0.8795, allocations: 385 kB / 0.6922 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00136/0.8809, allocations: 0.5362 MB / 0.6928 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/0.8809, allocations: 0.9688 kB / 0.6928 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/0.8819, allocations: 425.5 kB / 0.6932 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.8837, allocations: 376.1 kB / 0.6935 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.8863, allocations: 1.307 MB / 0.6948 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006232/0.887, allocations: 0.9346 MB / 0.6957 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009213/0.8879, allocations: 260.5 kB / 0.696 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.8882, allocations: 104.1 kB / 0.6961 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.8882, allocations: 0 / 0.6961 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of Templates: time 0.03804/0.9262, allocations: 18.7 MB / 0.7143 GB, free: 9.047 MB / 0.5294 GB 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)