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/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.0009481/0.0009481, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008778/0.0008778, allocations: 174.3 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8954/0.8954, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 3.938 kB / 439.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.51e-05, allocations: 6.844 kB / 439.6 MB, free: 4.211 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2859/0.2859, allocations: 132 MB / 0.5583 GB, free: 448 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003991/0.2899, allocations: 4.756 MB / 0.5629 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.29, allocations: 8 kB / 0.5629 GB, free: 11.67 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002853/0.2903, allocations: 43.62 kB / 0.5629 GB, free: 11.62 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.2933, allocations: 1.361 MB / 0.5643 GB, free: 10.27 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002804/0.2936, allocations: 151.3 kB / 0.5644 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000495/0.2941, allocations: 405.9 kB / 0.5648 GB, free: 9.723 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.685e-05/0.2942, allocations: 5.812 kB / 0.5648 GB, free: 9.719 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.2944, allocations: 231.3 kB / 0.565 GB, free: 9.492 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.2947, allocations: 159.6 kB / 0.5652 GB, free: 9.336 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.2947, allocations: 8 kB / 0.5652 GB, free: 9.328 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.2963, allocations: 0.9783 MB / 0.5661 GB, free: 8.348 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 8.295e-05/0.2964, allocations: 47.77 kB / 0.5662 GB, free: 8.301 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003518/0.2967, allocations: 83.81 kB / 0.5663 GB, free: 8.219 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.2979, allocations: 0.9508 MB / 0.5672 GB, free: 7.266 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2979, allocations: 3.984 kB / 0.5672 GB, free: 7.262 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2979, allocations: 0 / 0.5672 GB, free: 7.262 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.2979, allocations: 0 / 0.5672 GB, free: 7.262 MB / 474.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.0008647/0.2988, allocations: 0.6183 MB / 0.5678 GB, free: 6.617 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.2988, allocations: 12.03 kB / 0.5678 GB, free: 6.605 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.705e-05/0.2989, allocations: 58.73 kB / 0.5679 GB, free: 6.539 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.3024, allocations: 0.6463 MB / 0.5685 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003943/0.3028, allocations: 205.6 kB / 0.5687 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.3029, allocations: 230.1 kB / 0.5689 GB, free: 5.398 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.729e-05/0.303, allocations: 24 kB / 0.5689 GB, free: 5.375 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007861/0.3038, allocations: 0.7437 MB / 0.5697 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3038, allocations: 0 / 0.5697 GB, free: 4.555 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.373e-05/0.3038, allocations: 12 kB / 0.5697 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.3038, allocations: 7.984 kB / 0.5697 GB, free: 4.535 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008404/0.3047, allocations: 0.6184 MB / 0.5703 GB, free: 3.918 MB / 474.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.001306/0.306, allocations: 1.436 MB / 0.5717 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.3062, allocations: 149.7 kB / 0.5718 GB, free: 2.246 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.378e-05/0.3063, allocations: 68.88 kB / 0.5719 GB, free: 2.176 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006018/0.3069, allocations: 471.2 kB / 0.5724 GB, free: 1.699 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.3069, allocations: 38.56 kB / 0.5724 GB, free: 1.652 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 1.402e-06/0.3069, allocations: 3.938 kB / 0.5724 GB, free: 1.648 MB / 474.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=19): time 0.0006366/0.3076, allocations: 331.6 kB / 0.5727 GB, free: 1.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.3076, allocations: 55.41 kB / 0.5728 GB, free: 1.254 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.3077, allocations: 199 kB / 0.573 GB, free: 1.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.293e-05/0.3078, allocations: 32.05 kB / 0.573 GB, free: 1.016 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003213/0.3081, allocations: 183.8 kB / 0.5732 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3081, allocations: 79.42 kB / 0.5732 GB, free: 0.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.356e-05/0.3082, allocations: 86.02 kB / 0.5733 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.327e-05/0.3083, allocations: 334.8 kB / 0.5736 GB, free: 332 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.3084, allocations: 64.72 kB / 0.5737 GB, free: 268 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.3085, allocations: 260 kB / 0.5739 GB, free: 15.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.3088, allocations: 374.9 kB / 0.5743 GB, free: 15.45 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.658e-06/0.3088, allocations: 8 kB / 0.5743 GB, free: 15.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003742/0.3092, allocations: 362.2 kB / 0.5747 GB, free: 15.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3092, allocations: 8 kB / 0.5747 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.3092, allocations: 11.38 kB / 0.5747 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.3093, allocations: 12 kB / 0.5747 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002345/0.3095, allocations: 127.8 kB / 0.5748 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002867/0.3098, allocations: 0.5981 MB / 0.5754 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.3099, allocations: 55.72 kB / 0.5754 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.31, allocations: 43.98 kB / 0.5755 GB, free: 14.21 MB / 490.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.0001072/0.3101, allocations: 142.8 kB / 0.5756 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3101, allocations: 15.91 kB / 0.5756 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006138/0.3107, allocations: 468 kB / 0.5761 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3107, allocations: 4 kB / 0.5761 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3107, allocations: 3.938 kB / 0.5761 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3107, allocations: 3.984 kB / 0.5761 GB, free: 13.58 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.3114, allocations: 0.5274 MB / 0.5766 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.3114, allocations: 0 / 0.5766 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001242/0.3115, allocations: 68.14 kB / 0.5767 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3115, allocations: 0 / 0.5767 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.3115, allocations: 12 kB / 0.5767 GB, free: 12.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002437/0.3118, allocations: 0.5951 MB / 0.5773 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.3118, allocations: 7.938 kB / 0.5773 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.312, allocations: 290.1 kB / 0.5776 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.336e-05/0.3121, allocations: 31.88 kB / 0.5776 GB, free: 11.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.961e-05/0.3121, allocations: 8 kB / 0.5776 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.3122, allocations: 12.08 kB / 0.5776 GB, free: 11.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.54e-05/0.3123, allocations: 23.86 kB / 0.5776 GB, free: 11.88 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.3123, allocations: 19.98 kB / 0.5776 GB, free: 11.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.861e-05/0.3124, allocations: 139 kB / 0.5778 GB, free: 11.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 0.5778 GB, free: 11.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.313, allocations: 171.6 kB / 0.5779 GB, free: 11.55 MB / 490.7 MB 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.0009562/0.3139, allocations: 1.005 MB / 0.5789 GB, free: 10.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004285/0.3144, allocations: 213.3 kB / 0.5791 GB, free: 10.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.3144, allocations: 4 kB / 0.5791 GB, free: 10.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3145, allocations: 80.61 kB / 0.5792 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004181/0.3149, allocations: 71.06 kB / 0.5793 GB, free: 10.15 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003478/0.3184, allocations: 3.019 MB / 0.5822 GB, free: 6.828 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.424e-05/0.3185, allocations: 116.6 kB / 0.5823 GB, free: 6.695 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000455/0.3189, allocations: 378.4 kB / 0.5827 GB, free: 6.328 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.3191, allocations: 92.42 kB / 0.5828 GB, free: 6.234 MB / 490.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3191, allocations: 3.938 kB / 0.5828 GB, free: 6.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02139/0.3404, allocations: 8.79 MB / 0.5914 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.63/7.971, allocations: 15.73 kB / 0.5914 GB, free: 13.61 MB / 0.4948 GB " [Timeout remaining time 652] (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/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 --stepSize=1.9988e-05 --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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.91680951975286] 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.065457439050078 8.079546229 7.779093406 Calling exit ...