Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.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) 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.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008498/0.008498, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.387/1.387, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.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.0004781/0.0004781, allocations: 16 kB / 279.4 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 47.58 MB / 327 MB, free: 1.371 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3812/0.5961, allocations: 146.4 MB / 473.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.5973, allocations: 0.9893 MB / 474.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.523e-05/0.5973, allocations: 2.734 kB / 474.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.5976, allocations: 37.36 kB / 474.5 MB, free: 15.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.5981, allocations: 204 kB / 474.7 MB, free: 15.42 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.5984, allocations: 102.6 kB / 474.8 MB, free: 15.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.5987, allocations: 211.5 kB / 475 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.297e-05/0.5988, allocations: 6.969 kB / 475 MB, free: 15.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.599, allocations: 84.47 kB / 475.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.5991, allocations: 53.64 kB / 475.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.5991, allocations: 2.656 kB / 475.1 MB, free: 15.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004773/0.5996, allocations: 265.5 kB / 475.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.5997, allocations: 17.97 kB / 475.4 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.186e-05/0.5997, allocations: 76.03 kB / 475.5 MB, free: 15.33 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003627/0.6001, allocations: 286.5 kB / 475.8 MB, free: 15.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6001, allocations: 4 kB / 475.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.6001, allocations: 2.812 kB / 475.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.6002, allocations: 0 / 475.8 MB, free: 15.3 MB / 398.1 MB 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.0004624/0.6006, allocations: 381.3 kB / 476.1 MB, free: 14.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.6007, allocations: 8.719 kB / 476.2 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.6028, allocations: 192.6 kB / 476.3 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.603, allocations: 213.4 kB / 476.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.603, allocations: 10.62 kB / 476.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.6031, allocations: 6.906 kB / 476.6 MB, free: 14.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/0.6036, allocations: 221.8 kB / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.6036, allocations: 0 / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.6036, allocations: 2.75 kB / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6037, allocations: 0 / 476.8 MB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.6041, allocations: 182.3 kB / 477 MB, free: 14.64 MB / 398.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.001013/0.6051, allocations: 0.5741 MB / 477.5 MB, free: 14.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003217/0.6054, allocations: 144.6 kB / 477.7 MB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.6056, allocations: 69.22 kB / 477.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.6056, allocations: 5.891 kB / 477.8 MB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.6056, allocations: 30.56 kB / 477.8 MB, free: 14.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.533e-06/0.6056, allocations: 0 / 477.8 MB, free: 14.1 MB / 398.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005425/0.6111, allocations: 1.321 MB / 479.1 MB, free: 13.58 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.6111, allocations: 51.41 kB / 479.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.378e-05/0.6112, allocations: 119.9 kB / 479.3 MB, free: 13.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.94e-05/0.6113, allocations: 28.7 kB / 479.3 MB, free: 13.38 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.6113, allocations: 93.92 kB / 479.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.6114, allocations: 70.41 kB / 479.5 MB, free: 13.25 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.6115, allocations: 26.05 kB / 479.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6116, allocations: 321.5 kB / 479.8 MB, free: 12.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.6117, allocations: 68.8 kB / 479.9 MB, free: 12.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.6119, allocations: 101.9 kB / 480 MB, free: 12.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003232/0.6122, allocations: 189.4 kB / 480.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.6122, allocations: 0 / 480.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004485/0.6127, allocations: 259.6 kB / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6127, allocations: 3.062 kB / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.6127, allocations: 2.406 kB / 480.4 MB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.6129, allocations: 54 kB / 480.5 MB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003072/0.6132, allocations: 54.34 kB / 480.5 MB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003727/0.6136, allocations: 0.5644 MB / 481.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.6138, allocations: 15.56 kB / 481.1 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.6138, allocations: 26.91 kB / 481.1 MB, free: 12.24 MB / 398.1 MB 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.0001132/0.614, allocations: 125.6 kB / 481.2 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.416e-05/0.614, allocations: 10.34 kB / 481.3 MB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007653/0.6148, allocations: 337.8 kB / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6148, allocations: 10.56 kB / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.6148, allocations: 0 / 481.6 MB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6148, allocations: 6.484 kB / 481.6 MB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008898/0.6157, allocations: 0.6176 MB / 482.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6157, allocations: 2.938 kB / 482.2 MB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003277/0.6161, allocations: 67.52 kB / 482.3 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.76e-05/0.6161, allocations: 25.41 kB / 482.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.6162, allocations: 11.22 kB / 482.3 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008907/0.6171, allocations: 1.27 MB / 483.6 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6171, allocations: 6.672 kB / 483.6 MB, free: 10.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006202/0.6177, allocations: 438.4 kB / 484 MB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.6178, allocations: 83.92 kB / 484.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.382e-05/0.6178, allocations: 10.72 kB / 484.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.6181, allocations: 12.98 kB / 484.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.6181, allocations: 22.34 kB / 484.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/0.6182, allocations: 25.75 kB / 484.2 MB, free: 10.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.643e-05/0.6182, allocations: 87.56 kB / 484.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6182, allocations: 0 / 484.3 MB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004081/0.6186, allocations: 84.41 kB / 484.4 MB, free: 10.04 MB / 398.1 MB 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.0003536/0.619, allocations: 150.4 kB / 484.5 MB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004503/0.6195, allocations: 199.8 kB / 484.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.6195, allocations: 2.844 kB / 484.7 MB, free: 9.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.6198, allocations: 222.1 kB / 484.9 MB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.6203, allocations: 50.59 kB / 485 MB, free: 9.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008881/0.6212, allocations: 0.5766 MB / 485.5 MB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.6216, allocations: 0.7091 MB / 486.2 MB, free: 8.762 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000465/0.622, allocations: 78.08 kB / 486.3 MB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.6223, allocations: 54.06 kB / 486.4 MB, free: 8.707 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6223, allocations: 0 / 486.4 MB, free: 8.707 MB / 398.1 MB Notification: Performance of Templates: time 0.009439/0.6317, allocations: 5.454 MB / 491.8 MB, free: 7.121 MB / 398.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & ./Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1)