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: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002723/0.002732, allocations: 364.8 kB / 15.96 MB, free: 6.199 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 3.879/3.879, allocations: 388.9 MB / 405.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003488/0.003488, allocations: 225.7 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5987/0.5987, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000657/0.0006575, allocations: 16 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09686, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5766/0.6735, allocations: 136.8 MB / 0.8137 GB, free: 3.566 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.6771, allocations: 1.384 MB / 0.815 GB, free: 2.191 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.223e-05/0.6772, allocations: 4 kB / 0.815 GB, free: 2.188 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003501/0.6776, allocations: 33.06 kB / 0.8151 GB, free: 2.156 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.6792, allocations: 271.5 kB / 0.8153 GB, free: 1.891 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.68, allocations: 136.5 kB / 0.8155 GB, free: 1.758 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005456/0.6806, allocations: 207.2 kB / 0.8157 GB, free: 1.555 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.319e-05/0.6807, allocations: 11.94 kB / 0.8157 GB, free: 1.543 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003197/0.6811, allocations: 67.75 kB / 0.8157 GB, free: 1.477 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.6813, allocations: 59.75 kB / 0.8158 GB, free: 1.418 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.6e-05/0.6814, allocations: 4 kB / 0.8158 GB, free: 1.414 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.6835, allocations: 419.2 kB / 0.8162 GB, free: 1.004 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00011/0.6836, allocations: 31.89 kB / 0.8162 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.987e-05/0.6837, allocations: 37.7 kB / 0.8163 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.6847, allocations: 249.8 kB / 0.8165 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.6847, allocations: 8 kB / 0.8165 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6847, allocations: 0 / 0.8165 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.6848, allocations: 1.219 kB / 0.8165 GB, free: 0.6797 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.0009268/0.6857, allocations: 411.1 kB / 0.8169 GB, free: 236 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/0.6858, allocations: 8.031 kB / 0.8169 GB, free: 228 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005286/0.6911, allocations: 191.6 kB / 0.8171 GB, free: 36 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/0.6916, allocations: 207 kB / 0.8173 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6916, allocations: 8.188 kB / 0.8173 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.409e-05/0.6917, allocations: 4 kB / 0.8173 GB, free: 15.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.6928, allocations: 210.9 kB / 0.8175 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.6928, allocations: 0 / 0.8175 GB, free: 15.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.6929, allocations: 8 kB / 0.8175 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.6929, allocations: 0 / 0.8175 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001427/0.6944, allocations: 240.4 kB / 0.8177 GB, free: 15.33 MB / 410.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.003787/0.6982, allocations: 0.6806 MB / 0.8184 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.6993, allocations: 192.8 kB / 0.8186 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.6999, allocations: 96.81 kB / 0.8187 GB, free: 14.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.7002, allocations: 89.09 kB / 0.8188 GB, free: 14.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/0.7003, allocations: 34.81 kB / 0.8188 GB, free: 14.15 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.198e-06/0.7003, allocations: 0 / 0.8188 GB, free: 14.15 MB / 410.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.01387/0.7142, allocations: 1.548 MB / 0.8203 GB, free: 12.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.7143, allocations: 55.41 kB / 0.8204 GB, free: 12.43 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.7145, allocations: 109.8 kB / 0.8205 GB, free: 12.31 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.204e-05/0.7146, allocations: 29.7 kB / 0.8205 GB, free: 12.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.7147, allocations: 104.3 kB / 0.8206 GB, free: 12.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.7149, allocations: 67 kB / 0.8207 GB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.7149, allocations: 4 kB / 0.8207 GB, free: 12.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.7151, allocations: 318.8 kB / 0.821 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004022/0.7155, allocations: 87.95 kB / 0.821 GB, free: 11.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/0.7159, allocations: 135 kB / 0.8212 GB, free: 11.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/0.7164, allocations: 95.98 kB / 0.8213 GB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7164, allocations: 0 / 0.8213 GB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001151/0.7176, allocations: 278.4 kB / 0.8215 GB, free: 11.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.7176, allocations: 12.09 kB / 0.8215 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.7177, allocations: 0 / 0.8215 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002045/0.7179, allocations: 20.84 kB / 0.8216 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000861/0.7187, allocations: 63.84 kB / 0.8216 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005147/0.7193, allocations: 0.5328 MB / 0.8221 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005458/0.7198, allocations: 16.11 kB / 0.8222 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.7199, allocations: 8 kB / 0.8222 GB, free: 10.5 MB / 410.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.0001965/0.7201, allocations: 118.6 kB / 0.8223 GB, free: 10.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.7202, allocations: 19.84 kB / 0.8223 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.7216, allocations: 318.9 kB / 0.8226 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.7217, allocations: 3.984 kB / 0.8226 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.7217, allocations: 0 / 0.8226 GB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.461e-05/0.7218, allocations: 85.02 kB / 0.8227 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.7219, allocations: 4 kB / 0.8227 GB, free: 9.922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006053/0.7225, allocations: 15.98 kB / 0.8227 GB, free: 9.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.7225, allocations: 11.98 kB / 0.8227 GB, free: 9.895 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00187/0.7244, allocations: 330.3 kB / 0.823 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001429/0.7259, allocations: 457.8 kB / 0.8235 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003776/0.7263, allocations: 80 kB / 0.8235 GB, free: 9.023 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.7264, allocations: 91.2 kB / 0.8236 GB, free: 8.934 MB / 410.7 MB Notification: Performance of Backend: time 5.92e-07/0.7264, allocations: 4 kB / 0.8236 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002238/0.7287, allocations: 401.9 kB / 0.824 GB, free: 8.531 MB / 410.7 MB Notification: Performance of SimCode: time 0.001542/0.7302, allocations: 0.9731 MB / 0.825 GB, free: 7.512 MB / 410.7 MB Notification: Performance of Templates: time 0.02052/0.7508, allocations: 7.575 MB / 0.8324 GB, free: 15.96 MB / 426.7 MB