Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.conf.json 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/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001716/0.001715, allocations: 198.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.2 MB / 245 MB, free: 5.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009125/0.0009123, allocations: 112.2 kB / 297.3 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4488/0.4488, allocations: 45.23 MB / 394.7 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003835/0.0003839, allocations: 8 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4117, allocations: 63.25 MB / 0.5193 GB, free: 37.52 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.265/1.676, allocations: 0.4913 GB / 1.011 GB, free: 110.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/1.677, allocations: 85 kB / 1.011 GB, free: 110.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.1077/1.785, allocations: 48.31 MB / 1.058 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.685e-06/1.785, allocations: 0 / 1.058 GB, free: 62.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.787e-05/1.785, allocations: 4 kB / 1.058 GB, free: 62.07 MB / 0.5417 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.001769/1.786, allocations: 0.6631 MB / 1.058 GB, free: 61.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.786, allocations: 12.02 kB / 1.058 GB, free: 61.35 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/1.787, allocations: 54.55 kB / 1.059 GB, free: 61.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007693/1.794, allocations: 0.6083 MB / 1.059 GB, free: 60.68 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005118/1.795, allocations: 254.7 kB / 1.059 GB, free: 60.39 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/1.795, allocations: 131.3 kB / 1.059 GB, free: 60.23 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/1.795, allocations: 23.98 kB / 1.059 GB, free: 60.21 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/1.796, allocations: 0.5517 MB / 1.06 GB, free: 59.62 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.796, allocations: 8 kB / 1.06 GB, free: 59.62 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/1.796, allocations: 12 kB / 1.06 GB, free: 59.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.121e-05/1.796, allocations: 4 kB / 1.06 GB, free: 59.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001287/1.798, allocations: 0.6104 MB / 1.061 GB, free: 58.99 MB / 0.5417 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.001953/1.8, allocations: 1.711 MB / 1.062 GB, free: 57.13 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/1.8, allocations: 150.5 kB / 1.062 GB, free: 56.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001155/1.801, allocations: 1.261 MB / 1.064 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/1.801, allocations: 47 kB / 1.064 GB, free: 55.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=19): time 1.983e-06/1.801, allocations: 0 / 1.064 GB, free: 55.43 MB / 0.5417 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.000934/1.802, allocations: 327.4 kB / 1.064 GB, free: 55.11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/1.802, allocations: 55.39 kB / 1.064 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/1.802, allocations: 166.3 kB / 1.064 GB, free: 54.87 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/1.802, allocations: 25.7 kB / 1.064 GB, free: 54.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.796e-05/1.802, allocations: 187.2 kB / 1.064 GB, free: 54.65 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.091e-05/1.803, allocations: 67.09 kB / 1.065 GB, free: 54.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.932e-05/1.803, allocations: 11.94 kB / 1.065 GB, free: 54.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.386e-05/1.803, allocations: 326.8 kB / 1.065 GB, free: 54.24 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/1.803, allocations: 68.64 kB / 1.065 GB, free: 54.17 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/1.803, allocations: 256.1 kB / 1.065 GB, free: 53.83 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/1.803, allocations: 105.1 kB / 1.065 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/1.803, allocations: 0 / 1.065 GB, free: 53.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005343/1.804, allocations: 383.4 kB / 1.066 GB, free: 53.35 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/1.804, allocations: 8 kB / 1.066 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/1.804, allocations: 4 kB / 1.066 GB, free: 53.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/1.804, allocations: 12 kB / 1.066 GB, free: 53.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003848/1.804, allocations: 127.8 kB / 1.066 GB, free: 53.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002508/1.804, allocations: 0.5941 MB / 1.066 GB, free: 52.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002675/1.805, allocations: 55.62 kB / 1.066 GB, free: 52.53 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.805, allocations: 43.98 kB / 1.066 GB, free: 52.48 MB / 0.5417 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001259/1.805, allocations: 145.6 kB / 1.067 GB, free: 52.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/1.805, allocations: 19.81 kB / 1.067 GB, free: 52.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/1.806, allocations: 467 kB / 1.067 GB, free: 51.85 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.806, allocations: 0 / 1.067 GB, free: 51.85 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/1.806, allocations: 0 / 1.067 GB, free: 51.85 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.806, allocations: 0 / 1.067 GB, free: 51.85 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000821/1.807, allocations: 0.7587 MB / 1.068 GB, free: 50.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/1.807, allocations: 4 kB / 1.068 GB, free: 50.96 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/1.807, allocations: 56.25 kB / 1.068 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/1.807, allocations: 8 kB / 1.068 GB, free: 50.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/1.807, allocations: 19.94 kB / 1.068 GB, free: 50.88 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002006/1.807, allocations: 0.5899 MB / 1.068 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.807, allocations: 4 kB / 1.068 GB, free: 50.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/1.808, allocations: 422.4 kB / 1.069 GB, free: 49.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.802e-05/1.808, allocations: 116.8 kB / 1.069 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/1.808, allocations: 4 kB / 1.069 GB, free: 49.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/1.808, allocations: 19.98 kB / 1.069 GB, free: 49.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/1.808, allocations: 19.88 kB / 1.069 GB, free: 49.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.355e-05/1.808, allocations: 27.98 kB / 1.069 GB, free: 49.55 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 8.434e-05/1.808, allocations: 128 kB / 1.069 GB, free: 49.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/1.808, allocations: 3.938 kB / 1.069 GB, free: 49.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008728/1.809, allocations: 215.8 kB / 1.069 GB, free: 49.21 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001858/1.811, allocations: 2.137 MB / 1.071 GB, free: 46.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0004652/1.811, allocations: 217.3 kB / 1.072 GB, free: 46.78 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.811, allocations: 8.062 kB / 1.072 GB, free: 46.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.812, allocations: 75.83 kB / 1.072 GB, free: 46.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/1.812, allocations: 63.56 kB / 1.072 GB, free: 46.64 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04765/1.86, allocations: 28.17 MB / 1.099 GB, free: 18.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/1.86, allocations: 0.7287 MB / 1.1 GB, free: 17.39 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008551/1.861, allocations: 428.1 kB / 1.1 GB, free: 16.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/1.861, allocations: 87.38 kB / 1.101 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of SimCode: time 9.21e-07/1.861, allocations: 0 / 1.101 GB, free: 16.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0323/1.893, allocations: 14.94 MB / 1.115 GB, free: 2.086 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/1.894, allocations: 234.4 kB / 1.115 GB, free: 1.848 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.222/4.115, allocations: 7.938 kB / 1.115 GB, free: 1.84 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)