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.001451/0.001451, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001826/0.001826, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.378/1.378, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001231/0.001231, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2272, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3781/0.6054, allocations: 150.6 MB / 475.9 MB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6066, allocations: 0.969 MB / 476.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.489e-05/0.6067, allocations: 2.844 kB / 476.9 MB, free: 0.5586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.607, allocations: 32 kB / 476.9 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005936/0.6076, allocations: 241.4 kB / 477.1 MB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003504/0.608, allocations: 119 kB / 477.2 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000211/0.6082, allocations: 172.1 kB / 477.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.249e-05/0.6082, allocations: 4.719 kB / 477.4 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001829/0.6084, allocations: 84.2 kB / 477.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.094e-05/0.6085, allocations: 54.56 kB / 477.5 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.6086, allocations: 7.578 kB / 477.6 MB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.6091, allocations: 261.8 kB / 477.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.6092, allocations: 18.33 kB / 477.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.011e-05/0.6092, allocations: 56.34 kB / 477.9 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.6097, allocations: 277.9 kB / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6097, allocations: 0 / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6097, allocations: 0 / 478.2 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.6097, allocations: 0 / 478.2 MB, free: 0.5195 MB / 382.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.0005711/0.6103, allocations: 406 kB / 478.6 MB, free: 16.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6103, allocations: 9.594 kB / 478.6 MB, free: 16.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002136/0.6125, allocations: 196.6 kB / 478.8 MB, free: 16.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.6127, allocations: 209.3 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.6128, allocations: 6.219 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.864e-05/0.6128, allocations: 12.16 kB / 479 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004931/0.6133, allocations: 215.9 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6133, allocations: 6.406 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.6134, allocations: 3.625 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.6134, allocations: 2.562 kB / 479.2 MB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.6138, allocations: 170.5 kB / 479.4 MB, free: 15.87 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.00108/0.6149, allocations: 0.5843 MB / 480 MB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.6152, allocations: 138 kB / 480.1 MB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.6154, allocations: 72.73 kB / 480.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.6154, allocations: 10.03 kB / 480.2 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.6155, allocations: 30.56 kB / 480.2 MB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.6155, allocations: 4 kB / 480.2 MB, free: 15.32 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.005467/0.6209, allocations: 1.303 MB / 481.5 MB, free: 14.82 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.621, allocations: 57.5 kB / 481.6 MB, free: 14.76 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/0.6211, allocations: 110.6 kB / 481.7 MB, free: 14.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.6211, allocations: 25.7 kB / 481.7 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.6212, allocations: 96.84 kB / 481.8 MB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.88e-05/0.6212, allocations: 68.02 kB / 481.9 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-05/0.6213, allocations: 59.61 kB / 481.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.6214, allocations: 320.5 kB / 482.2 MB, free: 14.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.6216, allocations: 70.83 kB / 482.3 MB, free: 14.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.6218, allocations: 102.2 kB / 482.4 MB, free: 14.13 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.6221, allocations: 186.1 kB / 482.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.6221, allocations: 0 / 482.6 MB, free: 14.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004578/0.6226, allocations: 256.9 kB / 482.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.6226, allocations: 5.562 kB / 482.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.6226, allocations: 2.594 kB / 482.8 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.6228, allocations: 51.55 kB / 482.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6231, allocations: 53.84 kB / 482.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004114/0.6235, allocations: 0.5683 MB / 483.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.6237, allocations: 6.656 kB / 483.5 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.6238, allocations: 26.73 kB / 483.5 MB, free: 13.51 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.0001232/0.6239, allocations: 120.3 kB / 483.7 MB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.624, allocations: 8.844 kB / 483.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00081/0.6248, allocations: 359.8 kB / 484 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.6248, allocations: 6.344 kB / 484 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.6248, allocations: 0 / 484 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6248, allocations: 0 / 484 MB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6258, allocations: 0.6302 MB / 484.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6259, allocations: 2.219 kB / 484.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003388/0.6262, allocations: 65.03 kB / 484.7 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.291e-05/0.6263, allocations: 22.25 kB / 484.7 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.6263, allocations: 13.66 kB / 484.8 MB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009363/0.6273, allocations: 1.362 MB / 486.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6273, allocations: 4.062 kB / 486.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000669/0.628, allocations: 440.5 kB / 486.5 MB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.628, allocations: 90.2 kB / 486.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.6281, allocations: 17.38 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.6283, allocations: 6.188 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.6284, allocations: 24.53 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.6284, allocations: 25.72 kB / 486.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.323e-05/0.6285, allocations: 88.83 kB / 486.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6285, allocations: 0 / 486.8 MB, free: 11.24 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004572/0.6289, allocations: 82.47 kB / 486.9 MB, free: 11.23 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.0003707/0.6293, allocations: 144.5 kB / 487 MB, free: 11.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005198/0.6298, allocations: 218.8 kB / 487.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.6299, allocations: 5.875 kB / 487.2 MB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003375/0.6302, allocations: 214.9 kB / 487.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.6307, allocations: 49.27 kB / 487.5 MB, free: 11.01 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008923/0.6316, allocations: 483 kB / 488 MB, free: 10.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.6319, allocations: 0.7039 MB / 488.7 MB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004225/0.6323, allocations: 80.36 kB / 488.7 MB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001906/0.6325, allocations: 52.08 kB / 488.8 MB, free: 9.973 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.6325, allocations: 1.203 kB / 488.8 MB, free: 9.973 MB / 398.1 MB Notification: Performance of Templates: time 0.009526/0.642, allocations: 5.604 MB / 494.4 MB, free: 9.613 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)