Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.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.00138/0.00138, 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.001631/0.001631, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2244/0.2244, allocations: 44.93 MB / 359.6 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.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="cs",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.002005/0.002005, allocations: 65.92 kB / 0.4938 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3043, allocations: 65.48 MB / 0.5578 GB, free: 7.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1724/0.4767, allocations: 131.9 MB / 0.6866 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006228/0.4829, allocations: 4.61 MB / 0.6911 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.4831, allocations: 4 kB / 0.6911 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003239/0.4834, allocations: 51.61 kB / 0.6911 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003544/0.487, allocations: 1.226 MB / 0.6923 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003648/0.4874, allocations: 147.5 kB / 0.6925 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0006959/0.4881, allocations: 402.1 kB / 0.6928 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.083e-05/0.4881, allocations: 5.812 kB / 0.6929 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.4885, allocations: 175.4 kB / 0.693 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.4889, allocations: 179.5 kB / 0.6932 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.973e-05/0.4889, allocations: 8 kB / 0.6932 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.4909, allocations: 0.9675 MB / 0.6941 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.491, allocations: 47.77 kB / 0.6942 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.4912, allocations: 95.64 kB / 0.6943 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.4931, allocations: 0.8415 MB / 0.6951 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4931, allocations: 7.938 kB / 0.6951 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4931, allocations: 0 / 0.6951 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.469e-05/0.4931, allocations: 3.938 kB / 0.6951 GB, free: 10.23 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.00156/0.4947, allocations: 0.6177 MB / 0.6957 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.4947, allocations: 12.03 kB / 0.6957 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.406e-05/0.4948, allocations: 4.688 kB / 0.6957 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.241e-05/0.4949, allocations: 70.7 kB / 0.6958 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007835/0.5027, allocations: 0.6015 MB / 0.6964 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006558/0.5033, allocations: 209.2 kB / 0.6966 GB, free: 8.648 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002135/0.5036, allocations: 226.1 kB / 0.6968 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.5037, allocations: 20 kB / 0.6968 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.5053, allocations: 0.7422 MB / 0.6975 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.5053, allocations: 3.938 kB / 0.6976 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.679e-05/0.5054, allocations: 12 kB / 0.6976 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.65e-05/0.5054, allocations: 8 kB / 0.6976 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.5071, allocations: 0.6299 MB / 0.6982 GB, free: 6.883 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.002497/0.5096, allocations: 1.443 MB / 0.6996 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.51, allocations: 154.5 kB / 0.6997 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/0.5102, allocations: 64.83 kB / 0.6998 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000624/0.5108, allocations: 372 kB / 0.7002 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.5108, allocations: 42.5 kB / 0.7002 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.174e-06/0.5108, allocations: 0 / 0.7002 GB, free: 4.688 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=17): time 0.001187/0.512, allocations: 321.3 kB / 0.7005 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.5121, allocations: 51.41 kB / 0.7006 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002388/0.5123, allocations: 195.1 kB / 0.7007 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.789e-05/0.5124, allocations: 33.7 kB / 0.7008 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.5125, allocations: 199.7 kB / 0.701 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.881e-05/0.5126, allocations: 63.47 kB / 0.701 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002056/0.5128, allocations: 94 kB / 0.7011 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.513, allocations: 326.8 kB / 0.7014 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.5132, allocations: 68.7 kB / 0.7015 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003811/0.5136, allocations: 264 kB / 0.7017 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.5142, allocations: 366.2 kB / 0.7021 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5142, allocations: 4 kB / 0.7021 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007544/0.5149, allocations: 377 kB / 0.7025 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.515, allocations: 14.59 kB / 0.7025 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.515, allocations: 8 kB / 0.7025 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.515, allocations: 8 kB / 0.7025 GB, free: 2.102 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.5154, allocations: 127.8 kB / 0.7026 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004787/0.5159, allocations: 0.6022 MB / 0.7032 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003193/0.5162, allocations: 51.66 kB / 0.7032 GB, free: 1.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.402e-05/0.5163, allocations: 40 kB / 0.7033 GB, free: 1.262 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.0002116/0.5165, allocations: 153.5 kB / 0.7034 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.188e-05/0.5166, allocations: 19.89 kB / 0.7034 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.5175, allocations: 432.2 kB / 0.7039 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.5175, allocations: 3.984 kB / 0.7039 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.5175, allocations: 0 / 0.7039 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.5175, allocations: 8 kB / 0.7039 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000944/0.5185, allocations: 0.5113 MB / 0.7044 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.5185, allocations: 4 kB / 0.7044 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.5187, allocations: 56 kB / 0.7044 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5188, allocations: 3.938 kB / 0.7044 GB, free: 15.99 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.5188, allocations: 12 kB / 0.7044 GB, free: 15.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000406/0.5192, allocations: 0.5979 MB / 0.705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.5192, allocations: 4 kB / 0.705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.5197, allocations: 293.2 kB / 0.7053 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.5198, allocations: 39.8 kB / 0.7053 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.5199, allocations: 7.953 kB / 0.7054 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.5201, allocations: 15.92 kB / 0.7054 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/0.5202, allocations: 15.92 kB / 0.7054 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.761e-05/0.5202, allocations: 23.98 kB / 0.7054 GB, free: 14.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001684/0.5204, allocations: 132.2 kB / 0.7055 GB, free: 14.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5204, allocations: 8.094 kB / 0.7055 GB, free: 14.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008046/0.5212, allocations: 151.7 kB / 0.7057 GB, free: 14.64 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.001331/0.5225, allocations: 0.9497 MB / 0.7066 GB, free: 13.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006308/0.5232, allocations: 220.8 kB / 0.7068 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5232, allocations: 0 / 0.7068 GB, free: 13.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002141/0.5234, allocations: 75.88 kB / 0.7069 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.524, allocations: 73.11 kB / 0.707 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.5282, allocations: 2.874 MB / 0.7098 GB, free: 10.11 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5283, allocations: 116.5 kB / 0.7099 GB, free: 9.977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007179/0.529, allocations: 381 kB / 0.7102 GB, free: 9.605 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.5292, allocations: 99.36 kB / 0.7103 GB, free: 9.508 MB / 0.545 GB Notification: Performance of SimCode: time 6.22e-07/0.5292, allocations: 0 / 0.7103 GB, free: 9.508 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.561, allocations: 7.878 MB / 0.718 GB, free: 1.828 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.58, allocations: 14.58 kB / 0.7181 GB, free: 1.816 MB / 0.545 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.551887489040382] 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.758552045095712 13.775864589 13.279478677 Calling exit ...