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.001742/0.001742, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.0023/0.0023, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.451/1.451, 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.2214/0.2214, allocations: 44.93 MB / 358.8 MB, free: 6.051 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_DryAirNasa",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.002306/0.002306, allocations: 67.89 kB / 0.4931 GB, free: 10.48 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3786, allocations: 65.47 MB / 0.557 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1725/0.5511, allocations: 132 MB / 0.6859 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007122/0.5582, allocations: 4.618 MB / 0.6904 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.5584, allocations: 0 / 0.6904 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000351/0.5588, allocations: 59.59 kB / 0.6905 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004398/0.5632, allocations: 1.222 MB / 0.6917 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000388/0.5636, allocations: 135.3 kB / 0.6918 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.5643, allocations: 402.1 kB / 0.6922 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.77e-05/0.5643, allocations: 9.797 kB / 0.6922 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004093/0.5647, allocations: 183.3 kB / 0.6924 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.5651, allocations: 171.5 kB / 0.6925 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.64e-05/0.5652, allocations: 8 kB / 0.6925 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.5675, allocations: 0.9285 MB / 0.6934 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.5676, allocations: 47.77 kB / 0.6935 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.5678, allocations: 99.56 kB / 0.6936 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001942/0.5697, allocations: 0.8415 MB / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5697, allocations: 4 kB / 0.6944 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5697, allocations: 0 / 0.6944 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.5697, allocations: 0 / 0.6944 GB, free: 10.27 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.001449/0.5712, allocations: 0.6216 MB / 0.695 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5712, allocations: 8.031 kB / 0.695 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.425e-05/0.5713, allocations: 62.73 kB / 0.6951 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007877/0.5792, allocations: 0.6054 MB / 0.6957 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.5799, allocations: 213.3 kB / 0.6959 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002262/0.5801, allocations: 222.1 kB / 0.6961 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.5802, allocations: 24 kB / 0.6961 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.5817, allocations: 0.7422 MB / 0.6968 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.5817, allocations: 0 / 0.6968 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.07e-05/0.5818, allocations: 12 kB / 0.6968 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.5818, allocations: 8 kB / 0.6968 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.5834, allocations: 0.6221 MB / 0.6975 GB, free: 6.949 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.002418/0.5858, allocations: 1.443 MB / 0.6989 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.5861, allocations: 146.5 kB / 0.699 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.5863, allocations: 72.81 kB / 0.6991 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006211/0.5869, allocations: 372 kB / 0.6994 GB, free: 4.805 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.587, allocations: 34.56 kB / 0.6995 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.084e-06/0.587, allocations: 4 kB / 0.6995 GB, free: 4.758 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.001125/0.5881, allocations: 333.3 kB / 0.6998 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/0.5881, allocations: 59.34 kB / 0.6998 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.5883, allocations: 203 kB / 0.7 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5884, allocations: 29.7 kB / 0.7001 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.5885, allocations: 195.7 kB / 0.7002 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.244e-05/0.5886, allocations: 67.42 kB / 0.7003 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.5887, allocations: 102 kB / 0.7004 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.5889, allocations: 330.8 kB / 0.7007 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.589, allocations: 64.72 kB / 0.7008 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003113/0.5894, allocations: 260 kB / 0.701 GB, free: 3.012 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.5899, allocations: 370.2 kB / 0.7014 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.5899, allocations: 0 / 0.7014 GB, free: 2.555 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006995/0.5906, allocations: 371.7 kB / 0.7017 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5906, allocations: 11.94 kB / 0.7018 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5906, allocations: 8 kB / 0.7018 GB, free: 2.168 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/0.5907, allocations: 12.81 kB / 0.7018 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004268/0.5911, allocations: 127.8 kB / 0.7019 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000449/0.5915, allocations: 0.6094 MB / 0.7025 GB, free: 1.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.5918, allocations: 39.67 kB / 0.7025 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/0.5919, allocations: 43.98 kB / 0.7026 GB, free: 1.316 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.0001986/0.5921, allocations: 145.6 kB / 0.7027 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.5921, allocations: 23.86 kB / 0.7027 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008648/0.593, allocations: 429.1 kB / 0.7031 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.593, allocations: 8 kB / 0.7031 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.593, allocations: 0 / 0.7031 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.593, allocations: 0 / 0.7031 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009059/0.5939, allocations: 0.5191 MB / 0.7037 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.5939, allocations: 0 / 0.7037 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002253/0.5942, allocations: 59.91 kB / 0.7037 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.5942, allocations: 4 kB / 0.7037 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.5942, allocations: 20.14 kB / 0.7037 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004416/0.5946, allocations: 0.5938 MB / 0.7043 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5946, allocations: 0 / 0.7043 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004012/0.595, allocations: 293.2 kB / 0.7046 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.5951, allocations: 31.83 kB / 0.7046 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.267e-05/0.5952, allocations: 11.98 kB / 0.7046 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.5954, allocations: 8 kB / 0.7046 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.5955, allocations: 23.91 kB / 0.7047 GB, free: 15.01 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.5955, allocations: 16.09 kB / 0.7047 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001417/0.5957, allocations: 144.2 kB / 0.7048 GB, free: 14.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5957, allocations: 0 / 0.7048 GB, free: 14.85 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006421/0.5963, allocations: 151.7 kB / 0.705 GB, free: 14.7 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.00112/0.5974, allocations: 0.9545 MB / 0.7059 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005625/0.598, allocations: 223 kB / 0.7061 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.598, allocations: 4 kB / 0.7061 GB, free: 13.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.5982, allocations: 77.34 kB / 0.7062 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.5987, allocations: 72.22 kB / 0.7063 GB, free: 13.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003954/0.6027, allocations: 2.866 MB / 0.7091 GB, free: 10.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.6028, allocations: 120.4 kB / 0.7092 GB, free: 10.03 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006983/0.6035, allocations: 385 kB / 0.7095 GB, free: 9.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002476/0.6038, allocations: 95.34 kB / 0.7096 GB, free: 9.562 MB / 0.545 GB Notification: Performance of SimCode: time 6.21e-07/0.6038, allocations: 0 / 0.7096 GB, free: 9.562 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03603/0.6398, allocations: 8.139 MB / 0.7176 GB, free: 1.613 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.19, allocations: 0 / 0.7176 GB, free: 1.613 MB / 0.545 GB " [Timeout remaining time 647] (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.111777496989816] 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.313069224823266 13.342114465 12.76687336 Calling exit ...