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.001084/0.001084, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001627/0.001627, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.3422/0.3422, allocations: 40 MB / 310.4 MB, free: 10.06 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.0008204/0.0008206, allocations: 12 kB / 378.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.122, allocations: 57.95 MB / 436.8 MB, free: 2.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.3768/0.4988, allocations: 163.8 MB / 0.5866 GB, free: 196 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.5073, allocations: 5.461 MB / 0.5919 GB, free: 10.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001032/0.5084, allocations: 19.81 kB / 0.5919 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008583/0.5093, allocations: 262.3 kB / 0.5922 GB, free: 10.45 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003815/0.5131, allocations: 1.363 MB / 0.5935 GB, free: 9.09 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.5158, allocations: 0.9708 MB / 0.5944 GB, free: 8.129 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002352/0.5182, allocations: 2.246 MB / 0.5966 GB, free: 5.879 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005897/0.5188, allocations: 386.7 kB / 0.597 GB, free: 5.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002169/0.521, allocations: 1.047 MB / 0.598 GB, free: 4.453 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.5221, allocations: 0.7278 MB / 0.5987 GB, free: 3.723 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.17e-05/0.5222, allocations: 35.94 kB / 0.5988 GB, free: 3.688 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00144/0.5237, allocations: 0.6006 MB / 0.5994 GB, free: 3.086 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.5239, allocations: 235.3 kB / 0.5996 GB, free: 2.855 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.5241, allocations: 169.3 kB / 0.5997 GB, free: 2.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.5252, allocations: 0.9937 MB / 0.6007 GB, free: 1.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.5252, allocations: 0 / 0.6007 GB, free: 1.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.5252, allocations: 4 kB / 0.6007 GB, free: 1.684 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.5252, allocations: 0 / 0.6007 GB, free: 1.684 MB / 462.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.001869/0.5271, allocations: 0.983 MB / 0.6017 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.5271, allocations: 8.562 kB / 0.6017 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007646/0.5279, allocations: 139.1 kB / 0.6018 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.5286, allocations: 496.7 kB / 0.6023 GB, free: 15.98 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5287, allocations: 104.4 kB / 0.6024 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.204e-05/0.5288, allocations: 51.91 kB / 0.6024 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/0.53, allocations: 0.8097 MB / 0.6032 GB, free: 14.93 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.5301, allocations: 7.891 kB / 0.6032 GB, free: 14.92 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.5301, allocations: 24 kB / 0.6033 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.309e-05/0.5302, allocations: 36.98 kB / 0.6033 GB, free: 14.86 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/0.5312, allocations: 0.6205 MB / 0.6039 GB, free: 14.24 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.004339/0.5356, allocations: 3.977 MB / 0.6078 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.5362, allocations: 355.6 kB / 0.6081 GB, free: 9.66 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.5364, allocations: 169.3 kB / 0.6083 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004152/0.5368, allocations: 365.4 kB / 0.6086 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.5369, allocations: 42.84 kB / 0.6087 GB, free: 9.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 1.993e-06/0.5369, allocations: 0 / 0.6087 GB, free: 9.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.005033/0.5419, allocations: 1.663 MB / 0.6103 GB, free: 7.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/0.542, allocations: 132.5 kB / 0.6104 GB, free: 7.137 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007436/0.5428, allocations: 0.6094 MB / 0.611 GB, free: 6.52 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.007e-05/0.5428, allocations: 45.64 kB / 0.6111 GB, free: 6.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.5432, allocations: 362.9 kB / 0.6114 GB, free: 6.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5433, allocations: 146 kB / 0.6115 GB, free: 5.965 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.5433, allocations: 12 kB / 0.6116 GB, free: 5.953 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.5435, allocations: 374.8 kB / 0.6119 GB, free: 5.578 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.5439, allocations: 193.9 kB / 0.6121 GB, free: 5.387 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005643/0.5444, allocations: 0.5163 MB / 0.6126 GB, free: 4.727 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.5449, allocations: 287.8 kB / 0.6129 GB, free: 4.445 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5449, allocations: 4 kB / 0.6129 GB, free: 4.441 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001398/0.5463, allocations: 0.8804 MB / 0.6137 GB, free: 3.551 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.5463, allocations: 11.94 kB / 0.6138 GB, free: 3.539 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.5464, allocations: 12 kB / 0.6138 GB, free: 3.527 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.5477, allocations: 322.9 kB / 0.6141 GB, free: 3.211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.5481, allocations: 123.8 kB / 0.6142 GB, free: 3.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.5492, allocations: 0.9337 MB / 0.6151 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005023/0.5497, allocations: 47.98 kB / 0.6152 GB, free: 2.086 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.565e-05/0.5498, allocations: 67.98 kB / 0.6152 GB, free: 2.02 MB / 478.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003267/0.5502, allocations: 245.5 kB / 0.6154 GB, free: 1.77 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.5503, allocations: 75.14 kB / 0.6155 GB, free: 1.695 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.5517, allocations: 0.681 MB / 0.6162 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5517, allocations: 4 kB / 0.6162 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.5518, allocations: 0 / 0.6162 GB, free: 0.9961 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.5518, allocations: 3.984 kB / 0.6162 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.5539, allocations: 1.606 MB / 0.6178 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5539, allocations: 2.812 kB / 0.6178 GB, free: 15.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009709/0.5549, allocations: 207.8 kB / 0.618 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-05/0.555, allocations: 24.97 kB / 0.618 GB, free: 15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.555, allocations: 19.98 kB / 0.618 GB, free: 14.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002038/0.5571, allocations: 2.691 MB / 0.6206 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5571, allocations: 0 / 0.6206 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/0.5582, allocations: 0.796 MB / 0.6214 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.5585, allocations: 201.2 kB / 0.6216 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.5586, allocations: 15.89 kB / 0.6216 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003832/0.559, allocations: 27.98 kB / 0.6216 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/0.5591, allocations: 35.95 kB / 0.6217 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/0.5592, allocations: 39.98 kB / 0.6217 GB, free: 10.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005147/0.5597, allocations: 439 kB / 0.6221 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5597, allocations: 0 / 0.6221 GB, free: 10.44 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001137/0.5609, allocations: 291.9 kB / 0.6224 GB, free: 10.16 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 (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000939/0.5618, allocations: 358.7 kB / 0.6228 GB, free: 9.805 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.5629, allocations: 0.5353 MB / 0.6233 GB, free: 9.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5629, allocations: 4 kB / 0.6233 GB, free: 9.266 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.5638, allocations: 422 kB / 0.6237 GB, free: 8.844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.5652, allocations: 339.3 kB / 0.624 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.5675, allocations: 1.558 MB / 0.6255 GB, free: 6.918 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.5681, allocations: 0.93 MB / 0.6264 GB, free: 5.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009826/0.5691, allocations: 258 kB / 0.6267 GB, free: 5.707 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002878/0.5694, allocations: 99.41 kB / 0.6268 GB, free: 5.609 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5694, allocations: 0 / 0.6268 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Templates: time 0.2055/0.7749, allocations: 17.08 MB / 0.6435 GB, free: 155 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: