Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001624/0.001624, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.236/0.236, allocations: 46.11 MB / 344.2 MB, free: 11.53 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002753/0.002753, allocations: 84.56 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1254, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4578/0.5832, allocations: 153 MB / 0.6184 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00728/0.5905, allocations: 5.315 MB / 0.6236 GB, free: 4.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002455/0.5908, allocations: 7.875 kB / 0.6236 GB, free: 4.715 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.5913, allocations: 47.67 kB / 0.6236 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004623/0.596, allocations: 1.324 MB / 0.6249 GB, free: 3.34 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.5964, allocations: 146.2 kB / 0.6251 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008188/0.5972, allocations: 398.1 kB / 0.6254 GB, free: 2.812 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.5973, allocations: 21.66 kB / 0.6255 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004049/0.5977, allocations: 163.4 kB / 0.6256 GB, free: 2.633 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003857/0.5981, allocations: 171.5 kB / 0.6258 GB, free: 2.465 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.641e-05/0.5982, allocations: 8 kB / 0.6258 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002927/0.6011, allocations: 1.053 MB / 0.6268 GB, free: 1.402 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.6012, allocations: 43.81 kB / 0.6269 GB, free: 1.359 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.6015, allocations: 111.5 kB / 0.627 GB, free: 1.25 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.604, allocations: 0.8537 MB / 0.6278 GB, free: 404 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.6041, allocations: 0 / 0.6278 GB, free: 404 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6041, allocations: 0 / 0.6278 GB, free: 404 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.6041, allocations: 0 / 0.6278 GB, free: 404 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001831/0.6059, allocations: 0.6872 MB / 0.6285 GB, free: 15.66 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.606, allocations: 11.97 kB / 0.6285 GB, free: 15.64 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.6061, allocations: 66.72 kB / 0.6285 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008309/0.6144, allocations: 0.6058 MB / 0.6291 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006274/0.6151, allocations: 267.5 kB / 0.6294 GB, free: 14.66 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001704/0.6153, allocations: 119.4 kB / 0.6295 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.6155, allocations: 24 kB / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6169, allocations: 0.5634 MB / 0.6301 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.617, allocations: 3.938 kB / 0.6301 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.6171, allocations: 12 kB / 0.6301 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/0.6171, allocations: 8 kB / 0.6301 GB, free: 13.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.6187, allocations: 0.626 MB / 0.6307 GB, free: 13.25 MB / 478.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.002758/0.6215, allocations: 1.713 MB / 0.6324 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/0.6219, allocations: 158.5 kB / 0.6325 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.6221, allocations: 78.92 kB / 0.6326 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002062/0.6242, allocations: 1.483 MB / 0.6341 GB, free: 9.395 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.6242, allocations: 35.44 kB / 0.6341 GB, free: 9.352 MB / 478.1 MB Notification: Performance of pre-optimization done (n=19): time 2.886e-06/0.6242, allocations: 4 kB / 0.6341 GB, free: 9.348 MB / 478.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.001198/0.6254, allocations: 328.1 kB / 0.6344 GB, free: 9.027 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.6255, allocations: 55.34 kB / 0.6345 GB, free: 8.961 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.6257, allocations: 190.5 kB / 0.6346 GB, free: 8.766 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.6258, allocations: 29.7 kB / 0.6347 GB, free: 8.73 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.6259, allocations: 175.3 kB / 0.6348 GB, free: 8.555 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.976e-05/0.626, allocations: 75.08 kB / 0.6349 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001693/0.6262, allocations: 89.88 kB / 0.635 GB, free: 8.387 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.6264, allocations: 334.8 kB / 0.6353 GB, free: 8.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/0.6266, allocations: 64.72 kB / 0.6354 GB, free: 7.988 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.6269, allocations: 268.5 kB / 0.6356 GB, free: 7.633 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005974/0.6275, allocations: 371 kB / 0.636 GB, free: 7.176 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.106e-05/0.6276, allocations: 4 kB / 0.636 GB, free: 7.172 MB / 478.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007672/0.6283, allocations: 368.8 kB / 0.6363 GB, free: 6.809 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.6284, allocations: 8.938 kB / 0.6363 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.6284, allocations: 5.5 kB / 0.6364 GB, free: 6.797 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/0.6284, allocations: 12 kB / 0.6364 GB, free: 6.785 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000451/0.6289, allocations: 131.8 kB / 0.6365 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/0.6294, allocations: 0.5977 MB / 0.6371 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000292/0.6297, allocations: 51.52 kB / 0.6371 GB, free: 5.984 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.6298, allocations: 40 kB / 0.6372 GB, free: 5.945 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.63, allocations: 145.8 kB / 0.6373 GB, free: 5.793 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.6301, allocations: 19.8 kB / 0.6373 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.6312, allocations: 456.6 kB / 0.6378 GB, free: 5.32 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6312, allocations: 11.92 kB / 0.6378 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6312, allocations: 0 / 0.6378 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.6312, allocations: 0 / 0.6378 GB, free: 5.309 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001107/0.6324, allocations: 0.643 MB / 0.6384 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.6324, allocations: 0 / 0.6384 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.6326, allocations: 59.97 kB / 0.6385 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.6326, allocations: 0 / 0.6385 GB, free: 4.508 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.6327, allocations: 11.98 kB / 0.6385 GB, free: 4.496 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004118/0.6331, allocations: 0.5938 MB / 0.639 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6331, allocations: 0 / 0.639 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.6336, allocations: 303.7 kB / 0.6393 GB, free: 3.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.6337, allocations: 104.8 kB / 0.6394 GB, free: 3.422 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.6338, allocations: 11.92 kB / 0.6394 GB, free: 3.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002495/0.634, allocations: 12 kB / 0.6395 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.6341, allocations: 23.91 kB / 0.6395 GB, free: 3.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-05/0.6342, allocations: 16 kB / 0.6395 GB, free: 3.359 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.6343, allocations: 135.2 kB / 0.6396 GB, free: 3.227 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6343, allocations: 0 / 0.6396 GB, free: 3.227 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007068/0.635, allocations: 172 kB / 0.6398 GB, free: 3.059 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001347/0.6364, allocations: 1.008 MB / 0.6408 GB, free: 2.008 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005804/0.637, allocations: 228.7 kB / 0.641 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.637, allocations: 0 / 0.641 GB, free: 1.785 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.6372, allocations: 83.83 kB / 0.6411 GB, free: 1.703 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.6378, allocations: 72.41 kB / 0.6411 GB, free: 1.637 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004458/0.6423, allocations: 3.04 MB / 0.6441 GB, free: 14.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.6427, allocations: 0.7285 MB / 0.6448 GB, free: 13.53 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000854/0.6435, allocations: 395 kB / 0.6452 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.6438, allocations: 87.38 kB / 0.6453 GB, free: 13.06 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6438, allocations: 0 / 0.6453 GB, free: 13.06 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.6789, allocations: 7.873 MB / 0.653 GB, free: 5.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.44, allocations: 13.28 kB / 0.653 GB, free: 5.316 MB / 494.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)