Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.001371/0.001371, allocations: 116.5 kB / 18.5 MB, free: 4.434 MB / 14.72 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.001474/0.001474, allocations: 216.9 kB / 21.47 MB, free: 1.473 MB / 14.72 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 1.435/1.435, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2252/0.2252, allocations: 46.89 MB / 357.4 MB, free: 10.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 83.86 kB / 0.4912 GB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 65.97 MB / 0.5557 GB, free: 6.43 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.513/0.6564, allocations: 177.9 MB / 0.7294 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007794/0.6642, allocations: 5.355 MB / 0.7346 GB, free: 10.69 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004993/0.6647, allocations: 19.88 kB / 0.7346 GB, free: 10.67 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009242/0.6656, allocations: 326 kB / 0.7349 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00329/0.6689, allocations: 1.273 MB / 0.7362 GB, free: 9.078 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002469/0.6714, allocations: 0.9656 MB / 0.7371 GB, free: 8.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002319/0.6737, allocations: 1.86 MB / 0.7389 GB, free: 6.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006339/0.6743, allocations: 413.4 kB / 0.7393 GB, free: 5.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002224/0.6765, allocations: 1.09 MB / 0.7404 GB, free: 4.75 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009853/0.6775, allocations: 0.7046 MB / 0.7411 GB, free: 4.043 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.6776, allocations: 60 kB / 0.7411 GB, free: 3.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001333/0.679, allocations: 0.632 MB / 0.7418 GB, free: 3.352 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.6793, allocations: 279.1 kB / 0.742 GB, free: 3.078 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.6797, allocations: 390.2 kB / 0.7424 GB, free: 2.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.6815, allocations: 1.316 MB / 0.7437 GB, free: 1.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.6815, allocations: 0 / 0.7437 GB, free: 1.375 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6815, allocations: 0 / 0.7437 GB, free: 1.375 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.6815, allocations: 0 / 0.7437 GB, free: 1.375 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002274/0.6838, allocations: 1.121 MB / 0.7448 GB, free: 204 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6839, allocations: 8.031 kB / 0.7448 GB, free: 196 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001305/0.684, allocations: 102.5 kB / 0.7449 GB, free: 84 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.6853, allocations: 147.3 kB / 0.745 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.6867, allocations: 0.528 MB / 0.7455 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.6869, allocations: 104.3 kB / 0.7456 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/0.687, allocations: 47.98 kB / 0.7457 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.6884, allocations: 0.8214 MB / 0.7465 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.6884, allocations: 0 / 0.7465 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.6885, allocations: 23.94 kB / 0.7465 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.6885, allocations: 40.92 kB / 0.7465 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.6897, allocations: 0.6282 MB / 0.7472 GB, free: 13.62 MB / 0.5606 GB 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.00496/0.6946, allocations: 3.941 MB / 0.751 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006023/0.6952, allocations: 336.5 kB / 0.7513 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.6955, allocations: 169.3 kB / 0.7515 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.6956, allocations: 89.38 kB / 0.7516 GB, free: 8.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.6957, allocations: 38.84 kB / 0.7516 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.6957, allocations: 0 / 0.7516 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005269/0.7009, allocations: 1.687 MB / 0.7533 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.701, allocations: 140.5 kB / 0.7534 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000726/0.7018, allocations: 0.6056 MB / 0.754 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.7018, allocations: 37.7 kB / 0.754 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.7021, allocations: 379.8 kB / 0.7544 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.7023, allocations: 146.7 kB / 0.7545 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.7025, allocations: 162.6 kB / 0.7547 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.7027, allocations: 370.8 kB / 0.755 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.7031, allocations: 201.9 kB / 0.7552 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.7037, allocations: 0.5125 MB / 0.7557 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.7048, allocations: 0.7516 MB / 0.7565 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7048, allocations: 0 / 0.7565 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001494/0.7063, allocations: 0.8798 MB / 0.7573 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7063, allocations: 13.72 kB / 0.7573 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.7063, allocations: 11.98 kB / 0.7573 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.7076, allocations: 322.1 kB / 0.7576 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.708, allocations: 127.7 kB / 0.7578 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.7092, allocations: 0.9318 MB / 0.7587 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.7096, allocations: 29.17 kB / 0.7587 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.198e-05/0.7097, allocations: 67.98 kB / 0.7588 GB, free: 0.9883 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003604/0.7101, allocations: 245.5 kB / 0.759 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.7102, allocations: 71.58 kB / 0.7591 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/0.7118, allocations: 0.8696 MB / 0.7599 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7118, allocations: 4 kB / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.7119, allocations: 0 / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.7119, allocations: 3.984 kB / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002175/0.714, allocations: 1.461 MB / 0.7614 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.714, allocations: 7.922 kB / 0.7614 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.7152, allocations: 211.8 kB / 0.7616 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.26e-05/0.7152, allocations: 16.84 kB / 0.7616 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.7153, allocations: 24.17 kB / 0.7616 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.7177, allocations: 2.876 MB / 0.7644 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7177, allocations: 0 / 0.7644 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.719, allocations: 0.8268 MB / 0.7652 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003789/0.7194, allocations: 188.7 kB / 0.7654 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.7195, allocations: 15.98 kB / 0.7654 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.7199, allocations: 16 kB / 0.7654 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.72, allocations: 43.83 kB / 0.7655 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.72, allocations: 48.05 kB / 0.7655 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005828/0.7206, allocations: 443 kB / 0.7659 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.7206, allocations: 0 / 0.7659 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008925/0.7215, allocations: 255.7 kB / 0.7662 GB, free: 8.906 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/0.7238, allocations: 1.568 MB / 0.7677 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001205/0.725, allocations: 0.5349 MB / 0.7682 GB, free: 6.766 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7251, allocations: 3.859 kB / 0.7682 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7261, allocations: 406.8 kB / 0.7686 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.7277, allocations: 363.2 kB / 0.769 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/0.7372, allocations: 6.333 MB / 0.7752 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006359/0.7378, allocations: 0.9298 MB / 0.7761 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001139/0.739, allocations: 458.4 kB / 0.7765 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005322/0.7395, allocations: 287.3 kB / 0.7768 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of SimCode: time 8.61e-07/0.7395, allocations: 0 / 0.7768 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07085/0.8103, allocations: 24.6 MB / 0.8008 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.32/14.14, allocations: 4.062 kB / 0.8008 GB, free: 5.223 MB / 0.6075 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.110920778941363] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 14.244554455392063 14.268158147 13.582172218 Calling exit ...