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.00189/0.00189, allocations: 121.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002157/0.002158, allocations: 203.9 kB / 18.74 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.471/1.471, allocations: 227.4 MB / 247 MB, free: 10.39 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.2267/0.2267, allocations: 46.11 MB / 344.3 MB, free: 11.43 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.002646/0.002646, allocations: 75.88 kB / 480.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3454, allocations: 62.44 MB / 0.5306 GB, free: 13.36 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1895/0.5349, allocations: 153 MB / 0.6801 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006482/0.5415, allocations: 5.326 MB / 0.6853 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.5417, allocations: 4 kB / 0.6853 GB, free: 2.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003238/0.542, allocations: 51.66 kB / 0.6853 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004117/0.5462, allocations: 1.324 MB / 0.6866 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.5466, allocations: 150.4 kB / 0.6867 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.5472, allocations: 394.1 kB / 0.6871 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.5472, allocations: 13.69 kB / 0.6871 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.5475, allocations: 167.4 kB / 0.6873 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.5479, allocations: 175.4 kB / 0.6875 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.5479, allocations: 8 kB / 0.6875 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.5507, allocations: 1.098 MB / 0.6885 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.448e-05/0.5508, allocations: 47.8 kB / 0.6886 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.5509, allocations: 111.5 kB / 0.6887 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.5526, allocations: 0.8619 MB / 0.6895 GB, free: 14.38 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5526, allocations: 4 kB / 0.6895 GB, free: 14.38 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.402e-06/0.5526, allocations: 0 / 0.6895 GB, free: 14.38 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.5526, allocations: 0 / 0.6895 GB, free: 14.38 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.001369/0.554, allocations: 0.6931 MB / 0.6902 GB, free: 13.63 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5541, allocations: 8.031 kB / 0.6902 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.601e-05/0.5541, allocations: 62.72 kB / 0.6903 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007642/0.5618, allocations: 0.6054 MB / 0.6909 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.5625, allocations: 267.2 kB / 0.6911 GB, free: 12.65 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.5626, allocations: 127.4 kB / 0.6913 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.322e-05/0.5627, allocations: 23.94 kB / 0.6913 GB, free: 12.48 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.564, allocations: 0.5673 MB / 0.6918 GB, free: 11.88 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.564, allocations: 3.938 kB / 0.6918 GB, free: 11.87 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.477e-05/0.5641, allocations: 8 kB / 0.6918 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.5641, allocations: 8 kB / 0.6919 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/0.5656, allocations: 0.6338 MB / 0.6925 GB, free: 11.22 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.002329/0.5679, allocations: 1.718 MB / 0.6941 GB, free: 9.352 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/0.5683, allocations: 162.5 kB / 0.6943 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001509/0.5685, allocations: 72.83 kB / 0.6944 GB, free: 9.109 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/0.5702, allocations: 1.479 MB / 0.6958 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.5702, allocations: 34.56 kB / 0.6958 GB, free: 7.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=19): time 2.455e-06/0.5702, allocations: 0 / 0.6958 GB, free: 7.324 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.001155/0.5714, allocations: 327.4 kB / 0.6962 GB, free: 7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.5715, allocations: 55.41 kB / 0.6962 GB, free: 6.934 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.5717, allocations: 190.5 kB / 0.6964 GB, free: 6.738 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.5717, allocations: 29.7 kB / 0.6964 GB, free: 6.703 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5719, allocations: 187.8 kB / 0.6966 GB, free: 6.512 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.572, allocations: 71.42 kB / 0.6967 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.5722, allocations: 94.02 kB / 0.6968 GB, free: 6.344 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001923/0.5724, allocations: 330.8 kB / 0.6971 GB, free: 6.012 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.5725, allocations: 60.72 kB / 0.6971 GB, free: 5.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.5729, allocations: 268.5 kB / 0.6974 GB, free: 5.598 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005304/0.5734, allocations: 366.2 kB / 0.6977 GB, free: 5.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.5734, allocations: 4 kB / 0.6977 GB, free: 5.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006711/0.5741, allocations: 369.3 kB / 0.6981 GB, free: 4.773 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.5742, allocations: 8 kB / 0.6981 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/0.5742, allocations: 8 kB / 0.6981 GB, free: 4.758 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.5742, allocations: 8 kB / 0.6981 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004217/0.5746, allocations: 131.7 kB / 0.6982 GB, free: 4.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004572/0.5751, allocations: 0.6098 MB / 0.6988 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.5754, allocations: 47.62 kB / 0.6989 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.5754, allocations: 40 kB / 0.6989 GB, free: 3.902 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.000182/0.5756, allocations: 141.7 kB / 0.6991 GB, free: 3.754 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/0.5757, allocations: 27.83 kB / 0.6991 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009202/0.5766, allocations: 459.3 kB / 0.6995 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/0.5766, allocations: 4 kB / 0.6995 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5766, allocations: 0 / 0.6995 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.5767, allocations: 4 kB / 0.6995 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.5777, allocations: 0.6315 MB / 0.7001 GB, free: 2.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5777, allocations: 8.031 kB / 0.7002 GB, free: 2.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002142/0.5779, allocations: 59.91 kB / 0.7002 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.5779, allocations: 4 kB / 0.7002 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.578, allocations: 11.98 kB / 0.7002 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004196/0.5784, allocations: 0.5937 MB / 0.7008 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5784, allocations: 4.031 kB / 0.7008 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003936/0.5788, allocations: 298.3 kB / 0.7011 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.5789, allocations: 116.9 kB / 0.7012 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.378e-05/0.579, allocations: 4 kB / 0.7012 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.5792, allocations: 8 kB / 0.7012 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.5793, allocations: 23.91 kB / 0.7012 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.5794, allocations: 19.94 kB / 0.7013 GB, free: 1.297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001437/0.5795, allocations: 135.6 kB / 0.7014 GB, free: 1.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5795, allocations: 4 kB / 0.7014 GB, free: 1.16 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000724/0.5802, allocations: 171.6 kB / 0.7016 GB, free: 0.9922 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.001401/0.5816, allocations: 1.011 MB / 0.7025 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005545/0.5822, allocations: 224.9 kB / 0.7028 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5822, allocations: 0 / 0.7028 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.5824, allocations: 83.81 kB / 0.7028 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005593/0.583, allocations: 77.09 kB / 0.7029 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.5877, allocations: 3.058 MB / 0.7059 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.5882, allocations: 0.7245 MB / 0.7066 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008037/0.589, allocations: 379.1 kB / 0.707 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.5893, allocations: 95.36 kB / 0.7071 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 9.92e-07/0.5893, allocations: 0 / 0.7071 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03462/0.6239, allocations: 7.951 MB / 0.7148 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.78/12.4, allocations: 5.969 kB / 0.7148 GB, free: 3.184 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4e-05 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1)