Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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) 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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 109.6 kB / 17.06 MB, free: 6.023 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.001629/0.001629, allocations: 191 kB / 18 MB, free: 5.105 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.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: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.91 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1145, allocations: 46.62 MB / 374.5 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4913/0.6058, allocations: 172.7 MB / 0.5345 GB, free: 2.293 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004194/0.6101, allocations: 3.228 MB / 0.5376 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003916/0.6106, allocations: 4 kB / 0.5376 GB, free: 15.04 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007046/0.6113, allocations: 170.9 kB / 0.5378 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001109/0.6124, allocations: 403.2 kB / 0.5382 GB, free: 14.48 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.6134, allocations: 347.9 kB / 0.5385 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.6146, allocations: 0.8915 MB / 0.5394 GB, free: 13.25 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.6148, allocations: 108.7 kB / 0.5395 GB, free: 13.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.6168, allocations: 0.7905 MB / 0.5402 GB, free: 12.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004889/0.6173, allocations: 270.9 kB / 0.5405 GB, free: 12.09 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.557e-05/0.6174, allocations: 32 kB / 0.5405 GB, free: 12.06 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003716/0.6178, allocations: 123.9 kB / 0.5406 GB, free: 11.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.6179, allocations: 95.72 kB / 0.5407 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002287/0.6182, allocations: 191.2 kB / 0.5409 GB, free: 11.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.6188, allocations: 0.5102 MB / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6188, allocations: 3.984 kB / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.6188, allocations: 0 / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.6188, allocations: 0 / 0.5414 GB, free: 11.14 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008413/0.6197, allocations: 0.5892 MB / 0.542 GB, free: 10.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.6197, allocations: 8.031 kB / 0.542 GB, free: 10.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002806/0.62, allocations: 47.61 kB / 0.542 GB, free: 10.45 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004697/0.6205, allocations: 294.4 kB / 0.5423 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/0.6205, allocations: 16.56 kB / 0.5423 GB, free: 10.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.324e-05/0.6206, allocations: 24 kB / 0.5424 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005175/0.6211, allocations: 319.7 kB / 0.5427 GB, free: 9.742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.6211, allocations: 7.875 kB / 0.5427 GB, free: 9.734 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.874e-05/0.6212, allocations: 12 kB / 0.5427 GB, free: 9.723 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.6212, allocations: 8 kB / 0.5427 GB, free: 9.715 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.6215, allocations: 201.6 kB / 0.5429 GB, free: 9.52 MB / 478.1 MB 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.001754/0.6233, allocations: 1.597 MB / 0.5444 GB, free: 7.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.6236, allocations: 171.1 kB / 0.5446 GB, free: 7.598 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.6237, allocations: 100.8 kB / 0.5447 GB, free: 7.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.6238, allocations: 4 kB / 0.5447 GB, free: 7.492 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.6238, allocations: 38.56 kB / 0.5447 GB, free: 7.445 MB / 478.1 MB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/0.6238, allocations: 0 / 0.5447 GB, free: 7.445 MB / 478.1 MB 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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005789/0.6296, allocations: 1.606 MB / 0.5463 GB, free: 5.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.6297, allocations: 55.41 kB / 0.5464 GB, free: 5.641 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.63, allocations: 264.8 kB / 0.5466 GB, free: 5.375 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.309e-05/0.63, allocations: 29.7 kB / 0.5467 GB, free: 5.34 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.6301, allocations: 180.2 kB / 0.5468 GB, free: 5.156 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.6302, allocations: 86.66 kB / 0.5469 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.6303, allocations: 81.69 kB / 0.547 GB, free: 4.984 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6305, allocations: 338.8 kB / 0.5473 GB, free: 4.645 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.6306, allocations: 84.84 kB / 0.5474 GB, free: 4.562 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002388/0.6309, allocations: 199.7 kB / 0.5476 GB, free: 4.324 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004191/0.6313, allocations: 300.2 kB / 0.5479 GB, free: 3.988 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6313, allocations: 0 / 0.5479 GB, free: 3.988 MB / 478.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006684/0.632, allocations: 410.8 kB / 0.5483 GB, free: 3.574 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.632, allocations: 4 kB / 0.5483 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.6321, allocations: 4 kB / 0.5483 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002377/0.6323, allocations: 73.69 kB / 0.5483 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.6327, allocations: 86.14 kB / 0.5484 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001445/0.6341, allocations: 1.958 MB / 0.5503 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.6344, allocations: 12 kB / 0.5503 GB, free: 1.273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.6344, allocations: 39.98 kB / 0.5504 GB, free: 1.234 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.6346, allocations: 158.4 kB / 0.5505 GB, free: 1.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.952e-05/0.6347, allocations: 23.72 kB / 0.5506 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008684/0.6356, allocations: 442 kB / 0.551 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6356, allocations: 4 kB / 0.551 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6356, allocations: 0.875 kB / 0.551 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2507/0.8863, allocations: 0.5589 MB / 0.5515 GB, free: 170.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.8878, allocations: 0.7348 MB / 0.5522 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.8878, allocations: 2.094 kB / 0.5522 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.8882, allocations: 72.39 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001186/0.8883, allocations: 24.5 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.8884, allocations: 12.22 kB / 0.5523 GB, free: 170.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008326/0.8892, allocations: 1.38 MB / 0.5537 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.8892, allocations: 1.375 kB / 0.5537 GB, free: 168.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.89, allocations: 481.8 kB / 0.5542 GB, free: 168.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.8901, allocations: 99.88 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.788e-05/0.8902, allocations: 8.141 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.8904, allocations: 8.422 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.8905, allocations: 26.66 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.8906, allocations: 31.11 kB / 0.5543 GB, free: 168.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.8909, allocations: 194.2 kB / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8909, allocations: 0 / 0.5545 GB, free: 168.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000736/0.8916, allocations: 125.4 kB / 0.5546 GB, free: 168.6 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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.0004478/0.8921, allocations: 147.2 kB / 0.5548 GB, free: 168.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008781/0.893, allocations: 372.7 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.893, allocations: 1.031 kB / 0.5551 GB, free: 168.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003401/0.8933, allocations: 238.7 kB / 0.5554 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.8943, allocations: 169.4 kB / 0.5555 GB, free: 168.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.8956, allocations: 0.6891 MB / 0.5562 GB, free: 168 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003265/0.8959, allocations: 0.7624 MB / 0.5569 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004007/0.8964, allocations: 123.5 kB / 0.557 GB, free: 167.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.8965, allocations: 66.02 kB / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of SimCode: time 2.2e-07/0.8965, allocations: 0 / 0.5571 GB, free: 167.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02167/0.9182, allocations: 8.777 MB / 0.5657 GB, free: 165.6 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1)