Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.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.0008665/0.0008665, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 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.0009629/0.0009629, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8999/0.8999, allocations: 177 MB / 204.1 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] 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.2464/0.2464, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 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.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 442.2 MB, free: 1.551 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.92e-05, allocations: 4.672 kB / 442.2 MB, free: 1.547 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.2772/0.2772, allocations: 132 MB / 0.5608 GB, free: 12.46 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004244/0.2815, allocations: 4.76 MB / 0.5654 GB, free: 7.691 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.2816, allocations: 4 kB / 0.5654 GB, free: 7.688 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.2819, allocations: 47.67 kB / 0.5655 GB, free: 7.641 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003403/0.2853, allocations: 1.357 MB / 0.5668 GB, free: 6.277 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002674/0.2856, allocations: 141.8 kB / 0.5669 GB, free: 6.145 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005831/0.2862, allocations: 413.8 kB / 0.5673 GB, free: 5.738 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.692e-05/0.2863, allocations: 5.812 kB / 0.5673 GB, free: 5.734 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003316/0.2866, allocations: 223.3 kB / 0.5675 GB, free: 5.516 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2868, allocations: 167.6 kB / 0.5677 GB, free: 5.352 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.2869, allocations: 8 kB / 0.5677 GB, free: 5.344 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002262/0.2891, allocations: 0.9705 MB / 0.5687 GB, free: 4.371 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.004e-05/0.2892, allocations: 47.77 kB / 0.5687 GB, free: 4.324 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 9.759e-05/0.2893, allocations: 79.83 kB / 0.5688 GB, free: 4.246 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.2915, allocations: 0.9586 MB / 0.5697 GB, free: 3.285 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2915, allocations: 0 / 0.5697 GB, free: 3.285 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.2915, allocations: 7 kB / 0.5697 GB, free: 3.281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.2915, allocations: 0 / 0.5697 GB, free: 3.281 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.001544/0.2931, allocations: 0.6105 MB / 0.5703 GB, free: 2.645 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.2931, allocations: 12.03 kB / 0.5703 GB, free: 2.633 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.725e-05/0.2932, allocations: 66.7 kB / 0.5704 GB, free: 2.559 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003914/0.2971, allocations: 0.6384 MB / 0.571 GB, free: 1.926 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005416/0.2976, allocations: 201.4 kB / 0.5712 GB, free: 1.703 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001381/0.2978, allocations: 234 kB / 0.5714 GB, free: 1.426 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.2978, allocations: 27.94 kB / 0.5715 GB, free: 1.398 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008787/0.2987, allocations: 0.7423 MB / 0.5722 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.2987, allocations: 0 / 0.5722 GB, free: 0.5781 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.154e-05/0.2988, allocations: 12 kB / 0.5722 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.036e-05/0.2988, allocations: 8 kB / 0.5722 GB, free: 0.5586 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009231/0.2997, allocations: 0.6224 MB / 0.5728 GB, free: 15.93 MB / 490.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.001495/0.3012, allocations: 1.437 MB / 0.5742 GB, free: 14.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002491/0.3015, allocations: 150.2 kB / 0.5744 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.255e-05/0.3016, allocations: 68.83 kB / 0.5744 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006309/0.3022, allocations: 475.3 kB / 0.5749 GB, free: 13.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.3022, allocations: 30.56 kB / 0.5749 GB, free: 13.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 4.779e-06/0.3022, allocations: 0 / 0.5749 GB, free: 13.68 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.0006705/0.3029, allocations: 326.2 kB / 0.5752 GB, free: 13.35 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.3029, allocations: 59.41 kB / 0.5753 GB, free: 13.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3031, allocations: 203 kB / 0.5755 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003377/0.3034, allocations: 25.7 kB / 0.5755 GB, free: 13.04 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.3035, allocations: 195.8 kB / 0.5757 GB, free: 12.84 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.3035, allocations: 71.44 kB / 0.5757 GB, free: 12.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.915e-05/0.3036, allocations: 90 kB / 0.5758 GB, free: 12.68 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3038, allocations: 330.8 kB / 0.5761 GB, free: 12.35 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3039, allocations: 67.39 kB / 0.5762 GB, free: 12.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002005/0.3041, allocations: 264.5 kB / 0.5765 GB, free: 11.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3044, allocations: 378.1 kB / 0.5768 GB, free: 11.47 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.3044, allocations: 4 kB / 0.5768 GB, free: 11.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004036/0.3048, allocations: 368.8 kB / 0.5772 GB, free: 11.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.3048, allocations: 8 kB / 0.5772 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3048, allocations: 4.906 kB / 0.5772 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.3048, allocations: 15.98 kB / 0.5772 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.3051, allocations: 127.8 kB / 0.5773 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003113/0.3054, allocations: 0.6015 MB / 0.5779 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.3056, allocations: 51.62 kB / 0.578 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.3056, allocations: 40.94 kB / 0.578 GB, free: 10.23 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.000125/0.3057, allocations: 145.6 kB / 0.5781 GB, free: 10.08 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3058, allocations: 15.91 kB / 0.5782 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/0.3064, allocations: 461 kB / 0.5786 GB, free: 9.609 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.3064, allocations: 10.62 kB / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.3064, allocations: 0 / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.3064, allocations: 0 / 0.5786 GB, free: 9.602 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005825/0.307, allocations: 0.5313 MB / 0.5791 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.307, allocations: 0 / 0.5791 GB, free: 9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.3071, allocations: 63.91 kB / 0.5792 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3071, allocations: 0 / 0.5792 GB, free: 8.938 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3071, allocations: 11.98 kB / 0.5792 GB, free: 8.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002402/0.3074, allocations: 0.5938 MB / 0.5798 GB, free: 8.309 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.643e-06/0.3074, allocations: 13.44 kB / 0.5798 GB, free: 8.297 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.3076, allocations: 289.7 kB / 0.5801 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.3077, allocations: 31.83 kB / 0.5801 GB, free: 7.945 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3077, allocations: 8 kB / 0.5801 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3078, allocations: 19.8 kB / 0.5801 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3079, allocations: 23.97 kB / 0.5801 GB, free: 7.895 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.3079, allocations: 12 kB / 0.5802 GB, free: 7.883 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.378e-05/0.308, allocations: 139 kB / 0.5803 GB, free: 7.746 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.308, allocations: 0 / 0.5803 GB, free: 7.746 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005263/0.3085, allocations: 171.6 kB / 0.5805 GB, free: 7.578 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.0007894/0.3093, allocations: 1.007 MB / 0.5814 GB, free: 6.523 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003679/0.3097, allocations: 219.5 kB / 0.5816 GB, free: 6.309 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3097, allocations: 5.875 kB / 0.5817 GB, free: 6.305 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.3098, allocations: 76.33 kB / 0.5817 GB, free: 6.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.3101, allocations: 64.56 kB / 0.5818 GB, free: 6.172 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.3131, allocations: 3.022 MB / 0.5847 GB, free: 2.844 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001005/0.3132, allocations: 112.6 kB / 0.5848 GB, free: 2.715 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004713/0.3136, allocations: 374.2 kB / 0.5852 GB, free: 2.352 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.3138, allocations: 88.44 kB / 0.5853 GB, free: 2.262 MB / 490.7 MB Notification: Performance of SimCode: time 1.172e-06/0.3138, allocations: 3.938 kB / 0.5853 GB, free: 2.258 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3386, allocations: 8.788 MB / 0.5939 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/8.108, allocations: 6.812 kB / 0.5939 GB, free: 9.648 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.060579712502658] 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.197851742617786 8.210769946 7.916738485 Calling exit ...