Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.009217/0.009217, allocations: 99.3 kB / 15.73 MB, free: 6.043 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.001522/0.001522, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.759/1.759, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.4608/0.4608, allocations: 39.94 MB / 309.8 MB, free: 9.312 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.001546/0.001546, allocations: 71.89 kB / 435.8 MB, free: 2.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4688/0.4704, allocations: 56.87 MB / 492.6 MB, free: 19.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2302/0.7006, allocations: 150.6 MB / 0.6282 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001748/0.7024, allocations: 0.9734 MB / 0.6291 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.322e-05/0.7025, allocations: 0 / 0.6291 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004046/0.7029, allocations: 31.81 kB / 0.6291 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007463/0.7038, allocations: 246.6 kB / 0.6294 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.7043, allocations: 127.3 kB / 0.6295 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.7045, allocations: 171.2 kB / 0.6297 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.7046, allocations: 7.984 kB / 0.6297 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.7048, allocations: 87.67 kB / 0.6297 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.7049, allocations: 51.72 kB / 0.6298 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.7051, allocations: 8 kB / 0.6298 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.7056, allocations: 263.7 kB / 0.6301 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.893e-05/0.7056, allocations: 15.98 kB / 0.6301 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.7057, allocations: 51.78 kB / 0.6301 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00047/0.7062, allocations: 281.7 kB / 0.6304 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7062, allocations: 0 / 0.6304 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.876e-06/0.7062, allocations: 0 / 0.6304 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.7062, allocations: 0 / 0.6304 GB, free: 7.078 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.000691/0.7069, allocations: 407.2 kB / 0.6308 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.707, allocations: 11.89 kB / 0.6308 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.709, allocations: 197.1 kB / 0.631 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.7095, allocations: 208.2 kB / 0.6312 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.7095, allocations: 7.938 kB / 0.6312 GB, free: 6.18 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.963e-05/0.7096, allocations: 12 kB / 0.6312 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.7102, allocations: 219.3 kB / 0.6314 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.7102, allocations: 7.938 kB / 0.6314 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.383e-05/0.7103, allocations: 4 kB / 0.6314 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.7103, allocations: 4 kB / 0.6314 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004758/0.7108, allocations: 171.8 kB / 0.6316 GB, free: 5.758 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.001127/0.7119, allocations: 0.5603 MB / 0.6321 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.7123, allocations: 138.5 kB / 0.6323 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.7125, allocations: 72.83 kB / 0.6323 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.7125, allocations: 0 / 0.6323 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.825e-05/0.7126, allocations: 34.56 kB / 0.6324 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.7126, allocations: 0 / 0.6324 GB, free: 4.879 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.005424/0.718, allocations: 1.31 MB / 0.6336 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.7181, allocations: 59.34 kB / 0.6337 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.7182, allocations: 109.8 kB / 0.6338 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.7182, allocations: 33.7 kB / 0.6338 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.7183, allocations: 99.91 kB / 0.6339 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.224e-05/0.7184, allocations: 67.02 kB / 0.634 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.998e-05/0.7185, allocations: 53.69 kB / 0.634 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7186, allocations: 322.8 kB / 0.6344 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.7188, allocations: 67.97 kB / 0.6344 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.719, allocations: 107.2 kB / 0.6345 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003449/0.7193, allocations: 183.3 kB / 0.6347 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.7193, allocations: 0 / 0.6347 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005081/0.7198, allocations: 262.2 kB / 0.6349 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.7199, allocations: 7.984 kB / 0.635 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.7199, allocations: 4 kB / 0.635 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.7201, allocations: 48.83 kB / 0.635 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003155/0.7204, allocations: 51.91 kB / 0.6351 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005341/0.7209, allocations: 0.5719 MB / 0.6356 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001564/0.7211, allocations: 4.031 kB / 0.6356 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.7212, allocations: 27.98 kB / 0.6356 GB, free: 1.312 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.0001316/0.7213, allocations: 117.8 kB / 0.6358 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.7214, allocations: 15.81 kB / 0.6358 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007565/0.7221, allocations: 343.2 kB / 0.6361 GB, free: 0.832 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.7221, allocations: 11.94 kB / 0.6361 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.7222, allocations: 0 / 0.6361 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.7222, allocations: 3.984 kB / 0.6361 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00115/0.7233, allocations: 0.6152 MB / 0.6367 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.7233, allocations: 4 kB / 0.6367 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7237, allocations: 67.98 kB / 0.6368 GB, free: 64 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/0.7238, allocations: 16.84 kB / 0.6368 GB, free: 44 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.7238, allocations: 15.98 kB / 0.6368 GB, free: 28 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3523/1.076, allocations: 1.357 MB / 0.6381 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.076, allocations: 0.6562 kB / 0.6381 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009134/1.077, allocations: 438.2 kB / 0.6386 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/1.077, allocations: 88.59 kB / 0.6386 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.537e-05/1.077, allocations: 10.59 kB / 0.6387 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/1.077, allocations: 7.281 kB / 0.6387 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.012e-05/1.077, allocations: 27.42 kB / 0.6387 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-05/1.078, allocations: 29.17 kB / 0.6387 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.279e-05/1.078, allocations: 88.66 kB / 0.6388 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.078, allocations: 0 / 0.6388 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004878/1.078, allocations: 78.42 kB / 0.6389 GB, free: 143.6 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.000395/1.079, allocations: 152.6 kB / 0.639 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005607/1.079, allocations: 215.3 kB / 0.6392 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/1.079, allocations: 0 / 0.6392 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/1.079, allocations: 219.9 kB / 0.6394 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/1.08, allocations: 49.72 kB / 0.6395 GB, free: 143.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008967/1.081, allocations: 480.8 kB / 0.6399 GB, free: 143.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/1.081, allocations: 0.7099 MB / 0.6406 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002997/1.081, allocations: 77 kB / 0.6407 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/1.082, allocations: 51.69 kB / 0.6408 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of SimCode: time 5.01e-07/1.082, allocations: 0 / 0.6408 GB, free: 142.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.01297/1.095, allocations: 5.673 MB / 0.6463 GB, free: 141.8 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1)