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.009617/0.009618, allocations: 104.2 kB / 15.73 MB, free: 6.039 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.001993/0.001993, allocations: 193.6 kB / 16.67 MB, free: 5.973 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.713/1.713, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.4026/0.4026, allocations: 38 MB / 307.9 MB, free: 10.09 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.00153/0.00153, allocations: 67.84 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3619, 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.1934/0.5553, allocations: 150.6 MB / 0.625 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.5567, allocations: 0.9695 MB / 0.626 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.5567, allocations: 0 / 0.626 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.5571, allocations: 39.75 kB / 0.626 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.5578, allocations: 246.6 kB / 0.6263 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.5583, allocations: 119.2 kB / 0.6264 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002491/0.5585, allocations: 167.3 kB / 0.6265 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.543e-05/0.5586, allocations: 11.92 kB / 0.6265 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.5588, allocations: 87.62 kB / 0.6266 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.5589, allocations: 51.83 kB / 0.6267 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.559, allocations: 4 kB / 0.6267 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004922/0.5595, allocations: 259.7 kB / 0.6269 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.956e-05/0.5596, allocations: 23.91 kB / 0.6269 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.366e-05/0.5596, allocations: 55.73 kB / 0.627 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.5601, allocations: 273.7 kB / 0.6273 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.5601, allocations: 0 / 0.6273 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.804e-06/0.5601, allocations: 4 kB / 0.6273 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.5601, allocations: 0 / 0.6273 GB, free: 10.14 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.0006068/0.5608, allocations: 407.2 kB / 0.6277 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.5608, allocations: 15.89 kB / 0.6277 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.5628, allocations: 189.1 kB / 0.6278 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.5633, allocations: 224 kB / 0.6281 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.5633, allocations: 11.94 kB / 0.6281 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.5634, allocations: 4 kB / 0.6281 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000623/0.564, allocations: 223.7 kB / 0.6283 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.564, allocations: 4 kB / 0.6283 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.531e-05/0.5641, allocations: 4 kB / 0.6283 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.5641, allocations: 0 / 0.6283 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004324/0.5645, allocations: 171.8 kB / 0.6285 GB, free: 8.812 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.00109/0.5656, allocations: 0.5719 MB / 0.629 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.566, allocations: 134.5 kB / 0.6291 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.5661, allocations: 68.83 kB / 0.6292 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.5662, allocations: 11.98 kB / 0.6292 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.5662, allocations: 30.56 kB / 0.6293 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.966e-06/0.5662, allocations: 4 kB / 0.6293 GB, free: 7.918 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.005116/0.5713, allocations: 1.295 MB / 0.6305 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.5714, allocations: 55.41 kB / 0.6306 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.857e-05/0.5715, allocations: 109.8 kB / 0.6307 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.5715, allocations: 33.7 kB / 0.6307 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.5717, allocations: 95.89 kB / 0.6308 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.5717, allocations: 67.08 kB / 0.6309 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.344e-05/0.5718, allocations: 53.7 kB / 0.6309 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002118/0.5721, allocations: 322.8 kB / 0.6312 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.5722, allocations: 75.89 kB / 0.6313 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001772/0.5724, allocations: 111.2 kB / 0.6314 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.5728, allocations: 179.3 kB / 0.6316 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.5728, allocations: 0 / 0.6316 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005789/0.5734, allocations: 266.1 kB / 0.6318 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.5734, allocations: 8 kB / 0.6318 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/0.5736, allocations: 0 / 0.6318 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001953/0.5738, allocations: 52.77 kB / 0.6319 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/0.5742, allocations: 55.91 kB / 0.6319 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000621/0.5748, allocations: 0.5641 MB / 0.6325 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.5751, allocations: 8.031 kB / 0.6325 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.5751, allocations: 31.92 kB / 0.6325 GB, free: 4.359 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.0001628/0.5753, allocations: 125.8 kB / 0.6326 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.5754, allocations: 11.89 kB / 0.6327 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/0.5762, allocations: 343.5 kB / 0.633 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.5762, allocations: 7.938 kB / 0.633 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5762, allocations: 0 / 0.633 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5762, allocations: 0 / 0.633 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.5773, allocations: 0.6268 MB / 0.6336 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5773, allocations: 0 / 0.6336 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.5777, allocations: 60.05 kB / 0.6337 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.207e-05/0.5778, allocations: 32.78 kB / 0.6337 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/0.5778, allocations: 8 kB / 0.6337 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.5789, allocations: 1.363 MB / 0.635 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.5789, allocations: 7.922 kB / 0.635 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007254/0.5796, allocations: 426.7 kB / 0.6354 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.5797, allocations: 89.03 kB / 0.6355 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.5797, allocations: 8 kB / 0.6355 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.5799, allocations: 8 kB / 0.6355 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.58, allocations: 23.91 kB / 0.6356 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.734e-05/0.58, allocations: 36.05 kB / 0.6356 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.963e-05/0.5801, allocations: 83.28 kB / 0.6357 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5801, allocations: 0 / 0.6357 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004404/0.5806, allocations: 79.98 kB / 0.6358 GB, free: 0.7773 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.0003948/0.581, allocations: 151.1 kB / 0.6359 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005407/0.5815, allocations: 207.7 kB / 0.6361 GB, free: 424 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.5815, allocations: 7.938 kB / 0.6361 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003859/0.5819, allocations: 226.4 kB / 0.6363 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5824, allocations: 44.94 kB / 0.6364 GB, free: 136 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2412/0.8236, allocations: 483.2 kB / 0.6368 GB, free: 145.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.8238, allocations: 0.7045 MB / 0.6375 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003577/0.8242, allocations: 74.31 kB / 0.6376 GB, free: 144.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.8244, allocations: 55.67 kB / 0.6376 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of SimCode: time 8.12e-07/0.8244, allocations: 1.031 kB / 0.6376 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of Templates: time 0.01374/0.8382, allocations: 5.613 MB / 0.6431 GB, free: 144 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)