Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001369/0.001369, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001614/0.001614, allocations: 215.3 kB / 23.78 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 207.7 MB / 234.6 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.215/0.215, allocations: 44.27 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.CO2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002161/0.002161, allocations: 75.88 kB / 468.3 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1266, allocations: 61.04 MB / 0.517 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.CO2): time 0.4099/0.5365, allocations: 130.1 MB / 0.644 GB, free: 116 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005716/0.5422, allocations: 4.22 MB / 0.6481 GB, free: 11.9 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.5423, allocations: 4 kB / 0.6481 GB, free: 11.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003527/0.5426, allocations: 63.55 kB / 0.6482 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004131/0.5468, allocations: 1.556 MB / 0.6497 GB, free: 10.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003564/0.5471, allocations: 149.5 kB / 0.6499 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007495/0.5479, allocations: 398.2 kB / 0.6502 GB, free: 9.742 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.065e-05/0.5479, allocations: 9.812 kB / 0.6502 GB, free: 9.734 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.5483, allocations: 183.2 kB / 0.6504 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.5486, allocations: 171.5 kB / 0.6506 GB, free: 9.387 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.5486, allocations: 8 kB / 0.6506 GB, free: 9.379 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.5509, allocations: 1.193 MB / 0.6518 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.551, allocations: 51.75 kB / 0.6518 GB, free: 8.133 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.5511, allocations: 95.59 kB / 0.6519 GB, free: 8.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001542/0.5526, allocations: 0.9585 MB / 0.6528 GB, free: 7.078 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.5526, allocations: 0 / 0.6528 GB, free: 7.078 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.5526, allocations: 0 / 0.6528 GB, free: 7.078 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.5526, allocations: 3.938 kB / 0.6528 GB, free: 7.074 MB / 494.1 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.001367/0.554, allocations: 0.6449 MB / 0.6535 GB, free: 6.398 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5541, allocations: 8.031 kB / 0.6535 GB, free: 6.391 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.957e-05/0.5541, allocations: 4.688 kB / 0.6535 GB, free: 6.383 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.793e-05/0.5542, allocations: 72.03 kB / 0.6535 GB, free: 6.305 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.5615, allocations: 0.5863 MB / 0.6541 GB, free: 5.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005087/0.562, allocations: 221.9 kB / 0.6543 GB, free: 5.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.5622, allocations: 222.1 kB / 0.6545 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.86e-05/0.5623, allocations: 20 kB / 0.6546 GB, free: 5.191 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.5636, allocations: 0.7383 MB / 0.6553 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.5636, allocations: 0 / 0.6553 GB, free: 4.379 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.5637, allocations: 12 kB / 0.6553 GB, free: 4.367 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.5637, allocations: 8 kB / 0.6553 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.5653, allocations: 0.6338 MB / 0.6559 GB, free: 3.723 MB / 494.1 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.002184/0.5674, allocations: 1.454 MB / 0.6573 GB, free: 2.176 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/0.5678, allocations: 144.3 kB / 0.6575 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001521/0.568, allocations: 76.81 kB / 0.6576 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.5694, allocations: 0.6918 MB / 0.6582 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.5695, allocations: 46.48 kB / 0.6583 GB, free: 1.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.5695, allocations: 3.938 kB / 0.6583 GB, free: 1.176 MB / 494.1 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=20): time 0.001032/0.5705, allocations: 337.5 kB / 0.6586 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.5705, allocations: 55.41 kB / 0.6587 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.5707, allocations: 178.3 kB / 0.6588 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.518e-05/0.5708, allocations: 29.7 kB / 0.6589 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5709, allocations: 187.8 kB / 0.659 GB, free: 376 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.66e-05/0.5709, allocations: 75.42 kB / 0.6591 GB, free: 300 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5711, allocations: 85.97 kB / 0.6592 GB, free: 208 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.5713, allocations: 334.8 kB / 0.6595 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.5714, allocations: 72.64 kB / 0.6596 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.5717, allocations: 259.8 kB / 0.6598 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.5722, allocations: 370.2 kB / 0.6602 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5722, allocations: 0 / 0.6602 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006633/0.5729, allocations: 366.5 kB / 0.6605 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5729, allocations: 12.03 kB / 0.6605 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5729, allocations: 8 kB / 0.6605 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.573, allocations: 8 kB / 0.6606 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.5734, allocations: 123.8 kB / 0.6607 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000454/0.5739, allocations: 0.6055 MB / 0.6613 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.5741, allocations: 43.67 kB / 0.6613 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.5742, allocations: 54.3 kB / 0.6614 GB, free: 13.76 MB / 0.4981 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.0001457/0.5743, allocations: 137.8 kB / 0.6615 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.685e-05/0.5744, allocations: 23.91 kB / 0.6615 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007433/0.5751, allocations: 328.2 kB / 0.6618 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.5751, allocations: 0 / 0.6618 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5751, allocations: 0.8125 kB / 0.6618 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5751, allocations: 0 / 0.6618 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007366/0.5759, allocations: 0.4898 MB / 0.6623 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.5759, allocations: 4 kB / 0.6623 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.5761, allocations: 55.95 kB / 0.6624 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5761, allocations: 3.719 kB / 0.6624 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5761, allocations: 11.94 kB / 0.6624 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003704/0.5765, allocations: 0.5976 MB / 0.663 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.5765, allocations: 4.031 kB / 0.663 GB, free: 12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.5769, allocations: 280.2 kB / 0.6632 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/0.577, allocations: 35.81 kB / 0.6633 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.577, allocations: 8 kB / 0.6633 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.5772, allocations: 11.92 kB / 0.6633 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.606e-05/0.5773, allocations: 15.98 kB / 0.6633 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.5773, allocations: 19.98 kB / 0.6633 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001255/0.5774, allocations: 139 kB / 0.6634 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.5774, allocations: 0 / 0.6634 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006954/0.5781, allocations: 203.5 kB / 0.6636 GB, free: 11.27 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.001459/0.5796, allocations: 1.06 MB / 0.6647 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005211/0.5801, allocations: 217 kB / 0.6649 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5801, allocations: 0 / 0.6649 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002097/0.5803, allocations: 88.39 kB / 0.665 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000561/0.5809, allocations: 74.55 kB / 0.665 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.5873, allocations: 4.121 MB / 0.6691 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.5874, allocations: 120.4 kB / 0.6692 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005666/0.588, allocations: 103.3 kB / 0.6693 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/0.5882, allocations: 71.41 kB / 0.6693 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of SimCode: time 7.31e-07/0.5882, allocations: 0 / 0.6693 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04717/0.6354, allocations: 9.416 MB / 0.6785 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.93, allocations: 12.98 kB / 0.6786 GB, free: 11.66 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_CO2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.CO2.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.827509631984867] 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'] 14.1115819910774 14.136996174 13.579728646 Calling exit ...