Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0115/0.0115, 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.002634/0.002635, 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.876/1.876, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.3692/0.3692, allocations: 37.99 MB / 307.9 MB, free: 10.04 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.001551/0.001551, allocations: 68.28 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3771, allocations: 56.47 MB / 489.4 MB, free: 20.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1991/0.5763, allocations: 150.9 MB / 0.6253 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.5786, allocations: 1.487 MB / 0.6267 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.5788, allocations: 3.938 kB / 0.6268 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004199/0.5792, allocations: 55.72 kB / 0.6268 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001196/0.5804, allocations: 378.2 kB / 0.6272 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.5811, allocations: 175 kB / 0.6273 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003184/0.5814, allocations: 179.3 kB / 0.6275 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.5814, allocations: 7.984 kB / 0.6275 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001963/0.5816, allocations: 83.62 kB / 0.6276 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.5818, allocations: 51.83 kB / 0.6276 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.5819, allocations: 8 kB / 0.6276 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.583, allocations: 0.5768 MB / 0.6282 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.5831, allocations: 27.91 kB / 0.6282 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.546e-05/0.5832, allocations: 55.72 kB / 0.6283 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007919/0.584, allocations: 389.4 kB / 0.6287 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.584, allocations: 0 / 0.6287 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.584, allocations: 0 / 0.6287 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.584, allocations: 0 / 0.6287 GB, free: 8.715 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007083/0.5848, allocations: 419.5 kB / 0.6291 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.5848, allocations: 15.88 kB / 0.6291 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.5871, allocations: 197.1 kB / 0.6293 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.5874, allocations: 204.2 kB / 0.6295 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5875, allocations: 12.12 kB / 0.6295 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/0.5875, allocations: 12 kB / 0.6295 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004948/0.588, allocations: 201.4 kB / 0.6297 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.588, allocations: 0 / 0.6297 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.189e-05/0.5881, allocations: 8 kB / 0.6297 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5881, allocations: 4 kB / 0.6297 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006076/0.5887, allocations: 239.8 kB / 0.6299 GB, free: 7.34 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.001838/0.5906, allocations: 0.663 MB / 0.6306 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/0.591, allocations: 198.4 kB / 0.6308 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.5912, allocations: 92.81 kB / 0.6308 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002158/0.5915, allocations: 93.09 kB / 0.6309 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.549e-05/0.5915, allocations: 34.55 kB / 0.631 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.5915, allocations: 0 / 0.631 GB, free: 6.172 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.005748/0.5973, allocations: 1.543 MB / 0.6325 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5973, allocations: 51.41 kB / 0.6325 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.5974, allocations: 117.8 kB / 0.6326 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.5975, allocations: 25.7 kB / 0.6327 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.854e-05/0.5975, allocations: 96.33 kB / 0.6327 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.218e-05/0.5976, allocations: 71.03 kB / 0.6328 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.5977, allocations: 41.7 kB / 0.6329 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5979, allocations: 326.8 kB / 0.6332 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.5981, allocations: 87.95 kB / 0.6332 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.5984, allocations: 127.2 kB / 0.6334 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.5988, allocations: 227.3 kB / 0.6336 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.5989, allocations: 7.938 kB / 0.6336 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006595/0.5995, allocations: 282.2 kB / 0.6339 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5995, allocations: 7.938 kB / 0.6339 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5996, allocations: 0 / 0.6339 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.5997, allocations: 28.94 kB / 0.6339 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.6002, allocations: 59.89 kB / 0.634 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003824/0.6006, allocations: 0.5254 MB / 0.6345 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.6009, allocations: 12.02 kB / 0.6345 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.795e-05/0.6009, allocations: 12 kB / 0.6345 GB, free: 2.332 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.0001333/0.6011, allocations: 129.8 kB / 0.6346 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.6011, allocations: 15.89 kB / 0.6346 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.6019, allocations: 319.1 kB / 0.6349 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6019, allocations: 4 kB / 0.6349 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.6019, allocations: 7.875 kB / 0.6349 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.602, allocations: 3.984 kB / 0.635 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.6031, allocations: 0.6851 MB / 0.6356 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.6032, allocations: 0 / 0.6356 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.6036, allocations: 47.95 kB / 0.6357 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-05/0.6037, allocations: 20.84 kB / 0.6357 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.6037, allocations: 11.98 kB / 0.6357 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2948/0.8986, allocations: 1.353 MB / 0.637 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8986, allocations: 1.875 kB / 0.637 GB, free: 144.3 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.8997, allocations: 458.2 kB / 0.6375 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.8997, allocations: 87.61 kB / 0.6375 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.825e-05/0.8998, allocations: 7.172 kB / 0.6375 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.9002, allocations: 7.281 kB / 0.6376 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.9002, allocations: 20.2 kB / 0.6376 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.9003, allocations: 10.72 kB / 0.6376 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.9003, allocations: 91.5 kB / 0.6377 GB, free: 144 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9003, allocations: 0 / 0.6377 GB, free: 144 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006568/0.901, allocations: 130.8 kB / 0.6378 GB, free: 144 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 (19): * Single equations (assignments): 18 * 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.000723/0.9017, allocations: 264.4 kB / 0.638 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007113/0.9024, allocations: 232.1 kB / 0.6383 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9025, allocations: 1.125 kB / 0.6383 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004272/0.9029, allocations: 223.6 kB / 0.6385 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005155/0.9034, allocations: 54.3 kB / 0.6385 GB, free: 143.7 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009778/0.9044, allocations: 481.3 kB / 0.639 GB, free: 143.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001818/0.9046, allocations: 0.7119 MB / 0.6397 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002901/0.9049, allocations: 54.19 kB / 0.6397 GB, free: 142.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.905, allocations: 22.91 kB / 0.6398 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.905, allocations: 0 / 0.6398 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of Templates: time 0.01577/0.9208, allocations: 6.281 MB / 0.6459 GB, free: 142.4 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1)