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.001479/0.001479, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001821/0.001821, allocations: 198 kB / 23.72 MB, free: 4.492 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.75 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.2157/0.2157, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.002057/0.002057, allocations: 67.89 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3521, allocations: 65.47 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.1832/0.5353, allocations: 132 MB / 0.6859 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.5464, allocations: 4.614 MB / 0.6904 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.5466, allocations: 4 kB / 0.6904 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004264/0.547, allocations: 59.59 kB / 0.6905 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.006437/0.5535, allocations: 1.222 MB / 0.6916 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.5542, allocations: 143.5 kB / 0.6918 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.5551, allocations: 398.2 kB / 0.6922 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.124e-05/0.5552, allocations: 9.812 kB / 0.6922 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005703/0.5558, allocations: 179.2 kB / 0.6923 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006228/0.5564, allocations: 175.4 kB / 0.6925 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.5565, allocations: 8 kB / 0.6925 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.5602, allocations: 0.9332 MB / 0.6934 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.5603, allocations: 47.77 kB / 0.6935 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002048/0.5605, allocations: 103.6 kB / 0.6936 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002399/0.5629, allocations: 0.8416 MB / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5629, allocations: 0 / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.864e-06/0.5629, allocations: 0 / 0.6944 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.124e-05/0.563, allocations: 0 / 0.6944 GB, free: 10.28 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.002163/0.5651, allocations: 0.6193 MB / 0.695 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.5652, allocations: 12.03 kB / 0.695 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001151/0.5653, allocations: 66.72 kB / 0.6951 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01433/0.5796, allocations: 0.6015 MB / 0.6957 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008651/0.5805, allocations: 221.3 kB / 0.6959 GB, free: 8.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003204/0.5808, allocations: 222.1 kB / 0.6961 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.581, allocations: 20 kB / 0.6961 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.5832, allocations: 0.7422 MB / 0.6968 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.722e-05/0.5832, allocations: 0 / 0.6968 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.5834, allocations: 12 kB / 0.6968 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.5834, allocations: 4 kB / 0.6968 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.5861, allocations: 0.626 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.003719/0.5898, allocations: 1.439 MB / 0.6989 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.5904, allocations: 142.6 kB / 0.699 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.5906, allocations: 72.83 kB / 0.6991 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008495/0.5915, allocations: 383.9 kB / 0.6994 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5915, allocations: 30.56 kB / 0.6995 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=17): time 2.975e-06/0.5915, allocations: 0 / 0.6995 GB, free: 4.762 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.001692/0.5932, allocations: 331 kB / 0.6998 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5933, allocations: 59.39 kB / 0.6998 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/0.5936, allocations: 199 kB / 0.7 GB, free: 4.164 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.5936, allocations: 33.64 kB / 0.7001 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.5938, allocations: 203.7 kB / 0.7003 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/0.5939, allocations: 63.48 kB / 0.7003 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.5941, allocations: 97.95 kB / 0.7004 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.5943, allocations: 326.8 kB / 0.7007 GB, free: 3.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/0.5946, allocations: 68.7 kB / 0.7008 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004815/0.595, allocations: 256.1 kB / 0.701 GB, free: 3.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000841/0.5959, allocations: 370.2 kB / 0.7014 GB, free: 2.562 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.5959, allocations: 4 kB / 0.7014 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001107/0.597, allocations: 373.6 kB / 0.7017 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.597, allocations: 11.94 kB / 0.7018 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.597, allocations: 12.09 kB / 0.7018 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.242e-05/0.5971, allocations: 11.98 kB / 0.7018 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.5978, allocations: 119.9 kB / 0.7019 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005691/0.5983, allocations: 0.6055 MB / 0.7025 GB, free: 1.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000418/0.5987, allocations: 43.67 kB / 0.7025 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.5988, allocations: 40 kB / 0.7026 GB, free: 1.324 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.0002261/0.5991, allocations: 149.6 kB / 0.7027 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.5992, allocations: 23.86 kB / 0.7027 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6005, allocations: 435.9 kB / 0.7031 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.6005, allocations: 0 / 0.7031 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/0.6005, allocations: 7.938 kB / 0.7032 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.6005, allocations: 4 kB / 0.7032 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.6019, allocations: 0.5152 MB / 0.7037 GB, free: 108 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6019, allocations: 4.219 kB / 0.7037 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003673/0.6022, allocations: 59.91 kB / 0.7037 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6022, allocations: 0 / 0.7037 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.6023, allocations: 15.94 kB / 0.7037 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005511/0.6028, allocations: 0.59 MB / 0.7043 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/0.6028, allocations: 7.938 kB / 0.7043 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005981/0.6034, allocations: 289.3 kB / 0.7046 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6036, allocations: 35.77 kB / 0.7046 GB, free: 15.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.095e-05/0.6036, allocations: 8 kB / 0.7046 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003896/0.604, allocations: 12.08 kB / 0.7046 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.6041, allocations: 27.89 kB / 0.7047 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.753e-05/0.6041, allocations: 16 kB / 0.7047 GB, free: 14.99 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002008/0.6043, allocations: 136.2 kB / 0.7048 GB, free: 14.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6043, allocations: 0 / 0.7048 GB, free: 14.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001074/0.6054, allocations: 151.7 kB / 0.705 GB, free: 14.71 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.001571/0.607, allocations: 0.9531 MB / 0.7059 GB, free: 13.71 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008491/0.6078, allocations: 228.2 kB / 0.7061 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.6078, allocations: 0 / 0.7061 GB, free: 13.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003236/0.6082, allocations: 76.27 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.0008608/0.609, allocations: 72.11 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.005692/0.6147, allocations: 2.866 MB / 0.7091 GB, free: 10.18 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001788/0.6149, allocations: 124.3 kB / 0.7092 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00116/0.616, allocations: 381 kB / 0.7095 GB, free: 9.664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.6164, allocations: 95.36 kB / 0.7096 GB, free: 9.57 MB / 0.545 GB Notification: Performance of SimCode: time 7.61e-07/0.6164, allocations: 0 / 0.7096 GB, free: 9.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04839/0.6648, allocations: 8.132 MB / 0.7176 GB, free: 1.621 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.4, allocations: 7.625 kB / 0.7176 GB, free: 1.617 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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9988e-05 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.47583619505167] 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.520450692158192 13.546483736 12.978617101 Calling exit ...