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.01162/0.01162, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.00213/0.00213, allocations: 195.7 kB / 16.68 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.771/1.771, allocations: 205.1 MB / 222.5 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.3505/0.3505, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001552/0.001552, allocations: 67.84 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.382, allocations: 56.46 MB / 489.4 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1751/0.5571, allocations: 150.8 MB / 0.6253 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002151/0.5594, allocations: 1.503 MB / 0.6267 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.5595, allocations: 4 kB / 0.6268 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003957/0.56, allocations: 47.67 kB / 0.6268 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001142/0.5611, allocations: 386.2 kB / 0.6272 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.5617, allocations: 167 kB / 0.6273 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.5621, allocations: 183.3 kB / 0.6275 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.5622, allocations: 11.97 kB / 0.6275 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.5624, allocations: 79.7 kB / 0.6276 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.5627, allocations: 59.75 kB / 0.6276 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.5627, allocations: 8 kB / 0.6277 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.5642, allocations: 0.5729 MB / 0.6282 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.5643, allocations: 27.91 kB / 0.6282 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.5644, allocations: 55.78 kB / 0.6283 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.5655, allocations: 381.4 kB / 0.6287 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.5655, allocations: 0 / 0.6287 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5655, allocations: 0 / 0.6287 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.5655, allocations: 0 / 0.6287 GB, free: 8.727 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.000757/0.5663, allocations: 427.4 kB / 0.6291 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.5663, allocations: 11.89 kB / 0.6291 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002487/0.5688, allocations: 197.1 kB / 0.6293 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.5692, allocations: 212.1 kB / 0.6295 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.5692, allocations: 4.125 kB / 0.6295 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.5693, allocations: 16 kB / 0.6295 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.5698, allocations: 201.5 kB / 0.6297 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5699, allocations: 4 kB / 0.6297 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.5699, allocations: 0 / 0.6297 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.5699, allocations: 0 / 0.6297 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006198/0.5705, allocations: 243.8 kB / 0.6299 GB, free: 7.348 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.001878/0.5724, allocations: 0.6708 MB / 0.6306 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004447/0.5729, allocations: 190.5 kB / 0.6307 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.5731, allocations: 92.81 kB / 0.6308 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001691/0.5733, allocations: 93.09 kB / 0.6309 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.5733, allocations: 30.56 kB / 0.631 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 5.079e-06/0.5733, allocations: 0 / 0.631 GB, free: 6.184 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.006048/0.5794, allocations: 1.55 MB / 0.6325 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.5795, allocations: 55.41 kB / 0.6325 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.5796, allocations: 109.8 kB / 0.6326 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.5796, allocations: 29.7 kB / 0.6327 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.491e-05/0.5797, allocations: 104.3 kB / 0.6328 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.024e-05/0.5798, allocations: 71.03 kB / 0.6328 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.363e-05/0.5799, allocations: 37.7 kB / 0.6329 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.58, allocations: 322.8 kB / 0.6332 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/0.5802, allocations: 87.95 kB / 0.6333 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002541/0.5805, allocations: 131.2 kB / 0.6334 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.581, allocations: 223.3 kB / 0.6336 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.581, allocations: 3.938 kB / 0.6336 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006387/0.5816, allocations: 286.2 kB / 0.6339 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.5816, allocations: 4.625 kB / 0.6339 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.5817, allocations: 11.88 kB / 0.6339 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001394/0.5818, allocations: 24.83 kB / 0.6339 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004813/0.5823, allocations: 51.97 kB / 0.634 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004296/0.5827, allocations: 0.5368 MB / 0.6345 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.5831, allocations: 12.03 kB / 0.6345 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.5831, allocations: 7.984 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.0001365/0.5832, allocations: 129.7 kB / 0.6346 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.093e-05/0.5833, allocations: 7.906 kB / 0.6346 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007616/0.5841, allocations: 311.2 kB / 0.6349 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.5841, allocations: 0 / 0.6349 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5841, allocations: 3.938 kB / 0.6349 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5841, allocations: 7.984 kB / 0.6349 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.5853, allocations: 0.6906 MB / 0.6356 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.5853, allocations: 0 / 0.6356 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.5858, allocations: 55.89 kB / 0.6357 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.597e-05/0.5859, allocations: 24.94 kB / 0.6357 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.5859, allocations: 4 kB / 0.6357 GB, free: 1.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2645/0.8504, allocations: 1.36 MB / 0.637 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8505, allocations: 1.609 kB / 0.637 GB, free: 144.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.8515, allocations: 449.2 kB / 0.6374 GB, free: 144.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.579e-05/0.8516, allocations: 88.64 kB / 0.6375 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.8516, allocations: 6.359 kB / 0.6375 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.852, allocations: 12.03 kB / 0.6376 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/0.852, allocations: 23.56 kB / 0.6376 GB, free: 144 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.8521, allocations: 15.25 kB / 0.6376 GB, free: 144 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.735e-05/0.8521, allocations: 86.09 kB / 0.6377 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/0.8521, allocations: 0.8438 kB / 0.6377 GB, free: 143.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000754/0.8529, allocations: 127.2 kB / 0.6378 GB, free: 143.9 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.0006735/0.8536, allocations: 262 kB / 0.638 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006662/0.8543, allocations: 228.5 kB / 0.6383 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.8543, allocations: 5.625 kB / 0.6383 GB, free: 143.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004026/0.8547, allocations: 231.3 kB / 0.6385 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/0.8551, allocations: 43.12 kB / 0.6385 GB, free: 143.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008886/0.856, allocations: 482.6 kB / 0.639 GB, free: 143.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.8563, allocations: 0.7106 MB / 0.6397 GB, free: 142.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002847/0.8565, allocations: 54.98 kB / 0.6397 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.8567, allocations: 26.69 kB / 0.6398 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.8567, allocations: 0.9375 kB / 0.6398 GB, free: 142.6 MB / 0.4981 GB Notification: Performance of Templates: time 0.01342/0.8701, allocations: 6.224 MB / 0.6458 GB, free: 142.2 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)