Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.02061/0.02061, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.011/2.011, allocations: 194.5 MB / 210.3 MB, free: 8.578 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001788/0.001787, allocations: 116 kB / 255.6 MB, free: 11.19 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2581/0.2581, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006266/0.0006269, allocations: 15.25 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09879, allocations: 54.87 MB / 461.1 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5318/0.6306, allocations: 136.8 MB / 0.5839 GB, free: 13.4 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.6329, allocations: 1.373 MB / 0.5853 GB, free: 13.19 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.633, allocations: 0 / 0.5853 GB, free: 13.19 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002871/0.6333, allocations: 37.14 kB / 0.5853 GB, free: 13.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.6345, allocations: 281.9 kB / 0.5856 GB, free: 13.04 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005785/0.6351, allocations: 127 kB / 0.5857 GB, free: 13 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.6355, allocations: 213.8 kB / 0.5859 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.242e-05/0.6356, allocations: 8.781 kB / 0.5859 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.6357, allocations: 67.61 kB / 0.586 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.6359, allocations: 62.17 kB / 0.586 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.636, allocations: 2.875 kB / 0.586 GB, free: 12.87 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.6374, allocations: 420.3 kB / 0.5864 GB, free: 12.75 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.609e-05/0.6375, allocations: 26.62 kB / 0.5865 GB, free: 12.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.222e-05/0.6376, allocations: 44.92 kB / 0.5865 GB, free: 12.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.6382, allocations: 255.6 kB / 0.5867 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6382, allocations: 3.281 kB / 0.5868 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.6382, allocations: 0 / 0.5868 GB, free: 12.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.6383, allocations: 0 / 0.5868 GB, free: 12.61 MB / 394.7 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.0006492/0.6389, allocations: 402.1 kB / 0.5871 GB, free: 12.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.639, allocations: 7.938 kB / 0.5871 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.75e-05/0.639, allocations: 39.66 kB / 0.5872 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003643/0.6427, allocations: 193.6 kB / 0.5874 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000388/0.6431, allocations: 200.4 kB / 0.5876 GB, free: 11.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.6432, allocations: 12.58 kB / 0.5876 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.6432, allocations: 8.906 kB / 0.5876 GB, free: 11.88 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.644, allocations: 212.7 kB / 0.5878 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.644, allocations: 0 / 0.5878 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.6441, allocations: 3.312 kB / 0.5878 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.6441, allocations: 7.031 kB / 0.5878 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009724/0.6451, allocations: 234.8 kB / 0.588 GB, free: 11.75 MB / 394.7 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.002822/0.6479, allocations: 0.6813 MB / 0.5887 GB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007131/0.6487, allocations: 196.2 kB / 0.5889 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003436/0.649, allocations: 91.47 kB / 0.589 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002249/0.6493, allocations: 92.09 kB / 0.589 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.6493, allocations: 36.58 kB / 0.5891 GB, free: 11.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.215e-06/0.6493, allocations: 0 / 0.5891 GB, free: 11.05 MB / 394.7 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.0101/0.6594, allocations: 1.546 MB / 0.5906 GB, free: 10.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.6595, allocations: 58.34 kB / 0.5906 GB, free: 10.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.6597, allocations: 111.9 kB / 0.5907 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.6597, allocations: 31.55 kB / 0.5908 GB, free: 10.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.618e-05/0.6598, allocations: 98.08 kB / 0.5909 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.918e-05/0.6599, allocations: 72.66 kB / 0.5909 GB, free: 9.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.6599, allocations: 6.75 kB / 0.5909 GB, free: 9.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6601, allocations: 314.3 kB / 0.5912 GB, free: 9.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003624/0.6605, allocations: 95.44 kB / 0.5913 GB, free: 9.578 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003864/0.6609, allocations: 123.2 kB / 0.5915 GB, free: 9.531 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003851/0.6613, allocations: 94.64 kB / 0.5915 GB, free: 9.527 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6613, allocations: 3.094 kB / 0.5915 GB, free: 9.527 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00105/0.6623, allocations: 282.1 kB / 0.5918 GB, free: 9.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6624, allocations: 9.594 kB / 0.5918 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6624, allocations: 0 / 0.5918 GB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.6626, allocations: 34.77 kB / 0.5919 GB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.6634, allocations: 49.34 kB / 0.5919 GB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004772/0.6639, allocations: 0.5415 MB / 0.5924 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005174/0.6644, allocations: 14.83 kB / 0.5924 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-05/0.6645, allocations: 5.844 kB / 0.5925 GB, free: 8.879 MB / 394.7 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.0001893/0.6647, allocations: 123.1 kB / 0.5926 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.061e-05/0.6648, allocations: 12.89 kB / 0.5926 GB, free: 8.758 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.6661, allocations: 316.5 kB / 0.5929 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/0.6661, allocations: 5.766 kB / 0.5929 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.6661, allocations: 3.312 kB / 0.5929 GB, free: 8.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.363e-06/0.6661, allocations: 7.984 kB / 0.5929 GB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.6678, allocations: 0.6627 MB / 0.5935 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6679, allocations: 2.25 kB / 0.5936 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.6687, allocations: 59.14 kB / 0.5936 GB, free: 8.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001162/0.6688, allocations: 17.69 kB / 0.5936 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-05/0.6689, allocations: 7.906 kB / 0.5936 GB, free: 8.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.67, allocations: 1.269 MB / 0.5949 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.6701, allocations: 3.156 kB / 0.5949 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.6714, allocations: 450.9 kB / 0.5953 GB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.617e-05/0.6715, allocations: 87.86 kB / 0.5954 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.6716, allocations: 14.03 kB / 0.5954 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005828/0.6722, allocations: 4.906 kB / 0.5954 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.6723, allocations: 18.78 kB / 0.5954 GB, free: 6.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/0.6723, allocations: 19.06 kB / 0.5954 GB, free: 6.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.224e-05/0.6724, allocations: 92.09 kB / 0.5955 GB, free: 6.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6724, allocations: 0 / 0.5955 GB, free: 6.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007128/0.6731, allocations: 125.7 kB / 0.5957 GB, free: 6.426 MB / 394.7 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 (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.002538/0.6757, allocations: 1.114 MB / 0.5967 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009517/0.6767, allocations: 237.7 kB / 0.597 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.6767, allocations: 3 kB / 0.597 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005843/0.6773, allocations: 226.9 kB / 0.5972 GB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007071/0.678, allocations: 43.61 kB / 0.5972 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.681, allocations: 1.168 MB / 0.5984 GB, free: 4.688 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.6814, allocations: 0.7076 MB / 0.5991 GB, free: 3.98 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007043/0.6822, allocations: 50.11 kB / 0.5991 GB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.6824, allocations: 45.19 kB / 0.5991 GB, free: 3.93 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6824, allocations: 0 / 0.5991 GB, free: 3.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03896/0.7214, allocations: 7.55 MB / 0.6065 GB, free: 52 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003437/0.7218, allocations: 217.1 kB / 0.6067 GB, free: 15.81 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.842/3.564, allocations: 3.938 kB / 0.6067 GB, free: 15.8 MB / 410.7 MB