Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004083/0.004083, allocations: 352.4 kB / 15.95 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.946/3.946, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003595/0.003595, allocations: 225.1 kB / 397.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5659/0.5659, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.08684, allocations: 48.7 MB / 0.6067 GB, free: 4.648 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4769/0.5638, allocations: 136.5 MB / 0.7401 GB, free: 8.273 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.5657, allocations: 0.9075 MB / 0.7409 GB, free: 7.375 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.5658, allocations: 0 / 0.7409 GB, free: 7.375 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.566, allocations: 31.81 kB / 0.741 GB, free: 7.344 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008165/0.5668, allocations: 203 kB / 0.7412 GB, free: 7.145 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.5674, allocations: 91.8 kB / 0.7413 GB, free: 7.055 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004681/0.5679, allocations: 183.2 kB / 0.7414 GB, free: 6.875 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.933e-05/0.5679, allocations: 8 kB / 0.7414 GB, free: 6.867 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.5682, allocations: 79.62 kB / 0.7415 GB, free: 6.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.5684, allocations: 55.83 kB / 0.7416 GB, free: 6.734 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.073e-05/0.5684, allocations: 4 kB / 0.7416 GB, free: 6.73 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.5694, allocations: 263.6 kB / 0.7418 GB, free: 6.473 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 6.566e-05/0.5695, allocations: 15.92 kB / 0.7418 GB, free: 6.457 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.558e-05/0.5696, allocations: 45.64 kB / 0.7419 GB, free: 6.406 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000505/0.5701, allocations: 205.8 kB / 0.7421 GB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5701, allocations: 0 / 0.7421 GB, free: 6.207 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5701, allocations: 0 / 0.7421 GB, free: 6.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.5701, allocations: 0 / 0.7421 GB, free: 6.207 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006728/0.5708, allocations: 378.6 kB / 0.7424 GB, free: 5.793 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.5709, allocations: 8.031 kB / 0.7424 GB, free: 5.785 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.5744, allocations: 191.6 kB / 0.7426 GB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.5748, allocations: 206.4 kB / 0.7428 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.5749, allocations: 4 kB / 0.7428 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.575, allocations: 8 kB / 0.7428 GB, free: 5.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008141/0.5758, allocations: 221.7 kB / 0.743 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.5758, allocations: 7.953 kB / 0.7431 GB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.5759, allocations: 8 kB / 0.7431 GB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.5759, allocations: 4 kB / 0.7431 GB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.5767, allocations: 167.8 kB / 0.7432 GB, free: 4.934 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.001626/0.5784, allocations: 0.58 MB / 0.7438 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.579, allocations: 146.9 kB / 0.7439 GB, free: 4.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002624/0.5793, allocations: 68.83 kB / 0.744 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/0.5793, allocations: 0 / 0.744 GB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.5794, allocations: 34.56 kB / 0.744 GB, free: 4.043 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.435e-06/0.5794, allocations: 0 / 0.744 GB, free: 4.043 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.009435/0.5888, allocations: 1.299 MB / 0.7453 GB, free: 2.656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.5889, allocations: 55.41 kB / 0.7454 GB, free: 2.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.589, allocations: 105.8 kB / 0.7455 GB, free: 2.477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.621e-05/0.5891, allocations: 33.7 kB / 0.7455 GB, free: 2.438 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.5892, allocations: 99.88 kB / 0.7456 GB, free: 2.336 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.5893, allocations: 69.83 kB / 0.7456 GB, free: 2.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.5893, allocations: 8 kB / 0.7457 GB, free: 2.262 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5895, allocations: 322.8 kB / 0.746 GB, free: 1.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.5898, allocations: 63.97 kB / 0.746 GB, free: 1.875 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.5901, allocations: 103.6 kB / 0.7461 GB, free: 1.762 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.5904, allocations: 88.61 kB / 0.7462 GB, free: 1.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.155e-06/0.5905, allocations: 0 / 0.7462 GB, free: 1.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008767/0.5913, allocations: 251.2 kB / 0.7464 GB, free: 1.426 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.5914, allocations: 4 kB / 0.7465 GB, free: 1.422 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.5914, allocations: 4 kB / 0.7465 GB, free: 1.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002817/0.5917, allocations: 56.92 kB / 0.7465 GB, free: 1.359 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005942/0.5923, allocations: 55.89 kB / 0.7466 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006382/0.593, allocations: 0.5563 MB / 0.7471 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/0.5933, allocations: 15.11 kB / 0.7471 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.5934, allocations: 30.34 kB / 0.7471 GB, free: 0.6836 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.0001973/0.5936, allocations: 132.5 kB / 0.7473 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.044e-05/0.5937, allocations: 11.89 kB / 0.7473 GB, free: 0.5352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.5952, allocations: 339 kB / 0.7476 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.5952, allocations: 4 kB / 0.7476 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.5952, allocations: 2.312 kB / 0.7476 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.5953, allocations: 85 kB / 0.7477 GB, free: 96 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.98e-05/0.5954, allocations: 19.03 kB / 0.7477 GB, free: 80 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.5958, allocations: 8 kB / 0.7477 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.5959, allocations: 19.97 kB / 0.7477 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001492/0.5974, allocations: 335.4 kB / 0.7481 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001111/0.5985, allocations: 451 kB / 0.7485 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002937/0.5988, allocations: 80.12 kB / 0.7486 GB, free: 15.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.371e-05/0.5989, allocations: 91.27 kB / 0.7487 GB, free: 15.09 MB / 410.7 MB Notification: Performance of Backend: time 6.91e-07/0.599, allocations: 4 kB / 0.7487 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.6007, allocations: 313.6 kB / 0.749 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 0.0015/0.6022, allocations: 0.9797 MB / 0.7499 GB, free: 13.77 MB / 410.7 MB Notification: Performance of Templates: time 0.01882/0.6211, allocations: 6.491 MB / 0.7563 GB, free: 7.379 MB / 410.7 MB