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.000882/0.000882, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008014/0.0008014, allocations: 170 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9073/0.9073, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2622/0.2622, allocations: 32.79 MB / 293.5 MB, free: 1.23 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.742e-05, allocations: 7.906 kB / 439.6 MB, free: 4.223 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.2744/0.2744, allocations: 132 MB / 0.5582 GB, free: 0.582 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.003187/0.2776, allocations: 4.611 MB / 0.5627 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.267e-05/0.2776, allocations: 4 kB / 0.5628 GB, free: 11.96 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.2779, allocations: 55.59 kB / 0.5628 GB, free: 11.91 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.2798, allocations: 1.241 MB / 0.564 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.28, allocations: 151.5 kB / 0.5642 GB, free: 10.52 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003574/0.2804, allocations: 405.9 kB / 0.5645 GB, free: 10.12 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.2804, allocations: 8.734 kB / 0.5646 GB, free: 10.11 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.2806, allocations: 227.3 kB / 0.5648 GB, free: 9.891 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001704/0.2808, allocations: 163.6 kB / 0.5649 GB, free: 9.73 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2808, allocations: 8 kB / 0.5649 GB, free: 9.723 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008855/0.2817, allocations: 0.9434 MB / 0.5659 GB, free: 8.781 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.2818, allocations: 51.75 kB / 0.5659 GB, free: 8.73 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.396e-05/0.2818, allocations: 83.77 kB / 0.566 GB, free: 8.648 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007822/0.2826, allocations: 0.9508 MB / 0.5669 GB, free: 7.695 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.2826, allocations: 8 kB / 0.5669 GB, free: 7.688 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2826, allocations: 0 / 0.5669 GB, free: 7.688 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.2826, allocations: 0 / 0.5669 GB, free: 7.688 MB / 474.7 MB 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.0008216/0.2834, allocations: 0.6105 MB / 0.5675 GB, free: 7.051 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2835, allocations: 8.031 kB / 0.5675 GB, free: 7.043 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.879e-05/0.2835, allocations: 58.73 kB / 0.5676 GB, free: 6.977 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003583/0.2871, allocations: 0.6425 MB / 0.5682 GB, free: 6.34 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.2875, allocations: 205.6 kB / 0.5684 GB, free: 6.113 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.2876, allocations: 231.6 kB / 0.5686 GB, free: 5.84 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.2876, allocations: 28 kB / 0.5687 GB, free: 5.812 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007796/0.2884, allocations: 0.7345 MB / 0.5694 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.2884, allocations: 3.938 kB / 0.5694 GB, free: 4.996 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.2885, allocations: 12 kB / 0.5694 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.2885, allocations: 11.98 kB / 0.5694 GB, free: 4.973 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008394/0.2893, allocations: 0.6184 MB / 0.57 GB, free: 4.355 MB / 474.7 MB 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.001256/0.2906, allocations: 1.436 MB / 0.5714 GB, free: 2.836 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.2908, allocations: 146.5 kB / 0.5715 GB, free: 2.684 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.306e-05/0.2909, allocations: 68.88 kB / 0.5716 GB, free: 2.613 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003278/0.2912, allocations: 364.1 kB / 0.572 GB, free: 2.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.2912, allocations: 42.55 kB / 0.572 GB, free: 2.188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.2912, allocations: 3.984 kB / 0.572 GB, free: 2.184 MB / 474.7 MB 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.0006177/0.2919, allocations: 315.1 kB / 0.5723 GB, free: 1.875 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.2919, allocations: 69.59 kB / 0.5724 GB, free: 1.797 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.292, allocations: 211 kB / 0.5726 GB, free: 1.582 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.292, allocations: 25.7 kB / 0.5726 GB, free: 1.551 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.2921, allocations: 191.8 kB / 0.5728 GB, free: 1.359 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.2921, allocations: 63.47 kB / 0.5728 GB, free: 1.297 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.2922, allocations: 106 kB / 0.5729 GB, free: 1.188 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.356e-05/0.2923, allocations: 322.8 kB / 0.5732 GB, free: 0.8633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.711e-05/0.2924, allocations: 64.7 kB / 0.5733 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2926, allocations: 265.1 kB / 0.5736 GB, free: 460 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.2928, allocations: 368.5 kB / 0.5739 GB, free: 15.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.2928, allocations: 4 kB / 0.5739 GB, free: 15.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003817/0.2932, allocations: 368.8 kB / 0.5743 GB, free: 15.62 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2932, allocations: 10.66 kB / 0.5743 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2932, allocations: 12.7 kB / 0.5743 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.2933, allocations: 8 kB / 0.5743 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000231/0.2935, allocations: 135.8 kB / 0.5744 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002325/0.2937, allocations: 0.6048 MB / 0.575 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2939, allocations: 47.67 kB / 0.5751 GB, free: 14.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.2939, allocations: 40 kB / 0.5751 GB, free: 14.75 MB / 490.7 MB 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.0001013/0.294, allocations: 145.6 kB / 0.5752 GB, free: 14.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.071e-05/0.294, allocations: 23.84 kB / 0.5753 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.2945, allocations: 433.8 kB / 0.5757 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2945, allocations: 3.938 kB / 0.5757 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2945, allocations: 0 / 0.5757 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2945, allocations: 0 / 0.5757 GB, free: 14.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/0.295, allocations: 0.5192 MB / 0.5762 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.295, allocations: 3.984 kB / 0.5762 GB, free: 13.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.2951, allocations: 55.97 kB / 0.5762 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2951, allocations: 4 kB / 0.5762 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.2951, allocations: 4 kB / 0.5763 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00021/0.2953, allocations: 0.5976 MB / 0.5768 GB, free: 12.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2953, allocations: 4.344 kB / 0.5768 GB, free: 12.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002114/0.2956, allocations: 289.3 kB / 0.5771 GB, free: 12.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.385e-05/0.2956, allocations: 39.75 kB / 0.5772 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.2956, allocations: 9.312 kB / 0.5772 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2958, allocations: 15.98 kB / 0.5772 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.2958, allocations: 15.97 kB / 0.5772 GB, free: 12.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.2958, allocations: 16 kB / 0.5772 GB, free: 12.46 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.813e-05/0.2959, allocations: 136.2 kB / 0.5773 GB, free: 12.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2959, allocations: 0 / 0.5773 GB, free: 12.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003741/0.2963, allocations: 151.7 kB / 0.5775 GB, free: 12.18 MB / 490.7 MB 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.000855/0.2971, allocations: 0.9778 MB / 0.5784 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003174/0.2974, allocations: 220.9 kB / 0.5786 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2974, allocations: 0 / 0.5786 GB, free: 10.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.9e-05/0.2975, allocations: 75.84 kB / 0.5787 GB, free: 10.87 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.2979, allocations: 67 kB / 0.5788 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002284/0.3002, allocations: 2.829 MB / 0.5815 GB, free: 7.684 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.626e-05/0.3002, allocations: 116.6 kB / 0.5817 GB, free: 7.547 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.3006, allocations: 388.7 kB / 0.582 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.3008, allocations: 96.44 kB / 0.5821 GB, free: 7.074 MB / 490.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3008, allocations: 0 / 0.5821 GB, free: 7.074 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.3188, allocations: 8.26 MB / 0.5902 GB, free: 15 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.173, allocations: 7.375 kB / 0.5902 GB, free: 15 MB / 0.4948 GB " [Timeout remaining time 652] (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: 10.240174717269838] 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'] 8.263949203304946 8.274854052 7.989983062 Calling exit ...