Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000872/0.000872, allocations: 80.5 kB / 19.93 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009408/0.0009408, allocations: 173.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8635/0.8635, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1323/0.1323, allocations: 32.38 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.201e-05, allocations: 9.516 kB / 406.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2765/0.2765, allocations: 130.2 MB / 0.5245 GB, free: 5.621 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003512/0.28, allocations: 4.24 MB / 0.5287 GB, free: 1.387 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2801, allocations: 4 kB / 0.5287 GB, free: 1.383 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.2804, allocations: 39.69 kB / 0.5287 GB, free: 1.344 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002909/0.2833, allocations: 1.593 MB / 0.5303 GB, free: 15.75 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.2835, allocations: 145.9 kB / 0.5304 GB, free: 15.61 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.284, allocations: 401.9 kB / 0.5308 GB, free: 15.21 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.194e-05/0.284, allocations: 21.72 kB / 0.5308 GB, free: 15.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.2843, allocations: 227.3 kB / 0.531 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.2845, allocations: 151.6 kB / 0.5312 GB, free: 14.82 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.2846, allocations: 8 kB / 0.5312 GB, free: 14.81 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.2861, allocations: 1.172 MB / 0.5323 GB, free: 13.64 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 6.927e-05/0.2862, allocations: 39.83 kB / 0.5323 GB, free: 13.6 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 8.068e-05/0.2863, allocations: 87.7 kB / 0.5324 GB, free: 13.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.2877, allocations: 1.091 MB / 0.5335 GB, free: 12.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2877, allocations: 4 kB / 0.5335 GB, free: 12.42 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2877, allocations: 0 / 0.5335 GB, free: 12.42 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.2877, allocations: 1.594 kB / 0.5335 GB, free: 12.42 MB / 442.7 MB 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.001228/0.2889, allocations: 0.6487 MB / 0.5341 GB, free: 11.74 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.289, allocations: 11.97 kB / 0.5341 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.289, allocations: 66.72 kB / 0.5342 GB, free: 11.65 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003585/0.2926, allocations: 0.6172 MB / 0.5348 GB, free: 11.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.293, allocations: 209.4 kB / 0.535 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/0.2931, allocations: 226.9 kB / 0.5352 GB, free: 10.53 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.2932, allocations: 23.94 kB / 0.5353 GB, free: 10.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000787/0.294, allocations: 0.7384 MB / 0.536 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.294, allocations: 0 / 0.536 GB, free: 9.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.511e-05/0.294, allocations: 12 kB / 0.536 GB, free: 9.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2941, allocations: 11.94 kB / 0.536 GB, free: 9.668 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008839/0.295, allocations: 0.6223 MB / 0.5366 GB, free: 9.047 MB / 442.7 MB 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.001303/0.2963, allocations: 1.431 MB / 0.538 GB, free: 7.527 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.2965, allocations: 150.5 kB / 0.5381 GB, free: 7.371 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.2966, allocations: 64.88 kB / 0.5382 GB, free: 7.305 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008921/0.2975, allocations: 0.7123 MB / 0.5389 GB, free: 6.574 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2975, allocations: 38.55 kB / 0.5389 GB, free: 6.527 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.2975, allocations: 0 / 0.5389 GB, free: 6.527 MB / 442.7 MB 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=20): time 0.0006819/0.2982, allocations: 341 kB / 0.5393 GB, free: 6.188 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.2982, allocations: 63.34 kB / 0.5393 GB, free: 6.113 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.2983, allocations: 186.2 kB / 0.5395 GB, free: 5.922 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.2984, allocations: 33.7 kB / 0.5395 GB, free: 5.883 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.606e-05/0.2984, allocations: 187.8 kB / 0.5397 GB, free: 5.691 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.2985, allocations: 67.38 kB / 0.5398 GB, free: 5.625 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/0.2985, allocations: 90 kB / 0.5399 GB, free: 5.531 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.2986, allocations: 326.8 kB / 0.5402 GB, free: 5.203 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.2987, allocations: 64.7 kB / 0.5402 GB, free: 5.141 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000301/0.299, allocations: 265.8 kB / 0.5405 GB, free: 4.789 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003126/0.2993, allocations: 366.2 kB / 0.5408 GB, free: 4.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2993, allocations: 4 kB / 0.5408 GB, free: 4.332 MB / 442.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004006/0.2997, allocations: 369.6 kB / 0.5412 GB, free: 3.965 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.2998, allocations: 8.938 kB / 0.5412 GB, free: 3.957 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2998, allocations: 11.88 kB / 0.5412 GB, free: 3.945 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.2998, allocations: 16 kB / 0.5412 GB, free: 3.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.3, allocations: 123.8 kB / 0.5414 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002708/0.3003, allocations: 0.6054 MB / 0.5419 GB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000135/0.3004, allocations: 47.72 kB / 0.542 GB, free: 3.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.525e-05/0.3005, allocations: 36 kB / 0.542 GB, free: 3.098 MB / 442.7 MB 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.0001055/0.3006, allocations: 141.7 kB / 0.5422 GB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.641e-05/0.3006, allocations: 23.89 kB / 0.5422 GB, free: 2.926 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.301, allocations: 330 kB / 0.5425 GB, free: 2.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.301, allocations: 4 kB / 0.5425 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.301, allocations: 0 / 0.5425 GB, free: 2.586 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.301, allocations: 3.938 kB / 0.5425 GB, free: 2.582 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.3015, allocations: 0.4897 MB / 0.543 GB, free: 2.027 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3015, allocations: 8.094 kB / 0.543 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/0.3016, allocations: 51.97 kB / 0.543 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3016, allocations: 4 kB / 0.543 GB, free: 1.965 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.3016, allocations: 9.938 kB / 0.5431 GB, free: 1.957 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001986/0.3018, allocations: 0.5977 MB / 0.5436 GB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3018, allocations: 0 / 0.5436 GB, free: 1.336 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3021, allocations: 280.5 kB / 0.5439 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.594e-05/0.3021, allocations: 35.81 kB / 0.5439 GB, free: 0.9961 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/0.3021, allocations: 8.094 kB / 0.5439 GB, free: 0.9883 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3023, allocations: 11.98 kB / 0.544 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3023, allocations: 23.91 kB / 0.544 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/0.3023, allocations: 12 kB / 0.544 GB, free: 0.9414 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.337e-05/0.3024, allocations: 139 kB / 0.5441 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3024, allocations: 0 / 0.5441 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005041/0.3029, allocations: 207.5 kB / 0.5443 GB, free: 0.6016 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.000999/0.3039, allocations: 1.086 MB / 0.5454 GB, free: 15.48 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003366/0.3042, allocations: 223.6 kB / 0.5456 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3042, allocations: 1.812 kB / 0.5456 GB, free: 15.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 9.933e-05/0.3043, allocations: 83.83 kB / 0.5457 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3047, allocations: 69.84 kB / 0.5457 GB, free: 15.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.3082, allocations: 4.095 MB / 0.5497 GB, free: 10.73 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.696e-05/0.3082, allocations: 116.6 kB / 0.5499 GB, free: 10.6 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002602/0.3085, allocations: 95.03 kB / 0.5499 GB, free: 10.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/0.3086, allocations: 76.45 kB / 0.55 GB, free: 10.43 MB / 458.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3086, allocations: 0 / 0.55 GB, free: 10.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.3299, allocations: 9.807 MB / 0.5596 GB, free: 0.6211 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.952, allocations: 15.44 kB / 0.5596 GB, free: 0.6094 MB / 458.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.835786684416234] 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'] 8.039215048775077 8.049444168 7.758925551 Calling exit ...