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.001/0.001, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.259/1.259, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008807/0.0008806, allocations: 91.22 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2053/0.2053, allocations: 45.14 MB / 389.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.773e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09706, allocations: 63.24 MB / 0.5115 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.32, allocations: 0.4912 GB / 1.003 GB, free: 166.7 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/1.32, allocations: 74.14 kB / 1.003 GB, free: 166.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.09526/1.415, allocations: 48.22 MB / 1.05 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.714e-06/1.415, allocations: 0 / 1.05 GB, free: 128.4 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.415, allocations: 3.984 kB / 1.05 GB, free: 128.4 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.001216/1.416, allocations: 0.6532 MB / 1.05 GB, free: 127.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/1.417, allocations: 11.97 kB / 1.05 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/1.417, allocations: 60.22 kB / 1.051 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006779/1.423, allocations: 0.6091 MB / 1.051 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003249/1.424, allocations: 251.9 kB / 1.051 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-05/1.424, allocations: 134.7 kB / 1.051 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.91e-05/1.424, allocations: 19.5 kB / 1.052 GB, free: 126.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/1.425, allocations: 0.5195 MB / 1.052 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/1.425, allocations: 4 kB / 1.052 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.279e-05/1.425, allocations: 19.73 kB / 1.052 GB, free: 126.3 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/1.425, allocations: 11.92 kB / 1.052 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/1.426, allocations: 0.5634 MB / 1.053 GB, free: 125.8 MB / 0.5417 GB Warning: The model contains alias variables with conflicting start and/or 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.001638/1.427, allocations: 1.711 MB / 1.054 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.428, allocations: 146.7 kB / 1.054 GB, free: 124 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/1.428, allocations: 74.14 kB / 1.054 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/1.429, allocations: 1.262 MB / 1.056 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/1.429, allocations: 34.52 kB / 1.056 GB, free: 122.4 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=19): time 2.535e-06/1.429, allocations: 0 / 1.056 GB, free: 122.4 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.0007307/1.429, allocations: 279.7 kB / 1.056 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.128e-05/1.429, allocations: 51.41 kB / 1.056 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/1.43, allocations: 166.5 kB / 1.056 GB, free: 122 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/1.43, allocations: 33.2 kB / 1.056 GB, free: 121.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/1.43, allocations: 185.5 kB / 1.056 GB, free: 121.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/1.43, allocations: 74.67 kB / 1.056 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.812e-05/1.43, allocations: 6.688 kB / 1.057 GB, free: 121.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.906e-05/1.43, allocations: 329.8 kB / 1.057 GB, free: 121.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.705e-05/1.43, allocations: 63.05 kB / 1.057 GB, free: 121.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001493/1.43, allocations: 252.8 kB / 1.057 GB, free: 121 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001391/1.43, allocations: 107 kB / 1.057 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/1.43, allocations: 4 kB / 1.057 GB, free: 120.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004407/1.431, allocations: 363 kB / 1.058 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/1.431, allocations: 8.938 kB / 1.058 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/1.431, allocations: 8 kB / 1.058 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.431, allocations: 12 kB / 1.058 GB, free: 120.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/1.431, allocations: 123.4 kB / 1.058 GB, free: 120.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002088/1.431, allocations: 0.6011 MB / 1.058 GB, free: 119.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/1.432, allocations: 42.53 kB / 1.058 GB, free: 119.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.481e-05/1.432, allocations: 39.23 kB / 1.058 GB, free: 119.8 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 () * 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 8.216e-05/1.432, allocations: 144 kB / 1.059 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/1.432, allocations: 23.8 kB / 1.059 GB, free: 119.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007343/1.432, allocations: 455 kB / 1.059 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.433, allocations: 0 / 1.059 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.433, allocations: 4 kB / 1.059 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.433, allocations: 3.938 kB / 1.059 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007171/1.433, allocations: 0.7437 MB / 1.06 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/1.433, allocations: 0 / 1.06 GB, free: 118.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/1.433, allocations: 63.22 kB / 1.06 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.433, allocations: 4 kB / 1.06 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/1.434, allocations: 15.73 kB / 1.06 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001633/1.434, allocations: 0.6016 MB / 1.06 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.434, allocations: 4.031 kB / 1.06 GB, free: 117.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/1.434, allocations: 418.5 kB / 1.061 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 8.382e-05/1.434, allocations: 112.3 kB / 1.061 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.928e-05/1.434, allocations: 11.67 kB / 1.061 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/1.434, allocations: 11.98 kB / 1.061 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/1.434, allocations: 27.38 kB / 1.061 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.434, allocations: 27.55 kB / 1.061 GB, free: 117 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.358e-05/1.434, allocations: 130 kB / 1.061 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/1.435, allocations: 3.938 kB / 1.061 GB, free: 116.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007522/1.435, allocations: 214.7 kB / 1.061 GB, free: 116.8 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 () * 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.001326/1.437, allocations: 2.128 MB / 1.063 GB, free: 114.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003835/1.437, allocations: 219.4 kB / 1.064 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/1.437, allocations: 1.875 kB / 1.064 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/1.437, allocations: 75.66 kB / 1.064 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/1.438, allocations: 55.8 kB / 1.064 GB, free: 114.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04155/1.479, allocations: 22.61 MB / 1.086 GB, free: 91.93 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/1.479, allocations: 0.7326 MB / 1.087 GB, free: 91.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007246/1.48, allocations: 420 kB / 1.087 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/1.48, allocations: 99.3 kB / 1.087 GB, free: 90.66 MB / 0.5417 GB Notification: Performance of SimCode: time 4.61e-07/1.48, allocations: 0 / 1.087 GB, free: 90.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/1.507, allocations: 16.49 MB / 1.103 GB, free: 74.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.507, allocations: 214.5 kB / 1.103 GB, free: 74.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/3.592, allocations: 4 kB / 1.103 GB, free: 74.07 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)