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.001403/0.001403, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001633/0.001633, allocations: 212.4 kB / 23.73 MB, free: 4.41 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.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2259/0.2259, allocations: 44.93 MB / 358.8 MB, free: 6.062 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002536/0.002536, allocations: 71.89 kB / 0.4931 GB, free: 10.51 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3559, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.1834/0.5394, allocations: 132 MB / 0.6859 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005864/0.5452, allocations: 4.746 MB / 0.6905 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.5453, allocations: 4 kB / 0.6906 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.5456, allocations: 51.61 kB / 0.6906 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003867/0.5495, allocations: 1.327 MB / 0.6919 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.5498, allocations: 143.2 kB / 0.692 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007062/0.5505, allocations: 402.1 kB / 0.6924 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.448e-05/0.5506, allocations: 9.797 kB / 0.6924 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.5509, allocations: 183.2 kB / 0.6926 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.5513, allocations: 167.5 kB / 0.6928 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.206e-05/0.5513, allocations: 12 kB / 0.6928 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002207/0.5535, allocations: 0.967 MB / 0.6937 GB, free: 11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.5536, allocations: 51.77 kB / 0.6938 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.5537, allocations: 91.58 kB / 0.6939 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.5553, allocations: 0.8455 MB / 0.6947 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.5553, allocations: 0 / 0.6947 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.383e-06/0.5553, allocations: 0 / 0.6947 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.5553, allocations: 0 / 0.6947 GB, free: 10.01 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.001264/0.5566, allocations: 0.6254 MB / 0.6953 GB, free: 9.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5566, allocations: 8.031 kB / 0.6953 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/0.5567, allocations: 66.72 kB / 0.6954 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007665/0.5644, allocations: 0.6054 MB / 0.696 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005974/0.565, allocations: 209.3 kB / 0.6962 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.5652, allocations: 222.1 kB / 0.6964 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.251e-05/0.5653, allocations: 24 kB / 0.6964 GB, free: 8.141 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.5666, allocations: 0.75 MB / 0.6971 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.5667, allocations: 0 / 0.6971 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.306e-05/0.5667, allocations: 8 kB / 0.6971 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.5668, allocations: 8 kB / 0.6971 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001496/0.5682, allocations: 0.6221 MB / 0.6977 GB, free: 6.676 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.002367/0.5706, allocations: 1.439 MB / 0.6991 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.571, allocations: 159.6 kB / 0.6993 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.5711, allocations: 68.83 kB / 0.6994 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/0.5723, allocations: 479 kB / 0.6998 GB, free: 4.426 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.301e-05/0.5724, allocations: 34.56 kB / 0.6999 GB, free: 4.383 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.5724, allocations: 3.938 kB / 0.6999 GB, free: 4.379 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.001015/0.5734, allocations: 324.5 kB / 0.7002 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5734, allocations: 55.41 kB / 0.7002 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.5736, allocations: 203 kB / 0.7004 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.5737, allocations: 33.69 kB / 0.7004 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.5738, allocations: 191.8 kB / 0.7006 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.817e-05/0.5739, allocations: 71.36 kB / 0.7007 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001434/0.574, allocations: 94.02 kB / 0.7008 GB, free: 3.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5742, allocations: 322.8 kB / 0.7011 GB, free: 3.062 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.5744, allocations: 68.7 kB / 0.7012 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003241/0.5747, allocations: 264 kB / 0.7014 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.5752, allocations: 376.8 kB / 0.7018 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5752, allocations: 0 / 0.7018 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006538/0.5759, allocations: 369.1 kB / 0.7021 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.5759, allocations: 11.94 kB / 0.7021 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5759, allocations: 8 kB / 0.7021 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5759, allocations: 8 kB / 0.7021 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000427/0.5763, allocations: 127.8 kB / 0.7023 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004495/0.5768, allocations: 0.6138 MB / 0.7029 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.577, allocations: 43.73 kB / 0.7029 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.5771, allocations: 39.98 kB / 0.703 GB, free: 0.9453 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.0001831/0.5773, allocations: 143.3 kB / 0.7031 GB, free: 0.7969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.5773, allocations: 23.84 kB / 0.7031 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009212/0.5783, allocations: 458.3 kB / 0.7035 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.5783, allocations: 3.938 kB / 0.7036 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5783, allocations: 0 / 0.7036 GB, free: 312 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5783, allocations: 3.984 kB / 0.7036 GB, free: 308 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009281/0.5792, allocations: 0.52 MB / 0.7041 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.5792, allocations: 4 kB / 0.7041 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.5794, allocations: 67.83 kB / 0.7041 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.5794, allocations: 4 kB / 0.7041 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.5795, allocations: 4 kB / 0.7041 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004791/0.5799, allocations: 0.6055 MB / 0.7047 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.5799, allocations: 4.344 kB / 0.7047 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.5804, allocations: 298.3 kB / 0.705 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.544e-05/0.5804, allocations: 39.75 kB / 0.7051 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.5805, allocations: 8 kB / 0.7051 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002313/0.5807, allocations: 11.98 kB / 0.7051 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.5808, allocations: 15.98 kB / 0.7051 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.097e-05/0.5808, allocations: 19.98 kB / 0.7051 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001366/0.5809, allocations: 143.4 kB / 0.7052 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.5809, allocations: 0 / 0.7052 GB, free: 14.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006975/0.5816, allocations: 171.6 kB / 0.7054 GB, free: 14.26 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.001171/0.5828, allocations: 0.9957 MB / 0.7064 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005347/0.5834, allocations: 221 kB / 0.7066 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.5834, allocations: 0 / 0.7066 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.5836, allocations: 84.52 kB / 0.7067 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.5842, allocations: 65.25 kB / 0.7067 GB, free: 12.86 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004563/0.5887, allocations: 3.059 MB / 0.7097 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.5888, allocations: 108.5 kB / 0.7098 GB, free: 9.359 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006862/0.5895, allocations: 382.1 kB / 0.7102 GB, free: 8.988 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002071/0.5897, allocations: 87.38 kB / 0.7103 GB, free: 8.902 MB / 0.545 GB Notification: Performance of SimCode: time 5.81e-07/0.5897, allocations: 0 / 0.7103 GB, free: 8.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.6261, allocations: 8.665 MB / 0.7187 GB, free: 432 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.32, allocations: 2.5 kB / 0.7187 GB, free: 432 kB / 0.545 GB " [Timeout remaining time 647] (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: 16.215680424124002] 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.44092161487788 13.46472564 12.904998038 Calling exit ...