Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.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.0008135/0.0008135, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0009103/0.0009103, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8685/0.8685, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.226/0.226, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 442.2 MB, free: 1.621 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.651e-05, allocations: 8.328 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2568/0.2568, allocations: 132 MB / 0.5608 GB, free: 12.58 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004638/0.2615, allocations: 4.757 MB / 0.5654 GB, free: 7.812 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001944/0.2617, allocations: 4 kB / 0.5654 GB, free: 7.809 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003697/0.262, allocations: 47.62 kB / 0.5655 GB, free: 7.762 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003136/0.2652, allocations: 1.37 MB / 0.5668 GB, free: 6.395 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2655, allocations: 147.5 kB / 0.5669 GB, free: 6.254 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005853/0.266, allocations: 408.6 kB / 0.5673 GB, free: 5.855 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.404e-05/0.2661, allocations: 5.812 kB / 0.5673 GB, free: 5.852 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.2664, allocations: 223.3 kB / 0.5676 GB, free: 5.633 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.2666, allocations: 163.6 kB / 0.5677 GB, free: 5.473 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2667, allocations: 12 kB / 0.5677 GB, free: 5.461 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.2686, allocations: 0.9744 MB / 0.5687 GB, free: 4.484 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.2687, allocations: 47.77 kB / 0.5687 GB, free: 4.438 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.2687, allocations: 83.81 kB / 0.5688 GB, free: 4.355 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001272/0.27, allocations: 0.9508 MB / 0.5697 GB, free: 3.402 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.27, allocations: 4 kB / 0.5697 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.27, allocations: 0 / 0.5697 GB, free: 3.398 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.27, allocations: 0 / 0.5697 GB, free: 3.398 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.001084/0.2711, allocations: 0.6183 MB / 0.5703 GB, free: 2.754 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2712, allocations: 12.03 kB / 0.5703 GB, free: 2.742 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.774e-05/0.2712, allocations: 58.73 kB / 0.5704 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003592/0.2748, allocations: 0.6423 MB / 0.571 GB, free: 2.039 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.2752, allocations: 205.4 kB / 0.5712 GB, free: 1.812 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.2753, allocations: 231.6 kB / 0.5714 GB, free: 1.539 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.2754, allocations: 24 kB / 0.5715 GB, free: 1.516 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000836/0.2762, allocations: 0.7384 MB / 0.5722 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2762, allocations: 3.375 kB / 0.5722 GB, free: 0.7031 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.594e-05/0.2763, allocations: 11.98 kB / 0.5722 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.2763, allocations: 8 kB / 0.5722 GB, free: 0.6836 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008715/0.2772, allocations: 0.6184 MB / 0.5728 GB, free: 68 kB / 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.001478/0.2787, allocations: 1.451 MB / 0.5742 GB, free: 14.53 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.2789, allocations: 144.6 kB / 0.5744 GB, free: 14.38 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.713e-05/0.279, allocations: 68.88 kB / 0.5744 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006431/0.2796, allocations: 467.3 kB / 0.5749 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2797, allocations: 38.5 kB / 0.5749 GB, free: 13.79 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.532e-06/0.2797, allocations: 0 / 0.5749 GB, free: 13.79 MB / 490.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=19): time 0.0009114/0.2806, allocations: 332.5 kB / 0.5752 GB, free: 13.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.2806, allocations: 57.75 kB / 0.5753 GB, free: 13.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.2808, allocations: 199 kB / 0.5755 GB, free: 13.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.2808, allocations: 25.7 kB / 0.5755 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.2809, allocations: 195.8 kB / 0.5757 GB, free: 12.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.2809, allocations: 71.42 kB / 0.5758 GB, free: 12.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.281, allocations: 90.02 kB / 0.5758 GB, free: 12.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.987e-05/0.2811, allocations: 330.8 kB / 0.5762 GB, free: 12.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.912e-05/0.2812, allocations: 64.72 kB / 0.5762 GB, free: 12.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001674/0.2813, allocations: 268 kB / 0.5765 GB, free: 12.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.2816, allocations: 370.5 kB / 0.5768 GB, free: 11.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.2816, allocations: 15.92 kB / 0.5768 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003946/0.282, allocations: 361.2 kB / 0.5772 GB, free: 11.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.282, allocations: 8 kB / 0.5772 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.2821, allocations: 8 kB / 0.5772 GB, free: 11.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.2821, allocations: 12 kB / 0.5772 GB, free: 11.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2823, allocations: 127.8 kB / 0.5773 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002778/0.2826, allocations: 0.5982 MB / 0.5779 GB, free: 10.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.2827, allocations: 59.67 kB / 0.578 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.635e-05/0.2828, allocations: 36 kB / 0.578 GB, free: 10.36 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.0001092/0.2829, allocations: 149 kB / 0.5782 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.672e-05/0.2829, allocations: 19.89 kB / 0.5782 GB, free: 10.18 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.2834, allocations: 460.7 kB / 0.5786 GB, free: 9.727 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.2835, allocations: 11.92 kB / 0.5786 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.2835, allocations: 0 / 0.5786 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2835, allocations: 0 / 0.5786 GB, free: 9.715 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005273/0.284, allocations: 0.5259 MB / 0.5791 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.284, allocations: 256 / 0.5791 GB, free: 9.121 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.2841, allocations: 71.89 kB / 0.5792 GB, free: 9.051 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.2841, allocations: 3.938 kB / 0.5792 GB, free: 9.047 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.2841, allocations: 11.19 kB / 0.5792 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002358/0.2844, allocations: 0.6015 MB / 0.5798 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2844, allocations: 4 kB / 0.5798 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.2846, allocations: 282.2 kB / 0.5801 GB, free: 8.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.221e-05/0.2846, allocations: 35.81 kB / 0.5801 GB, free: 8.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.2847, allocations: 4 kB / 0.5801 GB, free: 8.055 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.2848, allocations: 20.02 kB / 0.5801 GB, free: 8.035 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.2848, allocations: 15.98 kB / 0.5802 GB, free: 8.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.968e-05/0.2848, allocations: 19.98 kB / 0.5802 GB, free: 8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.608e-05/0.2849, allocations: 139 kB / 0.5803 GB, free: 7.863 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2849, allocations: 0 / 0.5803 GB, free: 7.863 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0004776/0.2854, allocations: 167.6 kB / 0.5805 GB, free: 7.699 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.0007259/0.2861, allocations: 1.014 MB / 0.5815 GB, free: 6.637 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.2864, allocations: 216.5 kB / 0.5817 GB, free: 6.426 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2864, allocations: 4 kB / 0.5817 GB, free: 6.422 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.2865, allocations: 71.89 kB / 0.5817 GB, free: 6.352 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.2869, allocations: 72.97 kB / 0.5818 GB, free: 6.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.2896, allocations: 3.018 MB / 0.5848 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.713e-05/0.2897, allocations: 116.6 kB / 0.5849 GB, free: 2.828 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004084/0.2901, allocations: 378.1 kB / 0.5852 GB, free: 2.461 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001315/0.2902, allocations: 92.42 kB / 0.5853 GB, free: 2.367 MB / 490.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2902, allocations: 0 / 0.5853 GB, free: 2.367 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.3097, allocations: 8.786 MB / 0.5939 GB, free: 9.766 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.812/8.122, allocations: 7.938 kB / 0.5939 GB, free: 9.758 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.987886349670589] 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.2136089829728 8.225473909 7.953315209 Calling exit ...