Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 221.3 MB / 236 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008726/0.0008726, allocations: 89.86 kB / 287 MB, free: 200 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.226/0.226, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.61e-05/3.612e-05, allocations: 4.219 kB / 451.9 MB, free: 9.348 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1586, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.448/1.607, allocations: 0.4902 GB / 0.992 GB, free: 129.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/1.607, allocations: 76.47 kB / 0.992 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1033/1.71, allocations: 48.14 MB / 1.039 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.315e-06/1.711, allocations: 0 / 1.039 GB, free: 86.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.476e-05/1.711, allocations: 4 kB / 1.039 GB, free: 86.89 MB / 0.5261 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.001716/1.712, allocations: 0.6468 MB / 1.04 GB, free: 86.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/1.712, allocations: 8.031 kB / 1.04 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.828e-05/1.712, allocations: 62.48 kB / 1.04 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006661/1.719, allocations: 0.6082 MB / 1.04 GB, free: 85.51 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/1.72, allocations: 246.8 kB / 1.041 GB, free: 85.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/1.72, allocations: 123.4 kB / 1.041 GB, free: 85.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.883e-05/1.72, allocations: 20 kB / 1.041 GB, free: 85.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/1.721, allocations: 0.5244 MB / 1.041 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.565e-05/1.721, allocations: 4 kB / 1.041 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/1.721, allocations: 7.953 kB / 1.041 GB, free: 84.49 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/1.721, allocations: 11.94 kB / 1.041 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009735/1.722, allocations: 0.5715 MB / 1.042 GB, free: 83.91 MB / 0.5261 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.001922/1.724, allocations: 1.702 MB / 1.043 GB, free: 82.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.724, allocations: 151.9 kB / 1.044 GB, free: 81.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/1.724, allocations: 73.16 kB / 1.044 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009855/1.725, allocations: 1.246 MB / 1.045 GB, free: 80.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/1.725, allocations: 38.56 kB / 1.045 GB, free: 80.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 2.685e-06/1.725, allocations: 0 / 1.045 GB, free: 80.3 MB / 0.5261 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.0007941/1.726, allocations: 275.4 kB / 1.045 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/1.726, allocations: 55.36 kB / 1.045 GB, free: 79.96 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/1.726, allocations: 169.6 kB / 1.045 GB, free: 79.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/1.726, allocations: 33.7 kB / 1.045 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/1.726, allocations: 187.4 kB / 1.046 GB, free: 79.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/1.726, allocations: 70.95 kB / 1.046 GB, free: 79.49 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/1.726, allocations: 12 kB / 1.046 GB, free: 79.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/1.726, allocations: 322.8 kB / 1.046 GB, free: 79.15 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.889e-05/1.727, allocations: 60.75 kB / 1.046 GB, free: 79.09 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001816/1.727, allocations: 256 kB / 1.046 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/1.727, allocations: 104.9 kB / 1.046 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/1.727, allocations: 3.938 kB / 1.046 GB, free: 78.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004807/1.727, allocations: 359.9 kB / 1.047 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/1.727, allocations: 12 kB / 1.047 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.727, allocations: 8 kB / 1.047 GB, free: 78.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.727, allocations: 15.94 kB / 1.047 GB, free: 78.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003725/1.728, allocations: 123.9 kB / 1.047 GB, free: 78.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002933/1.728, allocations: 0.6054 MB / 1.048 GB, free: 77.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/1.728, allocations: 39.59 kB / 1.048 GB, free: 77.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.318e-05/1.728, allocations: 48.08 kB / 1.048 GB, free: 77.41 MB / 0.5261 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 9.599e-05/1.729, allocations: 124.9 kB / 1.048 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.993e-05/1.729, allocations: 23.77 kB / 1.048 GB, free: 77.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000803/1.729, allocations: 458.8 kB / 1.048 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/1.729, allocations: 4 kB / 1.048 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.729, allocations: 0 / 1.048 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/1.729, allocations: 0 / 1.048 GB, free: 76.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007346/1.73, allocations: 0.7507 MB / 1.049 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.73, allocations: 0 / 1.049 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/1.73, allocations: 67.91 kB / 1.049 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/1.73, allocations: 4 kB / 1.049 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/1.73, allocations: 12.27 kB / 1.049 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001994/1.731, allocations: 0.6015 MB / 1.05 GB, free: 75.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.731, allocations: 0 / 1.05 GB, free: 75.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/1.731, allocations: 418.4 kB / 1.05 GB, free: 74.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/1.731, allocations: 108.9 kB / 1.05 GB, free: 74.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.201e-05/1.731, allocations: 15.98 kB / 1.05 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.731, allocations: 4 kB / 1.05 GB, free: 74.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/1.731, allocations: 31.88 kB / 1.05 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/1.731, allocations: 27.92 kB / 1.05 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.756e-05/1.731, allocations: 131.7 kB / 1.05 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/1.731, allocations: 4 kB / 1.05 GB, free: 74.38 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008794/1.732, allocations: 207.8 kB / 1.05 GB, free: 74.17 MB / 0.5261 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.001533/1.734, allocations: 2.128 MB / 1.053 GB, free: 71.97 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004216/1.734, allocations: 209.1 kB / 1.053 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/1.734, allocations: 0 / 1.053 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/1.735, allocations: 84.41 kB / 1.053 GB, free: 71.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/1.735, allocations: 52.14 kB / 1.053 GB, free: 71.63 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/1.78, allocations: 22.43 MB / 1.075 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.78, allocations: 0.7325 MB / 1.076 GB, free: 48.27 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0007943/1.781, allocations: 420 kB / 1.076 GB, free: 47.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/1.781, allocations: 95.36 kB / 1.076 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/1.781, allocations: 0 / 1.076 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/1.808, allocations: 16.42 MB / 1.092 GB, free: 31.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/1.808, allocations: 207.2 kB / 1.092 GB, free: 31.24 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.325/4.134, allocations: 0 / 1.092 GB, free: 31.24 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)