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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009889/0.009895, allocations: 163.8 kB / 15.12 MB, free: 5.957 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 1.718/1.718, allocations: 170.8 MB / 186.6 MB, free: 1.113 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001795/0.001795, allocations: 109.9 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4537/0.4537, allocations: 38.06 MB / 303.7 MB, free: 42.31 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006286/0.000629, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1079, allocations: 48.72 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.6137/0.7217, allocations: 136.5 MB / 0.5354 GB, free: 5.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.7237, allocations: 0.9068 MB / 0.5363 GB, free: 4.723 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.7238, allocations: 0 / 0.5363 GB, free: 4.723 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.7241, allocations: 29.94 kB / 0.5363 GB, free: 4.695 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.7249, allocations: 203.1 kB / 0.5365 GB, free: 4.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.7254, allocations: 93.78 kB / 0.5366 GB, free: 4.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.7258, allocations: 179.2 kB / 0.5367 GB, free: 4.234 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.7258, allocations: 15.38 kB / 0.5367 GB, free: 4.223 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002556/0.7261, allocations: 87.64 kB / 0.5368 GB, free: 4.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.7263, allocations: 47.83 kB / 0.5369 GB, free: 4.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.7263, allocations: 4 kB / 0.5369 GB, free: 4.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008909/0.7272, allocations: 267.7 kB / 0.5371 GB, free: 3.824 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.123e-05/0.7273, allocations: 23.91 kB / 0.5372 GB, free: 3.801 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.7e-05/0.7274, allocations: 37.64 kB / 0.5372 GB, free: 3.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004846/0.7279, allocations: 194.2 kB / 0.5374 GB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7279, allocations: 0 / 0.5374 GB, free: 3.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7279, allocations: 0 / 0.5374 GB, free: 3.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.7279, allocations: 0 / 0.5374 GB, free: 3.57 MB / 378.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.0006127/0.7285, allocations: 397.9 kB / 0.5378 GB, free: 3.137 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.7286, allocations: 8.031 kB / 0.5378 GB, free: 3.129 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.069e-05/0.7287, allocations: 38.56 kB / 0.5378 GB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003515/0.7322, allocations: 186.9 kB / 0.538 GB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.7326, allocations: 207.8 kB / 0.5382 GB, free: 2.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.7326, allocations: 12 kB / 0.5382 GB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.752e-05/0.7327, allocations: 11.98 kB / 0.5382 GB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.7336, allocations: 217.6 kB / 0.5384 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7336, allocations: 0 / 0.5384 GB, free: 2.41 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.48e-05/0.7337, allocations: 7.953 kB / 0.5384 GB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.7337, allocations: 4 kB / 0.5384 GB, free: 2.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.7345, allocations: 175.8 kB / 0.5386 GB, free: 2.227 MB / 378.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.001652/0.7361, allocations: 0.5641 MB / 0.5391 GB, free: 1.605 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.7367, allocations: 140.9 kB / 0.5393 GB, free: 1.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.7369, allocations: 68.83 kB / 0.5393 GB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.737, allocations: 4 kB / 0.5393 GB, free: 1.387 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.737, allocations: 30.56 kB / 0.5394 GB, free: 1.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.825e-06/0.737, allocations: 0 / 0.5394 GB, free: 1.348 MB / 378.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.009325/0.7464, allocations: 1.304 MB / 0.5406 GB, free: 15.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.7464, allocations: 59.34 kB / 0.5407 GB, free: 15.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.7466, allocations: 115.2 kB / 0.5408 GB, free: 15.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.7466, allocations: 29.7 kB / 0.5408 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.593e-05/0.7467, allocations: 95.97 kB / 0.5409 GB, free: 15.63 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.7468, allocations: 67.02 kB / 0.541 GB, free: 15.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.7469, allocations: 4 kB / 0.541 GB, free: 15.56 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.747, allocations: 326.8 kB / 0.5413 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.7473, allocations: 75.89 kB / 0.5414 GB, free: 15.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.7476, allocations: 97.61 kB / 0.5415 GB, free: 15.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.748, allocations: 81.48 kB / 0.5416 GB, free: 14.97 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.748, allocations: 0 / 0.5416 GB, free: 14.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008325/0.7488, allocations: 258.4 kB / 0.5418 GB, free: 14.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7489, allocations: 4 kB / 0.5418 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7489, allocations: 0 / 0.5418 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002727/0.7492, allocations: 60.69 kB / 0.5419 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.7497, allocations: 53.34 kB / 0.5419 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005867/0.7504, allocations: 0.5719 MB / 0.5425 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.7507, allocations: 8 kB / 0.5425 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.767e-05/0.7508, allocations: 20 kB / 0.5425 GB, free: 13.97 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.0001771/0.751, allocations: 126.8 kB / 0.5426 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.751, allocations: 19.98 kB / 0.5426 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.7524, allocations: 350.7 kB / 0.543 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.7525, allocations: 0 / 0.543 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.7525, allocations: 4 kB / 0.543 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7525, allocations: 3.984 kB / 0.543 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.7541, allocations: 0.623 MB / 0.5436 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-06/0.7541, allocations: 0 / 0.5436 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.7547, allocations: 59.89 kB / 0.5436 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/0.7549, allocations: 20.84 kB / 0.5437 GB, free: 12.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.7549, allocations: 15.98 kB / 0.5437 GB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.7563, allocations: 1.268 MB / 0.5449 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7563, allocations: 4.031 kB / 0.5449 GB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.7575, allocations: 435.1 kB / 0.5453 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.156e-05/0.7576, allocations: 92.95 kB / 0.5454 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.7576, allocations: 1.312 kB / 0.5454 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.758, allocations: 16.05 kB / 0.5454 GB, free: 10.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.443e-05/0.7581, allocations: 27.94 kB / 0.5455 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/0.7582, allocations: 23.98 kB / 0.5455 GB, free: 10.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.796e-05/0.7583, allocations: 91.27 kB / 0.5456 GB, free: 10.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7583, allocations: 0 / 0.5456 GB, free: 10.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006056/0.7589, allocations: 76 kB / 0.5457 GB, free: 10.48 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 (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.001958/0.7609, allocations: 1.013 MB / 0.5466 GB, free: 9.434 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008034/0.7617, allocations: 199.6 kB / 0.5468 GB, free: 9.242 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7618, allocations: 4 kB / 0.5468 GB, free: 9.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005232/0.7623, allocations: 216.3 kB / 0.547 GB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007251/0.763, allocations: 47.89 kB / 0.5471 GB, free: 8.969 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.7658, allocations: 1.106 MB / 0.5482 GB, free: 7.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.7663, allocations: 0.7088 MB / 0.5489 GB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008052/0.7671, allocations: 81.39 kB / 0.5489 GB, free: 6.988 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000427/0.7675, allocations: 63.41 kB / 0.549 GB, free: 6.926 MB / 394.7 MB Notification: Performance of SimCode: time 1.763e-06/0.7676, allocations: 0 / 0.549 GB, free: 6.926 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03807/0.8056, allocations: 6.881 MB / 0.5557 GB, free: 124 kB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000358/0.8061, allocations: 206 kB / 0.5559 GB, free: 15.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/3.518, allocations: 0 / 0.5559 GB, free: 15.88 MB / 410.7 MB