Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001486/0.001486, allocations: 206 kB / 23.73 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 230.5 MB / 257.4 MB, free: 7.723 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2316/0.2316, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002445/0.002445, allocations: 83.88 kB / 0.4962 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.376, allocations: 66.09 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1804/0.5564, allocations: 132 MB / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00688/0.5633, allocations: 4.614 MB / 0.6941 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002233/0.5635, allocations: 4 kB / 0.6941 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.5638, allocations: 47.61 kB / 0.6942 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004303/0.5682, allocations: 1.226 MB / 0.6954 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004028/0.5686, allocations: 142.2 kB / 0.6955 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007242/0.5693, allocations: 402.1 kB / 0.6959 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.611e-05/0.5693, allocations: 9.797 kB / 0.6959 GB, free: 9.059 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.5697, allocations: 171.4 kB / 0.6961 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003571/0.5701, allocations: 171.4 kB / 0.6962 GB, free: 8.723 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.405e-05/0.5701, allocations: 12 kB / 0.6962 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.5723, allocations: 0.9395 MB / 0.6972 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.5724, allocations: 47.83 kB / 0.6972 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.5726, allocations: 99.52 kB / 0.6973 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.5744, allocations: 0.8416 MB / 0.6981 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5744, allocations: 0 / 0.6981 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5744, allocations: 0 / 0.6981 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5744, allocations: 3.938 kB / 0.6981 GB, free: 6.781 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.001451/0.5759, allocations: 0.6215 MB / 0.6987 GB, free: 6.129 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.5759, allocations: 8.031 kB / 0.6987 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.614e-05/0.576, allocations: 66.72 kB / 0.6988 GB, free: 6.047 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007663/0.5837, allocations: 0.6015 MB / 0.6994 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005801/0.5843, allocations: 209.4 kB / 0.6996 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002118/0.5845, allocations: 226.1 kB / 0.6998 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.5846, allocations: 24 kB / 0.6998 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.586, allocations: 0.7383 MB / 0.7005 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.586, allocations: 3.938 kB / 0.7006 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.768e-05/0.5861, allocations: 12 kB / 0.7006 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.5861, allocations: 12 kB / 0.7006 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.5876, allocations: 0.6182 MB / 0.7012 GB, free: 3.457 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.002363/0.59, allocations: 1.432 MB / 0.7026 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.5904, allocations: 153.7 kB / 0.7027 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.5906, allocations: 84.84 kB / 0.7028 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006293/0.5912, allocations: 376 kB / 0.7032 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.5912, allocations: 34.56 kB / 0.7032 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 1.963e-06/0.5912, allocations: 0 / 0.7032 GB, free: 1.262 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.001092/0.5923, allocations: 329.3 kB / 0.7035 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5924, allocations: 51.41 kB / 0.7036 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.5926, allocations: 203 kB / 0.7038 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.245e-05/0.5926, allocations: 29.7 kB / 0.7038 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.5928, allocations: 199.7 kB / 0.704 GB, free: 440 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.079e-05/0.5928, allocations: 63.48 kB / 0.704 GB, free: 376 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.593, allocations: 102 kB / 0.7041 GB, free: 268 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.5932, allocations: 326.8 kB / 0.7044 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.5933, allocations: 60.7 kB / 0.7045 GB, free: 15.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/0.5936, allocations: 268 kB / 0.7048 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.5942, allocations: 358.2 kB / 0.7051 GB, free: 15.07 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.5942, allocations: 7.938 kB / 0.7051 GB, free: 15.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007178/0.5949, allocations: 371.8 kB / 0.7055 GB, free: 14.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.5949, allocations: 17.81 kB / 0.7055 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.5949, allocations: 8 kB / 0.7055 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/0.595, allocations: 8 kB / 0.7055 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.5954, allocations: 135.8 kB / 0.7056 GB, free: 14.54 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/0.5959, allocations: 0.5977 MB / 0.7062 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.5961, allocations: 43.67 kB / 0.7062 GB, free: 13.87 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.799e-05/0.5962, allocations: 43.98 kB / 0.7063 GB, free: 13.83 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.0001789/0.5964, allocations: 145.6 kB / 0.7064 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.941e-05/0.5965, allocations: 27.95 kB / 0.7065 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.5973, allocations: 429 kB / 0.7069 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.5973, allocations: 4 kB / 0.7069 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5974, allocations: 0 / 0.7069 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.5974, allocations: 3.984 kB / 0.7069 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009531/0.5983, allocations: 0.5113 MB / 0.7074 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5983, allocations: 4.219 kB / 0.7074 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/0.5986, allocations: 63.95 kB / 0.7074 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.5986, allocations: 4 kB / 0.7074 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.5986, allocations: 7.938 kB / 0.7074 GB, free: 12.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004091/0.599, allocations: 0.5977 MB / 0.708 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.599, allocations: 7.969 kB / 0.708 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.5994, allocations: 297.2 kB / 0.7083 GB, free: 11.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.5995, allocations: 35.81 kB / 0.7084 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.023e-05/0.5996, allocations: 12.09 kB / 0.7084 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.5998, allocations: 7.984 kB / 0.7084 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.5999, allocations: 23.92 kB / 0.7084 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-05/0.5999, allocations: 15.98 kB / 0.7084 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001489/0.6001, allocations: 140.2 kB / 0.7085 GB, free: 11.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6001, allocations: 0 / 0.7085 GB, free: 11.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007257/0.6008, allocations: 151.7 kB / 0.7087 GB, free: 11.21 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.001264/0.602, allocations: 0.948 MB / 0.7096 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005904/0.6026, allocations: 217.3 kB / 0.7098 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.764e-06/0.6026, allocations: 0 / 0.7098 GB, free: 10.01 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002134/0.6029, allocations: 88.45 kB / 0.7099 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005535/0.6034, allocations: 62.72 kB / 0.71 GB, free: 9.863 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004092/0.6075, allocations: 2.878 MB / 0.7128 GB, free: 6.68 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.6076, allocations: 116.4 kB / 0.7129 GB, free: 6.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007218/0.6084, allocations: 381.1 kB / 0.7133 GB, free: 6.176 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6086, allocations: 95.38 kB / 0.7133 GB, free: 6.082 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.6086, allocations: 0 / 0.7133 GB, free: 6.082 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03611/0.6447, allocations: 8.119 MB / 0.7213 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.04, allocations: 4 kB / 0.7213 GB, free: 14.1 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.862803739029914] 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.183191268704832 13.210270586 12.630760275 Calling exit ...