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.001346/0.001346, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.409/1.409, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 103.3 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4479/0.4479, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 11.98 kB / 460 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4537, allocations: 61.89 MB / 0.5096 GB, free: 37.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.187/1.641, allocations: 0.4902 GB / 0.9999 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.641, allocations: 83.92 kB / 1 GB, free: 100.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.102/1.743, allocations: 48.23 MB / 1.047 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.443e-06/1.743, allocations: 0 / 1.047 GB, free: 51.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.677e-05/1.743, allocations: 4 kB / 1.047 GB, free: 51.65 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.001552/1.745, allocations: 0.6632 MB / 1.048 GB, free: 50.94 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.745, allocations: 8.031 kB / 1.048 GB, free: 50.93 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.419e-05/1.745, allocations: 58.55 kB / 1.048 GB, free: 50.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007029/1.752, allocations: 0.5926 MB / 1.048 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004866/1.752, allocations: 254.7 kB / 1.049 GB, free: 49.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/1.753, allocations: 123.4 kB / 1.049 GB, free: 49.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-05/1.753, allocations: 20 kB / 1.049 GB, free: 49.82 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/1.754, allocations: 0.5556 MB / 1.049 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/1.754, allocations: 0 / 1.049 GB, free: 49.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.956e-05/1.754, allocations: 15.95 kB / 1.049 GB, free: 49.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.269e-05/1.754, allocations: 15.92 kB / 1.049 GB, free: 49.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/1.755, allocations: 0.6026 MB / 1.05 GB, free: 48.59 MB / 0.5261 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.00186/1.757, allocations: 1.705 MB / 1.052 GB, free: 46.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/1.757, allocations: 158.5 kB / 1.052 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/1.758, allocations: 1.246 MB / 1.053 GB, free: 45.11 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/1.758, allocations: 38.56 kB / 1.053 GB, free: 45.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=19): time 2.204e-06/1.758, allocations: 0 / 1.053 GB, free: 45.06 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.0009317/1.759, allocations: 333.2 kB / 1.053 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/1.759, allocations: 51.41 kB / 1.053 GB, free: 44.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/1.759, allocations: 178.1 kB / 1.053 GB, free: 44.49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/1.759, allocations: 25.7 kB / 1.054 GB, free: 44.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/1.759, allocations: 191.2 kB / 1.054 GB, free: 44.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/1.759, allocations: 63.09 kB / 1.054 GB, free: 44.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/1.76, allocations: 12 kB / 1.054 GB, free: 44.19 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.436e-05/1.76, allocations: 322.8 kB / 1.054 GB, free: 43.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/1.76, allocations: 68.64 kB / 1.054 GB, free: 43.79 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/1.76, allocations: 256.1 kB / 1.054 GB, free: 43.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/1.76, allocations: 109.1 kB / 1.054 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.626e-06/1.76, allocations: 0 / 1.054 GB, free: 43.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005027/1.761, allocations: 366.6 kB / 1.055 GB, free: 42.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/1.761, allocations: 11.94 kB / 1.055 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.761, allocations: 8 kB / 1.055 GB, free: 42.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/1.761, allocations: 12.81 kB / 1.055 GB, free: 42.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004164/1.761, allocations: 131.8 kB / 1.055 GB, free: 42.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002704/1.761, allocations: 0.6055 MB / 1.056 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/1.762, allocations: 43.59 kB / 1.056 GB, free: 42.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/1.762, allocations: 39.98 kB / 1.056 GB, free: 42.11 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 () * 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.0001253/1.762, allocations: 145.7 kB / 1.056 GB, free: 41.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/1.762, allocations: 23.86 kB / 1.056 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008465/1.763, allocations: 463 kB / 1.056 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/1.763, allocations: 0 / 1.056 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.763, allocations: 0 / 1.056 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.763, allocations: 3.984 kB / 1.056 GB, free: 41.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008094/1.764, allocations: 0.7546 MB / 1.057 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.764, allocations: 4 kB / 1.057 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/1.764, allocations: 63.95 kB / 1.057 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.764, allocations: 4 kB / 1.057 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.497e-05/1.764, allocations: 15.98 kB / 1.057 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002047/1.764, allocations: 0.598 MB / 1.058 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.764, allocations: 0 / 1.058 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003463/1.764, allocations: 424.6 kB / 1.058 GB, free: 39.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.694e-05/1.765, allocations: 116.8 kB / 1.058 GB, free: 39.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.134e-05/1.765, allocations: 8 kB / 1.058 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/1.765, allocations: 4 kB / 1.058 GB, free: 39.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/1.765, allocations: 31.86 kB / 1.058 GB, free: 39.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/1.765, allocations: 32 kB / 1.058 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.482e-05/1.765, allocations: 129 kB / 1.058 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/1.765, allocations: 0 / 1.058 GB, free: 39.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008844/1.766, allocations: 203.8 kB / 1.059 GB, free: 38.84 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 () * 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.00155/1.767, allocations: 2.136 MB / 1.061 GB, free: 36.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004371/1.768, allocations: 214.8 kB / 1.061 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.768, allocations: 4 kB / 1.061 GB, free: 36.42 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/1.768, allocations: 77.33 kB / 1.061 GB, free: 36.35 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/1.768, allocations: 56.39 kB / 1.061 GB, free: 36.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04629/1.815, allocations: 27.99 MB / 1.088 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/1.815, allocations: 0.7287 MB / 1.089 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008338/1.816, allocations: 424.2 kB / 1.089 GB, free: 6.805 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/1.816, allocations: 95.36 kB / 1.09 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of SimCode: time 2.464e-06/1.816, allocations: 4 kB / 1.09 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3477/2.164, allocations: 14.87 MB / 1.104 GB, free: 134.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/2.164, allocations: 242.2 kB / 1.104 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/4.413, allocations: 0 / 1.104 GB, free: 134.7 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)