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.00125/0.00125, allocations: 102.9 kB / 15.06 MB, free: 1.098 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.001567/0.001567, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.0004499/0.00045, allocations: 12 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2065, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.143/0.3495, allocations: 125.6 MB / 452 MB, free: 5.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001086/0.3506, allocations: 0.8263 MB / 452.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.844e-05/0.3507, allocations: 0 / 452.8 MB, free: 4.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000205/0.3509, allocations: 27.88 kB / 452.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004924/0.3514, allocations: 207.4 kB / 453.1 MB, free: 4.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003089/0.3517, allocations: 99.72 kB / 453.1 MB, free: 4.488 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.3519, allocations: 111.8 kB / 453.3 MB, free: 4.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.3519, allocations: 4 kB / 453.3 MB, free: 4.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3521, allocations: 87.73 kB / 453.3 MB, free: 4.289 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.773e-05/0.3522, allocations: 35.92 kB / 453.4 MB, free: 4.254 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.3523, allocations: 4 kB / 453.4 MB, free: 4.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005351/0.3528, allocations: 291.6 kB / 453.7 MB, free: 3.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.3529, allocations: 19.97 kB / 453.7 MB, free: 3.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3529, allocations: 45.64 kB / 453.7 MB, free: 3.895 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3532, allocations: 197 kB / 453.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.3532, allocations: 0 / 453.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3532, allocations: 0 / 453.9 MB, free: 3.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.3532, allocations: 0 / 453.9 MB, free: 3.703 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.0004305/0.3537, allocations: 383.2 kB / 454.3 MB, free: 3.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.3537, allocations: 8.031 kB / 454.3 MB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00206/0.3558, allocations: 191.6 kB / 454.5 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.356, allocations: 210.9 kB / 454.7 MB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.3561, allocations: 3.938 kB / 454.7 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.3561, allocations: 12 kB / 454.7 MB, free: 2.824 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.3566, allocations: 224 kB / 454.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.3566, allocations: 0 / 454.9 MB, free: 2.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3567, allocations: 4 kB / 454.9 MB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.3567, allocations: 11.89 kB / 455 MB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004257/0.3571, allocations: 167.8 kB / 455.1 MB, free: 2.41 MB / 382.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.0009926/0.3581, allocations: 0.5728 MB / 455.7 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.3585, allocations: 134.5 kB / 455.8 MB, free: 1.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3585, allocations: 12 kB / 455.8 MB, free: 1.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.3585, allocations: 30.56 kB / 455.9 MB, free: 1.586 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.432e-06/0.3586, allocations: 0 / 455.9 MB, free: 1.586 MB / 382.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.005221/0.3638, allocations: 1.314 MB / 457.2 MB, free: 180 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3638, allocations: 51.41 kB / 457.2 MB, free: 116 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1546/0.5184, allocations: 109.2 kB / 457.3 MB, free: 127.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.078e-05/0.5185, allocations: 29.45 kB / 457.4 MB, free: 127.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.5186, allocations: 91.03 kB / 457.5 MB, free: 127.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.5187, allocations: 70.94 kB / 457.5 MB, free: 127.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5187, allocations: 3.688 kB / 457.5 MB, free: 127.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.645e-05/0.5188, allocations: 325.1 kB / 457.8 MB, free: 127.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.519, allocations: 68.39 kB / 457.9 MB, free: 127.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.5192, allocations: 101.7 kB / 458 MB, free: 127.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.5194, allocations: 81.62 kB / 458.1 MB, free: 127.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.5194, allocations: 0 / 458.1 MB, free: 127.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006006/0.5201, allocations: 256 kB / 458.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.5201, allocations: 5.125 kB / 458.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5201, allocations: 4.594 kB / 458.3 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.5204, allocations: 54.05 kB / 458.4 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5207, allocations: 52.61 kB / 458.5 MB, free: 127.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003487/0.5211, allocations: 0.5651 MB / 459 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5213, allocations: 10.98 kB / 459 MB, free: 126.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.214e-05/0.5214, allocations: 26.92 kB / 459.1 MB, free: 126.8 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.5215, allocations: 127.8 kB / 459.2 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.783e-05/0.5215, allocations: 9.312 kB / 459.2 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009153/0.5224, allocations: 343.3 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.5225, allocations: 2.719 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.5225, allocations: 0.5938 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5225, allocations: 9.156 kB / 459.5 MB, free: 126.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000949/0.5234, allocations: 0.6154 MB / 460.1 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5235, allocations: 2.812 kB / 460.2 MB, free: 126.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003233/0.5238, allocations: 65.09 kB / 460.2 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.734e-05/0.5239, allocations: 26.64 kB / 460.2 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5239, allocations: 14.33 kB / 460.3 MB, free: 126.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005949/0.5245, allocations: 1.277 MB / 461.5 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5245, allocations: 1.594 kB / 461.5 MB, free: 124.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005879/0.5251, allocations: 468.1 kB / 462 MB, free: 124.6 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.5252, allocations: 84.8 kB / 462.1 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.5252, allocations: 10.55 kB / 462.1 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.5254, allocations: 15.53 kB / 462.1 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.867e-05/0.5255, allocations: 22.44 kB / 462.1 MB, free: 124.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.5255, allocations: 26.89 kB / 462.1 MB, free: 124.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.5256, allocations: 88.53 kB / 462.2 MB, free: 124.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5256, allocations: 0 / 462.2 MB, free: 124.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004132/0.526, allocations: 72.72 kB / 462.3 MB, free: 124.4 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003332/0.5263, allocations: 162.8 kB / 462.5 MB, free: 124.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000456/0.5268, allocations: 196.7 kB / 462.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5268, allocations: 0 / 462.7 MB, free: 124.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.5271, allocations: 227.2 kB / 462.9 MB, free: 124.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.5275, allocations: 45.45 kB / 462.9 MB, free: 124.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008184/0.5283, allocations: 0.5752 MB / 463.5 MB, free: 123.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.5285, allocations: 0.7103 MB / 464.2 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004087/0.5289, allocations: 76 kB / 464.3 MB, free: 122.9 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.5291, allocations: 55.84 kB / 464.3 MB, free: 122.9 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5291, allocations: 0 / 464.3 MB, free: 122.9 MB / 382.1 MB Notification: Performance of Templates: time 0.00827/0.5374, allocations: 5.388 MB / 469.7 MB, free: 119.1 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: