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.001659/0.00166, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002542/0.002542, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.653/1.653, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.3509/0.3509, allocations: 37.98 MB / 307.4 MB, free: 9.953 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.001461/0.001461, allocations: 74.41 kB / 374.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1468, allocations: 56.47 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3689/0.5157, allocations: 148.7 MB / 0.5664 GB, free: 2.805 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.5178, allocations: 1.486 MB / 0.5678 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.5179, allocations: 0 / 0.5678 GB, free: 1.625 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.5183, allocations: 45.78 kB / 0.5678 GB, free: 1.59 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008067/0.5191, allocations: 361.7 kB / 0.5682 GB, free: 1.336 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004386/0.5196, allocations: 148.5 kB / 0.5683 GB, free: 1.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002107/0.5198, allocations: 186.7 kB / 0.5685 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.5198, allocations: 12.27 kB / 0.5685 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.52, allocations: 79 kB / 0.5686 GB, free: 1.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.5201, allocations: 63.7 kB / 0.5687 GB, free: 1.016 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.5201, allocations: 4 kB / 0.5687 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009553/0.5211, allocations: 0.5963 MB / 0.5692 GB, free: 424 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.5212, allocations: 27.95 kB / 0.5693 GB, free: 396 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.002e-05/0.5212, allocations: 55.73 kB / 0.5693 GB, free: 340 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005824/0.5218, allocations: 426.9 kB / 0.5697 GB, free: 15.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5219, allocations: 4 kB / 0.5697 GB, free: 15.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5219, allocations: 0 / 0.5697 GB, free: 15.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.5219, allocations: 4 kB / 0.5697 GB, free: 15.91 MB / 446.1 MB 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.0005687/0.5224, allocations: 422.9 kB / 0.5701 GB, free: 15.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.5225, allocations: 11.89 kB / 0.5702 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.5247, allocations: 196.4 kB / 0.5703 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.5249, allocations: 204.2 kB / 0.5705 GB, free: 15.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.525, allocations: 12.25 kB / 0.5705 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.525, allocations: 16 kB / 0.5706 GB, free: 14.98 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.5255, allocations: 201.5 kB / 0.5708 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.5255, allocations: 3.984 kB / 0.5708 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.5256, allocations: 4 kB / 0.5708 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5256, allocations: 3.938 kB / 0.5708 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.5262, allocations: 247.7 kB / 0.571 GB, free: 14.53 MB / 446.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.001704/0.5279, allocations: 0.669 MB / 0.5717 GB, free: 13.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004421/0.5283, allocations: 178.5 kB / 0.5718 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002101/0.5286, allocations: 99.94 kB / 0.5719 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.5287, allocations: 93.09 kB / 0.572 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.5288, allocations: 34.5 kB / 0.572 GB, free: 13.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.5288, allocations: 0 / 0.572 GB, free: 13.39 MB / 446.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.005692/0.5345, allocations: 1.531 MB / 0.5735 GB, free: 11.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.5345, allocations: 55.41 kB / 0.5736 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.272e-05/0.5346, allocations: 112.4 kB / 0.5737 GB, free: 11.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5347, allocations: 33.7 kB / 0.5737 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.5348, allocations: 96.27 kB / 0.5738 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.661e-05/0.5348, allocations: 70.94 kB / 0.5739 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.346e-05/0.5349, allocations: 45.56 kB / 0.5739 GB, free: 11.32 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5351, allocations: 322.8 kB / 0.5742 GB, free: 11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.5353, allocations: 87.95 kB / 0.5743 GB, free: 10.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002399/0.5355, allocations: 129.6 kB / 0.5745 GB, free: 10.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/0.536, allocations: 226.8 kB / 0.5747 GB, free: 10.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.536, allocations: 4 kB / 0.5747 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000629/0.5366, allocations: 290.1 kB / 0.5749 GB, free: 10.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.5366, allocations: 4 kB / 0.575 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5367, allocations: 0 / 0.575 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001393/0.5368, allocations: 24.84 kB / 0.575 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.5373, allocations: 56.05 kB / 0.575 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003729/0.5377, allocations: 0.5328 MB / 0.5755 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.538, allocations: 15.95 kB / 0.5756 GB, free: 9.586 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.538, allocations: 8 kB / 0.5756 GB, free: 9.578 MB / 446.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.0001403/0.5382, allocations: 137.8 kB / 0.5757 GB, free: 9.434 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.857e-05/0.5382, allocations: 7.906 kB / 0.5757 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007733/0.539, allocations: 311.1 kB / 0.576 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.539, allocations: 4 kB / 0.576 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.539, allocations: 3.938 kB / 0.576 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.539, allocations: 3.984 kB / 0.576 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/0.5402, allocations: 0.6679 MB / 0.5767 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5402, allocations: 4.031 kB / 0.5767 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004581/0.5406, allocations: 55.89 kB / 0.5767 GB, free: 8.309 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.118e-05/0.5407, allocations: 20.84 kB / 0.5767 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.591e-05/0.5407, allocations: 4 kB / 0.5768 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009301/0.5417, allocations: 1.37 MB / 0.5781 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.5417, allocations: 0 / 0.5781 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.5425, allocations: 454.7 kB / 0.5785 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.905e-05/0.5426, allocations: 88.95 kB / 0.5786 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.5426, allocations: 8.062 kB / 0.5786 GB, free: 6.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003367/0.543, allocations: 19.92 kB / 0.5786 GB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.543, allocations: 11.97 kB / 0.5786 GB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.002e-05/0.5431, allocations: 15.98 kB / 0.5787 GB, free: 6.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.554e-05/0.5431, allocations: 88.05 kB / 0.5787 GB, free: 6.055 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5431, allocations: 0 / 0.5787 GB, free: 6.055 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005442/0.5437, allocations: 127.9 kB / 0.5789 GB, free: 5.93 MB / 446.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 (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.0007006/0.5444, allocations: 254.9 kB / 0.5791 GB, free: 5.672 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006322/0.545, allocations: 241.5 kB / 0.5793 GB, free: 5.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.545, allocations: 4 kB / 0.5793 GB, free: 5.434 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.5455, allocations: 228.9 kB / 0.5796 GB, free: 5.199 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004613/0.5459, allocations: 58.33 kB / 0.5796 GB, free: 5.145 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009155/0.5468, allocations: 0.5066 MB / 0.5801 GB, free: 4.609 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.5472, allocations: 0.7046 MB / 0.5808 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.5476, allocations: 57.91 kB / 0.5809 GB, free: 3.824 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.5478, allocations: 31.42 kB / 0.5809 GB, free: 3.793 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5478, allocations: 0 / 0.5809 GB, free: 3.793 MB / 446.1 MB Notification: Performance of Templates: time 0.01014/0.5579, allocations: 6.207 MB / 0.5869 GB, free: 13.6 MB / 462.1 MB 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)