Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00181/0.00181, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.002261/0.002261, allocations: 212.5 kB / 24.51 MB, free: 3.914 MB / 14.72 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 1.428/1.428, allocations: 230.6 MB / 258.3 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2273/0.2273, allocations: 46.97 MB / 361.7 MB, free: 3.996 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+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_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 67.88 kB / 0.4969 GB, free: 7.633 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3331, allocations: 66.02 MB / 0.5614 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1656/0.4987, allocations: 131.9 MB / 0.6902 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00617/0.5049, allocations: 4.75 MB / 0.6948 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.5051, allocations: 0 / 0.6948 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.5054, allocations: 59.55 kB / 0.6949 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003838/0.5092, allocations: 1.331 MB / 0.6962 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.5096, allocations: 151.9 kB / 0.6963 GB, free: 9.438 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006088/0.5102, allocations: 398.1 kB / 0.6967 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.399e-05/0.5102, allocations: 13.8 kB / 0.6967 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.5105, allocations: 179.3 kB / 0.6969 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003262/0.5108, allocations: 171.5 kB / 0.6971 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.332e-05/0.5109, allocations: 8 kB / 0.6971 GB, free: 8.68 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.513, allocations: 0.9905 MB / 0.6981 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.648e-05/0.5131, allocations: 51.75 kB / 0.6981 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.5132, allocations: 99.62 kB / 0.6982 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.5147, allocations: 0.8454 MB / 0.699 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5147, allocations: 0 / 0.699 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5147, allocations: 4 kB / 0.699 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.5147, allocations: 0 / 0.699 GB, free: 6.688 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.001356/0.516, allocations: 0.6177 MB / 0.6996 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.5161, allocations: 12.03 kB / 0.6996 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.545e-05/0.5161, allocations: 4.688 kB / 0.6996 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.5162, allocations: 66.72 kB / 0.6997 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.5237, allocations: 0.6054 MB / 0.7003 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005038/0.5242, allocations: 205.2 kB / 0.7005 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.5244, allocations: 226.1 kB / 0.7007 GB, free: 4.844 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.5245, allocations: 20 kB / 0.7007 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.5259, allocations: 0.7499 MB / 0.7015 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.5259, allocations: 0 / 0.7015 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.998e-05/0.526, allocations: 12 kB / 0.7015 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.526, allocations: 8 kB / 0.7015 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.5275, allocations: 0.6376 MB / 0.7021 GB, free: 3.336 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.00216/0.5297, allocations: 1.443 MB / 0.7035 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/0.5301, allocations: 150.3 kB / 0.7037 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.5302, allocations: 68.83 kB / 0.7037 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/0.5313, allocations: 483 kB / 0.7042 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5314, allocations: 34.56 kB / 0.7042 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.5314, allocations: 0 / 0.7042 GB, free: 1.043 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.00101/0.5324, allocations: 331.3 kB / 0.7045 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.5324, allocations: 51.41 kB / 0.7046 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001861/0.5326, allocations: 195.1 kB / 0.7048 GB, free: 468 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.5326, allocations: 37.64 kB / 0.7048 GB, free: 424 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5327, allocations: 183.8 kB / 0.705 GB, free: 236 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.775e-05/0.5328, allocations: 83.34 kB / 0.7051 GB, free: 152 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.533, allocations: 90.02 kB / 0.7051 GB, free: 56 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.5331, allocations: 330.8 kB / 0.7055 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.5333, allocations: 64.7 kB / 0.7055 GB, free: 15.66 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.5336, allocations: 260 kB / 0.7058 GB, free: 15.31 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.5341, allocations: 370.2 kB / 0.7061 GB, free: 14.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5341, allocations: 4 kB / 0.7061 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006547/0.5347, allocations: 372 kB / 0.7065 GB, free: 14.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5348, allocations: 8 kB / 0.7065 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.5348, allocations: 8 kB / 0.7065 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/0.5348, allocations: 8 kB / 0.7065 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.5352, allocations: 123.8 kB / 0.7066 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004094/0.5356, allocations: 0.6059 MB / 0.7072 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002448/0.5359, allocations: 51.77 kB / 0.7073 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.796e-05/0.5359, allocations: 43.98 kB / 0.7073 GB, free: 13.62 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.0001526/0.5361, allocations: 145.6 kB / 0.7074 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.598e-05/0.5362, allocations: 23.84 kB / 0.7075 GB, free: 13.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.537, allocations: 451.3 kB / 0.7079 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.537, allocations: 4 kB / 0.7079 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.537, allocations: 0 / 0.7079 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.537, allocations: 3.984 kB / 0.7079 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.538, allocations: 0.5278 MB / 0.7084 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.538, allocations: 8 kB / 0.7084 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.5382, allocations: 59.89 kB / 0.7085 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.5382, allocations: 4 kB / 0.7085 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.5382, allocations: 8 kB / 0.7085 GB, free: 12.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003661/0.5386, allocations: 0.5976 MB / 0.7091 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5386, allocations: 7.969 kB / 0.7091 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003927/0.539, allocations: 298.7 kB / 0.7094 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.471e-05/0.5391, allocations: 39.75 kB / 0.7094 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.009e-05/0.5391, allocations: 4 kB / 0.7094 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002549/0.5394, allocations: 15.98 kB / 0.7094 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.5394, allocations: 15.92 kB / 0.7094 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.5395, allocations: 19.98 kB / 0.7095 GB, free: 11.24 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001297/0.5396, allocations: 143.4 kB / 0.7096 GB, free: 11.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5396, allocations: 0 / 0.7096 GB, free: 11.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006408/0.5402, allocations: 171.6 kB / 0.7098 GB, free: 10.93 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.001177/0.5414, allocations: 0.9934 MB / 0.7107 GB, free: 9.891 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005377/0.5419, allocations: 219.9 kB / 0.7109 GB, free: 9.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5419, allocations: 4 kB / 0.7109 GB, free: 9.676 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.5422, allocations: 76.45 kB / 0.711 GB, free: 9.602 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.5427, allocations: 68.17 kB / 0.7111 GB, free: 9.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004107/0.5468, allocations: 3.059 MB / 0.7141 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.547, allocations: 108.5 kB / 0.7142 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006683/0.5476, allocations: 382.1 kB / 0.7145 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5478, allocations: 91.38 kB / 0.7146 GB, free: 5.578 MB / 0.545 GB Notification: Performance of SimCode: time 4.61e-07/0.5478, allocations: 0 / 0.7146 GB, free: 5.578 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.5775, allocations: 8.401 MB / 0.7228 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.2/13.78, allocations: 15.56 kB / 0.7228 GB, free: 13.36 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.91158183803782] 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'] 13.951709916000254 14.203634974 13.455501997 Calling exit ...