Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.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) 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01001/0.01, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.002057/0.002057, allocations: 188.6 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.739/1.739, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.3878/0.3878, allocations: 38 MB / 307.9 MB, free: 9.953 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.001452/0.001452, allocations: 63.91 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3983, allocations: 56.47 MB / 489.4 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.204/0.6024, allocations: 150.6 MB / 0.625 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.6038, allocations: 0.954 MB / 0.626 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.138e-05/0.6039, allocations: 7.938 kB / 0.626 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.6043, allocations: 31.83 kB / 0.626 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006399/0.6049, allocations: 246.6 kB / 0.6262 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003988/0.6053, allocations: 127.2 kB / 0.6264 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.6056, allocations: 167.2 kB / 0.6265 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.792e-05/0.6056, allocations: 7.984 kB / 0.6265 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.6058, allocations: 83.69 kB / 0.6266 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.984e-05/0.6059, allocations: 55.77 kB / 0.6267 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.154e-05/0.606, allocations: 4 kB / 0.6267 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004679/0.6064, allocations: 263.7 kB / 0.6269 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.96e-05/0.6065, allocations: 23.86 kB / 0.6269 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.309e-05/0.6066, allocations: 51.8 kB / 0.627 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004213/0.607, allocations: 273.7 kB / 0.6273 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.607, allocations: 0 / 0.6273 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.607, allocations: 4 kB / 0.6273 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.607, allocations: 0 / 0.6273 GB, free: 10.15 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005137/0.6076, allocations: 403.3 kB / 0.6276 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.6076, allocations: 15.89 kB / 0.6277 GB, free: 9.695 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.6096, allocations: 193.1 kB / 0.6278 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.61, allocations: 216.1 kB / 0.6281 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.61, allocations: 11.94 kB / 0.6281 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.556e-05/0.6101, allocations: 4 kB / 0.6281 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005215/0.6106, allocations: 223.5 kB / 0.6283 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6106, allocations: 4 kB / 0.6283 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.6107, allocations: 4 kB / 0.6283 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.6107, allocations: 0 / 0.6283 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004689/0.6111, allocations: 175.8 kB / 0.6285 GB, free: 8.832 MB / 0.4981 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.001149/0.6123, allocations: 0.5757 MB / 0.629 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000336/0.6126, allocations: 130.5 kB / 0.6291 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.6128, allocations: 76.83 kB / 0.6292 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.6128, allocations: 4 kB / 0.6292 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.6129, allocations: 30.56 kB / 0.6292 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.6129, allocations: 4 kB / 0.6293 GB, free: 7.938 MB / 0.4981 GB 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.005285/0.6182, allocations: 1.291 MB / 0.6305 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.6182, allocations: 55.41 kB / 0.6306 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.743e-05/0.6183, allocations: 113.8 kB / 0.6307 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.753e-05/0.6184, allocations: 29.7 kB / 0.6307 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.826e-05/0.6184, allocations: 103.9 kB / 0.6308 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.6185, allocations: 63.05 kB / 0.6309 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.882e-05/0.6186, allocations: 57.69 kB / 0.6309 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6187, allocations: 322.8 kB / 0.6312 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.6189, allocations: 63.97 kB / 0.6313 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/0.6191, allocations: 111.2 kB / 0.6314 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.6195, allocations: 195.1 kB / 0.6316 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.61e-07/0.6195, allocations: 0 / 0.6316 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004867/0.62, allocations: 258.1 kB / 0.6318 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.62, allocations: 11.98 kB / 0.6318 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.6201, allocations: 0 / 0.6318 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001934/0.6203, allocations: 52.83 kB / 0.6319 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.6206, allocations: 51.91 kB / 0.6319 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004585/0.6211, allocations: 0.5641 MB / 0.6325 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.6212, allocations: 15.97 kB / 0.6325 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.712e-05/0.6213, allocations: 27.98 kB / 0.6325 GB, free: 4.375 MB / 0.4981 GB 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.0001288/0.6214, allocations: 121.8 kB / 0.6326 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.6215, allocations: 7.906 kB / 0.6327 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007406/0.6222, allocations: 339.2 kB / 0.633 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.6222, allocations: 7.938 kB / 0.633 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6222, allocations: 0 / 0.633 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.6223, allocations: 3.984 kB / 0.633 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.6233, allocations: 0.6229 MB / 0.6336 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.6234, allocations: 0 / 0.6336 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003339/0.6237, allocations: 60.05 kB / 0.6337 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.198e-05/0.6238, allocations: 28.78 kB / 0.6337 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.88e-05/0.6238, allocations: 11.98 kB / 0.6337 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.6249, allocations: 1.371 MB / 0.635 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.625, allocations: 0 / 0.635 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007867/0.6258, allocations: 430.7 kB / 0.6354 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.08e-05/0.6258, allocations: 88.98 kB / 0.6355 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.6259, allocations: 11.98 kB / 0.6355 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.6261, allocations: 8 kB / 0.6355 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.607e-05/0.6262, allocations: 19.97 kB / 0.6356 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.6262, allocations: 36.05 kB / 0.6356 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.478e-05/0.6263, allocations: 87.58 kB / 0.6357 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6263, allocations: 0 / 0.6357 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004181/0.6267, allocations: 76 kB / 0.6358 GB, free: 0.8008 MB / 0.4981 GB 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.0004034/0.6271, allocations: 163 kB / 0.6359 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005333/0.6277, allocations: 203.7 kB / 0.6361 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.6277, allocations: 4 kB / 0.6361 GB, free: 436 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003425/0.628, allocations: 226.3 kB / 0.6363 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.6285, allocations: 44.98 kB / 0.6364 GB, free: 156 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.269/0.8975, allocations: 474.6 kB / 0.6368 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/0.8977, allocations: 0.7042 MB / 0.6375 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003737/0.8981, allocations: 76.92 kB / 0.6376 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.8983, allocations: 53.34 kB / 0.6376 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of SimCode: time 8.01e-07/0.8983, allocations: 0.9375 kB / 0.6376 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.01356/0.9119, allocations: 5.667 MB / 0.6432 GB, free: 144.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)