Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001363/0.001363, allocations: 105.4 kB / 17.06 MB, free: 5.789 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.001542/0.001542, allocations: 198.9 kB / 18 MB, free: 4.93 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.369/1.369, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.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.001376/0.001376, allocations: 47.94 kB / 327.9 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0848/0.08619, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3226/0.4088, allocations: 150.6 MB / 0.5128 GB, free: 8.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001178/0.41, allocations: 0.9715 MB / 0.5137 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.4101, allocations: 0 / 0.5137 GB, free: 7.594 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.4104, allocations: 31.77 kB / 0.5137 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005628/0.4109, allocations: 242.7 kB / 0.514 GB, free: 7.324 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.4113, allocations: 120.3 kB / 0.5141 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002059/0.4115, allocations: 175.3 kB / 0.5143 GB, free: 7.035 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.4115, allocations: 4 kB / 0.5143 GB, free: 7.031 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001814/0.4117, allocations: 91.56 kB / 0.5143 GB, free: 6.941 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.917e-05/0.4118, allocations: 47.83 kB / 0.5144 GB, free: 6.895 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.4119, allocations: 4 kB / 0.5144 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004584/0.4123, allocations: 271.7 kB / 0.5147 GB, free: 6.625 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.366e-05/0.4124, allocations: 19.91 kB / 0.5147 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.766e-05/0.4125, allocations: 43.81 kB / 0.5147 GB, free: 6.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.4128, allocations: 284.6 kB / 0.515 GB, free: 6.289 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.4129, allocations: 0.75 kB / 0.515 GB, free: 6.289 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4129, allocations: 0 / 0.515 GB, free: 6.289 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.4129, allocations: 0 / 0.515 GB, free: 6.289 MB / 446.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.0004599/0.4133, allocations: 411.9 kB / 0.5154 GB, free: 5.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.4134, allocations: 12.03 kB / 0.5154 GB, free: 5.828 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002015/0.4154, allocations: 184.6 kB / 0.5156 GB, free: 5.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4157, allocations: 212.4 kB / 0.5158 GB, free: 5.402 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4157, allocations: 3.938 kB / 0.5158 GB, free: 5.398 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.954e-05/0.4158, allocations: 17.22 kB / 0.5158 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.4163, allocations: 228 kB / 0.516 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.4163, allocations: 0 / 0.516 GB, free: 5.145 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.4163, allocations: 11.98 kB / 0.516 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4164, allocations: 0 / 0.516 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.4168, allocations: 167.8 kB / 0.5162 GB, free: 4.969 MB / 446.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.0009891/0.4178, allocations: 0.5762 MB / 0.5167 GB, free: 4.336 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003302/0.4181, allocations: 142.4 kB / 0.5169 GB, free: 4.188 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.4183, allocations: 68.83 kB / 0.5169 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.4183, allocations: 0 / 0.5169 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.4184, allocations: 46.55 kB / 0.517 GB, free: 4.062 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.4184, allocations: 7.875 kB / 0.517 GB, free: 4.055 MB / 446.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.00524/0.4236, allocations: 1.289 MB / 0.5183 GB, free: 2.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4237, allocations: 55.41 kB / 0.5183 GB, free: 2.609 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.4238, allocations: 111.2 kB / 0.5184 GB, free: 2.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.4238, allocations: 37.69 kB / 0.5184 GB, free: 2.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.487e-05/0.4238, allocations: 91.98 kB / 0.5185 GB, free: 2.355 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.749e-05/0.4239, allocations: 70.98 kB / 0.5186 GB, free: 2.285 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.169e-05/0.424, allocations: 49.7 kB / 0.5187 GB, free: 2.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.4241, allocations: 322.8 kB / 0.519 GB, free: 1.906 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.4243, allocations: 71.95 kB / 0.519 GB, free: 1.836 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001694/0.4245, allocations: 119.2 kB / 0.5191 GB, free: 1.707 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.4248, allocations: 175.3 kB / 0.5193 GB, free: 1.523 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4248, allocations: 0 / 0.5193 GB, free: 1.523 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004757/0.4253, allocations: 266.1 kB / 0.5196 GB, free: 1.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4253, allocations: 4 kB / 0.5196 GB, free: 1.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4254, allocations: 4 kB / 0.5196 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001726/0.4255, allocations: 48.83 kB / 0.5196 GB, free: 1.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.4258, allocations: 55.91 kB / 0.5197 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003682/0.4262, allocations: 0.5679 MB / 0.5202 GB, free: 0.5469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.4264, allocations: 8.031 kB / 0.5202 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.4265, allocations: 23.98 kB / 0.5203 GB, free: 0.5156 MB / 446.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 (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 {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001131/0.4266, allocations: 129.7 kB / 0.5204 GB, free: 388 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.4266, allocations: 7.906 kB / 0.5204 GB, free: 380 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007176/0.4274, allocations: 344.9 kB / 0.5207 GB, free: 28 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.4274, allocations: 11.92 kB / 0.5207 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4274, allocations: 0 / 0.5207 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.4274, allocations: 0 / 0.5207 GB, free: 16 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.4284, allocations: 0.6236 MB / 0.5213 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4284, allocations: 8.078 kB / 0.5213 GB, free: 15.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.4287, allocations: 54.41 kB / 0.5214 GB, free: 15.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-05/0.4288, allocations: 28.77 kB / 0.5214 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.4289, allocations: 12 kB / 0.5214 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008929/0.4298, allocations: 1.367 MB / 0.5228 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4298, allocations: 0 / 0.5228 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.4304, allocations: 434.6 kB / 0.5232 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.35e-05/0.4305, allocations: 92.97 kB / 0.5233 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.4305, allocations: 8 kB / 0.5233 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.4307, allocations: 4 kB / 0.5233 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.219e-05/0.4308, allocations: 31.97 kB / 0.5233 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-05/0.4309, allocations: 35.92 kB / 0.5233 GB, free: 13.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.4309, allocations: 79.28 kB / 0.5234 GB, free: 13 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4309, allocations: 0 / 0.5234 GB, free: 13 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004274/0.4313, allocations: 83.98 kB / 0.5235 GB, free: 12.91 MB / 462.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 (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): 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.000355/0.4317, allocations: 144.1 kB / 0.5236 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005194/0.4322, allocations: 212.3 kB / 0.5238 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4323, allocations: 0 / 0.5238 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.4326, allocations: 218.8 kB / 0.5241 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004449/0.4331, allocations: 41.08 kB / 0.5241 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008476/0.4339, allocations: 485.5 kB / 0.5246 GB, free: 11.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.4342, allocations: 0.7046 MB / 0.5252 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003044/0.4345, allocations: 77.61 kB / 0.5253 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.4347, allocations: 51.41 kB / 0.5254 GB, free: 10.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.81e-07/0.4347, allocations: 0 / 0.5254 GB, free: 10.93 MB / 462.1 MB Notification: Performance of Templates: time 0.009062/0.4438, allocations: 5.693 MB / 0.5309 GB, free: 5.238 MB / 462.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)