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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 118.6 kB / 18.5 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002294, allocations: 206.6 kB / 21.45 MB, free: 1.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.481/1.481, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2459/0.2459, allocations: 46.93 MB / 357.7 MB, free: 10.21 MB / 286.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.00235/0.00235, allocations: 79.88 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1548, allocations: 66.04 MB / 0.5562 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.5405/0.6953, allocations: 153.5 MB / 0.7061 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.7026, allocations: 5.325 MB / 0.7113 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.7028, allocations: 4 kB / 0.7113 GB, free: 2.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004225/0.7033, allocations: 55.59 kB / 0.7113 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006221/0.7095, allocations: 1.327 MB / 0.7126 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006337/0.7101, allocations: 143.7 kB / 0.7127 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008338/0.7109, allocations: 394.2 kB / 0.7131 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 6.021e-05/0.711, allocations: 13.03 kB / 0.7131 GB, free: 352 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.7113, allocations: 175.3 kB / 0.7133 GB, free: 176 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003306/0.7116, allocations: 175.5 kB / 0.7135 GB, free: 0 / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.7117, allocations: 8.047 kB / 0.7135 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002686/0.7144, allocations: 1.115 MB / 0.7146 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.627e-05/0.7145, allocations: 59.69 kB / 0.7146 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000144/0.7146, allocations: 99.52 kB / 0.7147 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.7164, allocations: 0.8734 MB / 0.7156 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7164, allocations: 0 / 0.7156 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7164, allocations: 0 / 0.7156 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.7164, allocations: 0 / 0.7156 GB, free: 13.85 MB / 0.5294 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.001496/0.7179, allocations: 0.6969 MB / 0.7163 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.7179, allocations: 8.031 kB / 0.7163 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.06e-05/0.718, allocations: 58.73 kB / 0.7163 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008163/0.7262, allocations: 0.6098 MB / 0.7169 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.7271, allocations: 263.6 kB / 0.7172 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.7273, allocations: 127.4 kB / 0.7173 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000124/0.7274, allocations: 16 kB / 0.7173 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001438/0.7288, allocations: 0.5711 MB / 0.7179 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.7288, allocations: 0 / 0.7179 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.7289, allocations: 15.98 kB / 0.7179 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.729, allocations: 4 kB / 0.7179 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.7306, allocations: 0.6299 MB / 0.7185 GB, free: 10.7 MB / 0.5294 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.00257/0.7331, allocations: 1.711 MB / 0.7202 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004495/0.7336, allocations: 146.5 kB / 0.7203 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.7337, allocations: 68.88 kB / 0.7204 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.7355, allocations: 1.494 MB / 0.7218 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.7356, allocations: 30.56 kB / 0.7219 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 4.849e-06/0.7356, allocations: 7.984 kB / 0.7219 GB, free: 6.812 MB / 0.5294 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.001042/0.7366, allocations: 328.3 kB / 0.7222 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.7366, allocations: 51.41 kB / 0.7222 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.7368, allocations: 186.5 kB / 0.7224 GB, free: 6.234 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.656e-05/0.7369, allocations: 33.69 kB / 0.7224 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.737, allocations: 187.8 kB / 0.7226 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.7371, allocations: 71.42 kB / 0.7227 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.7372, allocations: 94.02 kB / 0.7228 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.7374, allocations: 330.8 kB / 0.7231 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.7375, allocations: 60.7 kB / 0.7231 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003233/0.7379, allocations: 268.5 kB / 0.7234 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005336/0.7384, allocations: 371.6 kB / 0.7238 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.7384, allocations: 4 kB / 0.7238 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00068/0.7391, allocations: 370.5 kB / 0.7241 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7391, allocations: 8 kB / 0.7241 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.7391, allocations: 8 kB / 0.7241 GB, free: 4.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.7391, allocations: 8 kB / 0.7241 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004212/0.7395, allocations: 131.7 kB / 0.7243 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004645/0.74, allocations: 0.602 MB / 0.7249 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.7403, allocations: 51.62 kB / 0.7249 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.7403, allocations: 43.98 kB / 0.7249 GB, free: 3.395 MB / 0.5294 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.0001747/0.7405, allocations: 141.7 kB / 0.7251 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.48e-05/0.7406, allocations: 15.91 kB / 0.7251 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009209/0.7415, allocations: 463 kB / 0.7255 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.7415, allocations: 0 / 0.7255 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7415, allocations: 4 kB / 0.7255 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.7415, allocations: 7.984 kB / 0.7255 GB, free: 2.754 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000994/0.7425, allocations: 0.6353 MB / 0.7262 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.7425, allocations: 12 kB / 0.7262 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002205/0.7427, allocations: 55.91 kB / 0.7262 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.7427, allocations: 4 kB / 0.7262 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.7427, allocations: 11.98 kB / 0.7262 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000423/0.7432, allocations: 0.5938 MB / 0.7268 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7432, allocations: 4 kB / 0.7268 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004733/0.7437, allocations: 299.9 kB / 0.7271 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.7438, allocations: 108.9 kB / 0.7272 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.762e-05/0.7438, allocations: 11.92 kB / 0.7272 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.7441, allocations: 8 kB / 0.7272 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.7441, allocations: 15.92 kB / 0.7273 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.863e-05/0.7442, allocations: 23.98 kB / 0.7273 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001511/0.7443, allocations: 135.6 kB / 0.7274 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7443, allocations: 4 kB / 0.7274 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006956/0.745, allocations: 171.6 kB / 0.7276 GB, free: 0.4922 MB / 0.5294 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.001208/0.7462, allocations: 0.9913 MB / 0.7285 GB, free: 15.45 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005654/0.7468, allocations: 225.2 kB / 0.7288 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.7468, allocations: 4.062 kB / 0.7288 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002114/0.747, allocations: 79.83 kB / 0.7288 GB, free: 15.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.7476, allocations: 72.53 kB / 0.7289 GB, free: 15.08 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004515/0.7521, allocations: 3.059 MB / 0.7319 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.7525, allocations: 0.7207 MB / 0.7326 GB, free: 10.97 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007379/0.7532, allocations: 387.9 kB / 0.733 GB, free: 10.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.7534, allocations: 87.38 kB / 0.733 GB, free: 10.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.143e-06/0.7534, allocations: 0 / 0.733 GB, free: 10.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03785/0.7913, allocations: 7.942 MB / 0.7408 GB, free: 2.695 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.6, allocations: 4 kB / 0.7408 GB, free: 2.691 MB / 0.545 GB " [Timeout remaining time 647] (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 1.9988e-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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.863159017637372] Failed to read output from testmodel.py, exit status != 0: ['time', 'eps_h_is', 'eta', 'lambda', 'Pr', 'p', 'T', 'd', 'h', 'u', 's', 'g', 'f', 'cp', 'cp2', 'cv', 'cv2', 'h_is', 'a', 'beta', 'beta2', 'kappa', 'kappa2', 'ddpT', 'ddTp', 'dddX[1]', 'MM', 'h2', 'd2', 'err_T', 'err_d', 'err_u', 's_is', 'err_h_is', 'eps'] 12.693162398878485 12.717826546 11.996835445 Calling exit ...