Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.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.001615/0.001615, allocations: 120.4 kB / 18.45 MB, free: 4.594 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.001909/0.001909, allocations: 204.9 kB / 21.41 MB, free: 1.645 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.452/1.452, allocations: 227.4 MB / 251.7 MB, free: 60 kB / 190.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.2417/0.2417, allocations: 46.14 MB / 351.1 MB, free: 14.31 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.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas",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.002244/0.002244, allocations: 77.47 kB / 489.7 MB, free: 28.44 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1434, allocations: 62.45 MB / 0.5392 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5537/0.6971, allocations: 180.1 MB / 0.715 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009139/0.7063, allocations: 6.494 MB / 0.7214 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006687/0.707, allocations: 23.81 kB / 0.7214 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.7082, allocations: 437.6 kB / 0.7218 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004431/0.7127, allocations: 1.749 MB / 0.7235 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.7169, allocations: 1.517 MB / 0.725 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.7204, allocations: 2.247 MB / 0.7272 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001197/0.7217, allocations: 0.7538 MB / 0.7279 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004064/0.7257, allocations: 1.807 MB / 0.7297 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/0.7286, allocations: 1.609 MB / 0.7313 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.7289, allocations: 100 kB / 0.7313 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.7319, allocations: 1.332 MB / 0.7326 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.7327, allocations: 0.6897 MB / 0.7333 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009707/0.7337, allocations: 0.7588 MB / 0.7341 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003796/0.7375, allocations: 2.632 MB / 0.7366 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7375, allocations: 0 / 0.7366 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.234e-06/0.7375, allocations: 4 kB / 0.7366 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7375, allocations: 0 / 0.7366 GB, free: 5.785 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003868/0.7414, allocations: 1.744 MB / 0.7383 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.7415, allocations: 8.031 kB / 0.7383 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002489/0.7417, allocations: 180.2 kB / 0.7385 GB, free: 3.793 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001563/0.7433, allocations: 318.9 kB / 0.7388 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.7447, allocations: 0.7771 MB / 0.7396 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.7448, allocations: 145.4 kB / 0.7397 GB, free: 2.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001884/0.745, allocations: 107.9 kB / 0.7398 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.748, allocations: 1.841 MB / 0.7416 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.108e-05/0.7481, allocations: 3.938 kB / 0.7416 GB, free: 500 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.7482, allocations: 48 kB / 0.7417 GB, free: 452 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001178/0.7484, allocations: 93.89 kB / 0.7418 GB, free: 356 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/0.7511, allocations: 1.706 MB / 0.7434 GB, free: 14.64 MB / 0.545 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.01054/0.7617, allocations: 6.861 MB / 0.7501 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.7631, allocations: 0.87 MB / 0.751 GB, free: 6.434 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.7638, allocations: 454.1 kB / 0.7514 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001451/0.764, allocations: 105.7 kB / 0.7515 GB, free: 5.867 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.7641, allocations: 51.06 kB / 0.7516 GB, free: 5.805 MB / 0.545 GB Notification: Performance of pre-optimization done (n=60): time 2.435e-06/0.7641, allocations: 0 / 0.7516 GB, free: 5.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=72): time 0.01124/0.7753, allocations: 4.129 MB / 0.7556 GB, free: 1.613 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.7754, allocations: 111.5 kB / 0.7557 GB, free: 1.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.777, allocations: 1.109 MB / 0.7568 GB, free: 356 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.7771, allocations: 41.7 kB / 0.7568 GB, free: 308 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004553/0.7775, allocations: 0.5352 MB / 0.7573 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.7778, allocations: 277.7 kB / 0.7576 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.7782, allocations: 210.5 kB / 0.7578 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001592/0.7784, allocations: 349.9 kB / 0.7581 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.7794, allocations: 0.5875 MB / 0.7587 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/0.7806, allocations: 0.8682 MB / 0.7596 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.7829, allocations: 1.447 MB / 0.761 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/0.7829, allocations: 7.938 kB / 0.761 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003548/0.7864, allocations: 2.012 MB / 0.7629 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.7865, allocations: 8 kB / 0.763 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.7865, allocations: 11.98 kB / 0.763 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005063/0.7916, allocations: 1.345 MB / 0.7643 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006955/0.7923, allocations: 143.8 kB / 0.7644 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.7954, allocations: 1.932 MB / 0.7663 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.7964, allocations: 47.95 kB / 0.7664 GB, free: 6.254 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.7966, allocations: 71.98 kB / 0.7664 GB, free: 6.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (82): * Single equations (assignments): 81 * 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 {(9,35)} Notification: Performance of prepare postOptimizeDAE: time 0.0007431/0.7973, allocations: 389.4 kB / 0.7668 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.7976, allocations: 119.2 kB / 0.7669 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002802/0.8004, allocations: 1.506 MB / 0.7684 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.8004, allocations: 8 kB / 0.7684 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.828e-06/0.8005, allocations: 4 kB / 0.7684 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.8005, allocations: 3.984 kB / 0.7684 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.8049, allocations: 2.692 MB / 0.771 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.805, allocations: 0 / 0.771 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/0.8069, allocations: 331.6 kB / 0.7713 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001993/0.8071, allocations: 72.88 kB / 0.7714 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.752e-05/0.8072, allocations: 39.97 kB / 0.7714 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/0.8099, allocations: 3.022 MB / 0.7744 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8099, allocations: 4.031 kB / 0.7744 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/0.8134, allocations: 1.912 MB / 0.7763 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.8144, allocations: 332.3 kB / 0.7766 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.8147, allocations: 27.98 kB / 0.7766 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009646/0.8157, allocations: 52.02 kB / 0.7767 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002104/0.8159, allocations: 72.48 kB / 0.7767 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001322/0.8161, allocations: 59.95 kB / 0.7768 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001179/0.8172, allocations: 0.797 MB / 0.7776 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8172, allocations: 0 / 0.7776 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001424/0.8187, allocations: 483.5 kB / 0.778 GB, free: 9.883 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (volume.medium.p,volume.medium.Xi[1],volume.medium.Xi[2],volume.medium.Xi[3],volume.medium.Xi[4],volume.medium.Xi[5],volume.medium.Xi[6],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 (78): * Single equations (assignments): 76 * 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.005383/0.8241, allocations: 3.132 MB / 0.7811 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.827, allocations: 1.477 MB / 0.7825 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.827, allocations: 1.719 kB / 0.7825 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.8288, allocations: 0.8652 MB / 0.7834 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/0.8325, allocations: 0.757 MB / 0.7841 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.8535, allocations: 12.97 MB / 0.7968 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009735/0.8546, allocations: 1.176 MB / 0.7979 GB, free: 5.102 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001521/0.8561, allocations: 493.5 kB / 0.7984 GB, free: 4.621 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007321/0.8568, allocations: 447.3 kB / 0.7988 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.8569, allocations: 0 / 0.7988 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1042/0.9611, allocations: 50.77 MB / 0.8484 GB, free: 1.707 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.48, allocations: 12.31 kB / 0.8484 GB, free: 1.695 MB / 0.6387 GB " [Timeout remaining time 644] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGas.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.85939231188968] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T', 'volume.medium.X[1]', 'volume.medium.X[2]', 'volume.medium.X[3]', 'volume.medium.X[4]', 'volume.medium.X[5]', 'volume.medium.X[6]'] 15.603735810844228 15.832764743 15.093129439 Calling exit ...