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.001756/0.001756, allocations: 122.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 202 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 247 MB, free: 10.43 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.2427/0.2427, allocations: 46.12 MB / 344.4 MB, free: 11.44 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.002214/0.002214, allocations: 80.09 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3711, allocations: 62.45 MB / 0.5306 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1928/0.5639, allocations: 153 MB / 0.6801 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007349/0.5713, allocations: 5.31 MB / 0.6853 GB, free: 2.789 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002375/0.5716, allocations: 4 kB / 0.6853 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003445/0.572, allocations: 59.59 kB / 0.6853 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004341/0.5764, allocations: 1.322 MB / 0.6866 GB, free: 1.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.5768, allocations: 142.3 kB / 0.6867 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006519/0.5774, allocations: 398.1 kB / 0.6871 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.22e-05/0.5775, allocations: 9.688 kB / 0.6871 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.5778, allocations: 171.3 kB / 0.6873 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.5781, allocations: 171.5 kB / 0.6875 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.5781, allocations: 12 kB / 0.6875 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002519/0.5806, allocations: 1.098 MB / 0.6885 GB, free: 15.43 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.363e-05/0.5807, allocations: 43.77 kB / 0.6886 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.5809, allocations: 107.5 kB / 0.6887 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.5825, allocations: 0.861 MB / 0.6895 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5825, allocations: 3.938 kB / 0.6895 GB, free: 14.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5825, allocations: 0 / 0.6895 GB, free: 14.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.542e-06/0.5825, allocations: 0 / 0.6895 GB, free: 14.41 MB / 0.545 GB 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.001452/0.584, allocations: 0.7047 MB / 0.6902 GB, free: 13.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.584, allocations: 8.031 kB / 0.6902 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.104e-05/0.5841, allocations: 58.73 kB / 0.6903 GB, free: 13.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007585/0.5917, allocations: 0.6054 MB / 0.6909 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.5922, allocations: 267.2 kB / 0.6911 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001442/0.5924, allocations: 127.4 kB / 0.6913 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.627e-05/0.5924, allocations: 20 kB / 0.6913 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.5938, allocations: 0.5673 MB / 0.6918 GB, free: 11.91 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5939, allocations: 4 kB / 0.6918 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.491e-05/0.594, allocations: 8 kB / 0.6918 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/0.594, allocations: 4 kB / 0.6918 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001532/0.5955, allocations: 0.6338 MB / 0.6925 GB, free: 11.25 MB / 0.545 GB 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.002241/0.5978, allocations: 1.726 MB / 0.6941 GB, free: 9.379 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003642/0.5981, allocations: 158.5 kB / 0.6943 GB, free: 9.215 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.5983, allocations: 72.88 kB / 0.6944 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001591/0.5999, allocations: 1.483 MB / 0.6958 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3e-05/0.5999, allocations: 38.56 kB / 0.6959 GB, free: 7.348 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.6, allocations: 0 / 0.6959 GB, free: 7.348 MB / 0.545 GB 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.001009/0.601, allocations: 328 kB / 0.6962 GB, free: 7.023 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.601, allocations: 55.41 kB / 0.6962 GB, free: 6.957 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.6012, allocations: 186.5 kB / 0.6964 GB, free: 6.766 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.6012, allocations: 29.7 kB / 0.6964 GB, free: 6.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001253/0.6014, allocations: 187.8 kB / 0.6966 GB, free: 6.539 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/0.6014, allocations: 67.42 kB / 0.6967 GB, free: 6.473 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000138/0.6016, allocations: 98 kB / 0.6968 GB, free: 6.371 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.6017, allocations: 322.8 kB / 0.6971 GB, free: 6.047 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.6019, allocations: 72.64 kB / 0.6971 GB, free: 5.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/0.6022, allocations: 260.6 kB / 0.6974 GB, free: 5.629 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004893/0.6027, allocations: 377.5 kB / 0.6977 GB, free: 5.168 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6027, allocations: 0 / 0.6977 GB, free: 5.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006469/0.6034, allocations: 365.6 kB / 0.6981 GB, free: 4.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6034, allocations: 12.19 kB / 0.6981 GB, free: 4.793 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.6034, allocations: 8 kB / 0.6981 GB, free: 4.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6034, allocations: 11.94 kB / 0.6981 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.6038, allocations: 119.9 kB / 0.6982 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004004/0.6042, allocations: 0.6131 MB / 0.6988 GB, free: 4.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.6045, allocations: 51.56 kB / 0.6989 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/0.6045, allocations: 43.98 kB / 0.6989 GB, free: 3.926 MB / 0.545 GB 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.000133/0.6047, allocations: 141.8 kB / 0.6991 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.056e-05/0.6047, allocations: 19.84 kB / 0.6991 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008539/0.6056, allocations: 456 kB / 0.6995 GB, free: 3.289 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6056, allocations: 4 kB / 0.6995 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6056, allocations: 0 / 0.6995 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6056, allocations: 0 / 0.6995 GB, free: 3.285 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008869/0.6065, allocations: 0.6352 MB / 0.7001 GB, free: 2.551 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/0.6065, allocations: 11.92 kB / 0.7002 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.6068, allocations: 63.89 kB / 0.7002 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6068, allocations: 4 kB / 0.7002 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.6068, allocations: 8.25 kB / 0.7002 GB, free: 2.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003549/0.6072, allocations: 0.6054 MB / 0.7008 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6072, allocations: 4.031 kB / 0.7008 GB, free: 1.832 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000389/0.6076, allocations: 293 kB / 0.7011 GB, free: 1.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.6077, allocations: 116.9 kB / 0.7012 GB, free: 1.375 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.6077, allocations: 4 kB / 0.7012 GB, free: 1.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002383/0.608, allocations: 15.98 kB / 0.7012 GB, free: 1.355 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.608, allocations: 15.98 kB / 0.7012 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.6081, allocations: 19.98 kB / 0.7013 GB, free: 1.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001281/0.6082, allocations: 135.6 kB / 0.7014 GB, free: 1.188 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.124e-06/0.6082, allocations: 0 / 0.7014 GB, free: 1.188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006375/0.6089, allocations: 175.6 kB / 0.7016 GB, free: 1.016 MB / 0.545 GB 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.001234/0.6101, allocations: 1.01 MB / 0.7026 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.6106, allocations: 224.9 kB / 0.7028 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6106, allocations: 0 / 0.7028 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/0.6109, allocations: 84.27 kB / 0.7028 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005332/0.6114, allocations: 64.61 kB / 0.7029 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004058/0.6155, allocations: 3.065 MB / 0.7059 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.6158, allocations: 0.7206 MB / 0.7066 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006571/0.6165, allocations: 383.1 kB / 0.707 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.6167, allocations: 95.36 kB / 0.7071 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.6167, allocations: 0 / 0.7071 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.6495, allocations: 7.943 MB / 0.7148 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.44, allocations: 9.906 kB / 0.7148 GB, free: 3.223 MB / 0.5606 GB (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)