Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008278, allocations: 92 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.0008195/0.0008197, 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1951, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3258/0.5209, allocations: 136.6 MB / 463 MB, free: 1.984 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.5221, allocations: 0.9057 MB / 463.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.67e-05/0.5222, allocations: 0 / 463.9 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.5223, allocations: 31.62 kB / 464 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005689/0.5229, allocations: 202.9 kB / 464.2 MB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.5232, allocations: 93.84 kB / 464.3 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002434/0.5235, allocations: 181.5 kB / 464.4 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.746e-05/0.5235, allocations: 7.562 kB / 464.4 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.5237, allocations: 84.14 kB / 464.5 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.5238, allocations: 51.45 kB / 464.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.852e-05/0.5239, allocations: 3.281 kB / 464.6 MB, free: 1.953 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005794/0.5244, allocations: 265.5 kB / 464.8 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.5245, allocations: 24.52 kB / 464.9 MB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.5246, allocations: 42.8 kB / 464.9 MB, free: 1.918 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003243/0.5249, allocations: 202 kB / 465.1 MB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.5249, allocations: 0 / 465.1 MB, free: 1.906 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5249, allocations: 4 kB / 465.1 MB, free: 1.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.5249, allocations: 0.6875 kB / 465.1 MB, free: 1.902 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005834/0.5255, allocations: 383.2 kB / 465.5 MB, free: 17.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.5256, allocations: 8.75 kB / 465.5 MB, free: 17.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001872/0.5274, allocations: 190.9 kB / 465.7 MB, free: 17.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5277, allocations: 217.5 kB / 465.9 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.5277, allocations: 5.812 kB / 465.9 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.5278, allocations: 7.812 kB / 465.9 MB, free: 17.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.5283, allocations: 226.2 kB / 466.1 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.5283, allocations: 1.75 kB / 466.1 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.5283, allocations: 2.156 kB / 466.1 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.5283, allocations: 1.969 kB / 466.1 MB, free: 17.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004/0.5287, allocations: 175.9 kB / 466.3 MB, free: 17.25 MB / 398.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.0009068/0.5297, allocations: 0.5742 MB / 466.9 MB, free: 16.79 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003079/0.53, allocations: 144.5 kB / 467 MB, free: 16.76 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001289/0.5301, allocations: 73.7 kB / 467.1 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.5301, allocations: 2.031 kB / 467.1 MB, free: 16.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.5302, allocations: 38.81 kB / 467.1 MB, free: 16.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.5302, allocations: 0.9688 kB / 467.1 MB, free: 16.71 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00444/0.5346, allocations: 1.308 MB / 468.4 MB, free: 16.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.5347, allocations: 54.09 kB / 468.5 MB, free: 16.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.5348, allocations: 112.8 kB / 468.6 MB, free: 16.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.5348, allocations: 33.64 kB / 468.6 MB, free: 16.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.037e-05/0.5348, allocations: 91.33 kB / 468.7 MB, free: 15.92 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.5349, allocations: 73.78 kB / 468.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.661e-05/0.5349, allocations: 5.5 kB / 468.8 MB, free: 15.88 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.535, allocations: 320.5 kB / 469.1 MB, free: 15.56 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.5351, allocations: 69.83 kB / 469.2 MB, free: 15.56 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.5353, allocations: 98.02 kB / 469.3 MB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.5354, allocations: 80.7 kB / 469.3 MB, free: 15.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5354, allocations: 7.328 kB / 469.4 MB, free: 15.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004118/0.5359, allocations: 253.6 kB / 469.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.5359, allocations: 3.531 kB / 469.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.5359, allocations: 1.75 kB / 469.6 MB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.5361, allocations: 52.25 kB / 469.7 MB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.5363, allocations: 57.17 kB / 469.7 MB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003419/0.5367, allocations: 0.5655 MB / 470.3 MB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.5369, allocations: 10.59 kB / 470.3 MB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.5369, allocations: 32.33 kB / 470.3 MB, free: 14.94 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001039/0.537, allocations: 130.8 kB / 470.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.5371, allocations: 7.281 kB / 470.5 MB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007138/0.5378, allocations: 340.5 kB / 470.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5378, allocations: 5.672 kB / 470.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5378, allocations: 0 / 470.8 MB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.5378, allocations: 7.141 kB / 470.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007966/0.5386, allocations: 0.6232 MB / 471.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5386, allocations: 0 / 471.4 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.539, allocations: 61.83 kB / 471.5 MB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.02e-05/0.539, allocations: 27.72 kB / 471.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.5391, allocations: 13.61 kB / 471.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007385/0.5398, allocations: 1.266 MB / 472.8 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5398, allocations: 4.156 kB / 472.8 MB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005496/0.5404, allocations: 433.2 kB / 473.2 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.071e-05/0.5404, allocations: 91.45 kB / 473.3 MB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.5405, allocations: 16.97 kB / 473.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.5407, allocations: 9.703 kB / 473.3 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.5407, allocations: 21.56 kB / 473.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/0.5408, allocations: 26.11 kB / 473.4 MB, free: 12.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.767e-05/0.5408, allocations: 88.3 kB / 473.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5408, allocations: 0 / 473.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003807/0.5412, allocations: 82.17 kB / 473.5 MB, free: 12.76 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (21): * Single equations (assignments): 20 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000305/0.5415, allocations: 157.6 kB / 473.7 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.5419, allocations: 199.3 kB / 473.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5419, allocations: 0 / 473.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000274/0.5422, allocations: 220.3 kB / 474.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004126/0.5426, allocations: 47.7 kB / 474.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006739/0.5433, allocations: 0.5671 MB / 474.7 MB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.5436, allocations: 0.7049 MB / 475.4 MB, free: 11.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004234/0.544, allocations: 75.17 kB / 475.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001871/0.5442, allocations: 58.14 kB / 475.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5442, allocations: 2.906 kB / 475.6 MB, free: 11.46 MB / 398.1 MB Notification: Performance of Templates: time 0.007868/0.5521, allocations: 5.408 MB / 481 MB, free: 11.11 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)