Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001583/0.001583, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001734/0.001734, allocations: 212.7 kB / 22.99 MB, free: 4.602 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.583/1.583, allocations: 207.7 MB / 233.8 MB, free: 9.781 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.2494/0.2494, allocations: 44.26 MB / 330.3 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 179] 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.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa",fmuType="me",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.002459/0.002459, allocations: 67.91 kB / 467.5 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1391, allocations: 61.05 MB / 0.5162 GB, free: 7.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.DryAirNasa): time 0.4343/0.5733, allocations: 130.2 MB / 0.6433 GB, free: 24 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.008951/0.5823, allocations: 6.335 MB / 0.6495 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.5824, allocations: 4 kB / 0.6495 GB, free: 9.684 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.5827, allocations: 51.61 kB / 0.6496 GB, free: 9.633 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004052/0.5868, allocations: 1.463 MB / 0.651 GB, free: 8.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.5871, allocations: 159.6 kB / 0.6511 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005839/0.5877, allocations: 390.2 kB / 0.6515 GB, free: 7.633 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.385e-05/0.5878, allocations: 13.8 kB / 0.6515 GB, free: 7.617 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002895/0.5881, allocations: 175.3 kB / 0.6517 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003191/0.5884, allocations: 171.4 kB / 0.6519 GB, free: 7.277 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.5884, allocations: 8 kB / 0.6519 GB, free: 7.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.5906, allocations: 1.123 MB / 0.653 GB, free: 6.145 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.761e-05/0.5906, allocations: 51.75 kB / 0.653 GB, free: 6.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.5908, allocations: 91.66 kB / 0.6531 GB, free: 6.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.5923, allocations: 0.9545 MB / 0.654 GB, free: 5.047 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5923, allocations: 0 / 0.654 GB, free: 5.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5923, allocations: 0 / 0.654 GB, free: 5.047 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.5923, allocations: 3.938 kB / 0.654 GB, free: 5.043 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.00133/0.5936, allocations: 0.6487 MB / 0.6547 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.5936, allocations: 12.03 kB / 0.6547 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.314e-05/0.5937, allocations: 66.72 kB / 0.6547 GB, free: 4.277 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007361/0.6011, allocations: 0.5863 MB / 0.6553 GB, free: 3.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005949/0.6017, allocations: 214.2 kB / 0.6555 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.6019, allocations: 234 kB / 0.6557 GB, free: 3.176 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.602, allocations: 16 kB / 0.6558 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.6033, allocations: 0.7344 MB / 0.6565 GB, free: 2.352 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.6033, allocations: 3.938 kB / 0.6565 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.418e-05/0.6034, allocations: 12 kB / 0.6565 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/0.6034, allocations: 12 kB / 0.6565 GB, free: 2.324 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.6049, allocations: 0.6143 MB / 0.6571 GB, free: 1.711 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.002234/0.6071, allocations: 1.443 MB / 0.6585 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003578/0.6075, allocations: 150.5 kB / 0.6587 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.6077, allocations: 72.86 kB / 0.6587 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/0.6089, allocations: 0.6105 MB / 0.6593 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.6089, allocations: 30.56 kB / 0.6594 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.514e-06/0.6089, allocations: 0 / 0.6594 GB, free: 15.27 MB / 0.4981 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=18): time 0.001147/0.6101, allocations: 338.3 kB / 0.6597 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6101, allocations: 51.41 kB / 0.6597 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6103, allocations: 203.3 kB / 0.6599 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.6104, allocations: 29.7 kB / 0.6599 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.6105, allocations: 179.9 kB / 0.6601 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.6106, allocations: 75.41 kB / 0.6602 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.6107, allocations: 94 kB / 0.6603 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6109, allocations: 326.8 kB / 0.6606 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.611, allocations: 64.7 kB / 0.6607 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.6113, allocations: 271.7 kB / 0.6609 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.6118, allocations: 362.2 kB / 0.6613 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.6118, allocations: 7.938 kB / 0.6613 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006469/0.6125, allocations: 362.6 kB / 0.6616 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.6125, allocations: 13.91 kB / 0.6616 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.6125, allocations: 8 kB / 0.6616 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.6125, allocations: 11.94 kB / 0.6616 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000406/0.6129, allocations: 127.8 kB / 0.6618 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004247/0.6133, allocations: 0.6055 MB / 0.6624 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.6136, allocations: 45.36 kB / 0.6624 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.158e-05/0.6137, allocations: 40 kB / 0.6624 GB, free: 11.84 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.00016/0.6138, allocations: 149.7 kB / 0.6626 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.6139, allocations: 23.91 kB / 0.6626 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006646/0.6145, allocations: 292.3 kB / 0.6629 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.6145, allocations: 3.938 kB / 0.6629 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6145, allocations: 8 kB / 0.6629 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.6146, allocations: 3.984 kB / 0.6629 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/0.6153, allocations: 489.8 kB / 0.6634 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.6153, allocations: 0 / 0.6634 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.6155, allocations: 59.91 kB / 0.6634 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.6155, allocations: 4 kB / 0.6634 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.6155, allocations: 8.547 kB / 0.6634 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003663/0.6159, allocations: 0.5978 MB / 0.664 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6159, allocations: 3.938 kB / 0.664 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.6163, allocations: 270.6 kB / 0.6643 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.6164, allocations: 36.7 kB / 0.6643 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.6164, allocations: 7.922 kB / 0.6643 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.6167, allocations: 12.86 kB / 0.6643 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.6167, allocations: 11.97 kB / 0.6643 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.6167, allocations: 19.94 kB / 0.6644 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000134/0.6169, allocations: 144.1 kB / 0.6645 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6169, allocations: 4.094 kB / 0.6645 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006801/0.6175, allocations: 191.6 kB / 0.6647 GB, free: 9.406 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.001304/0.6188, allocations: 1.015 MB / 0.6657 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006117/0.6195, allocations: 216.1 kB / 0.6659 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6195, allocations: 4 kB / 0.6659 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.6197, allocations: 89.38 kB / 0.666 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.6202, allocations: 63.56 kB / 0.666 GB, free: 8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0057/0.6259, allocations: 4.081 MB / 0.67 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.626, allocations: 116.5 kB / 0.6701 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004054/0.6264, allocations: 101.5 kB / 0.6702 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.6266, allocations: 83.33 kB / 0.6703 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.6266, allocations: 4 kB / 0.6703 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03954/0.6662, allocations: 9.227 MB / 0.6793 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.88, allocations: 3.281 kB / 0.6793 GB, free: 10.09 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9988e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_DryAirNasa.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.322035058867186] 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.062491525895894 14.089458905 13.492048017 Calling exit ...