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.001268/0.001268, allocations: 117.3 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.001367/0.001367, allocations: 218.6 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.483/1.483, allocations: 230.2 MB / 254.5 MB, free: 15.43 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.2562/0.2562, allocations: 46.89 MB / 357.4 MB, free: 10.55 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.002931/0.002931, allocations: 80.75 kB / 0.4912 GB, free: 26.79 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1615, allocations: 65.97 MB / 0.5557 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5688/0.7302, allocations: 180.6 MB / 0.7321 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009188/0.7394, allocations: 6.525 MB / 0.7384 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008253/0.7402, allocations: 19.88 kB / 0.7385 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7416, allocations: 441.5 kB / 0.7389 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004437/0.746, allocations: 1.789 MB / 0.7406 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003899/0.7499, allocations: 1.528 MB / 0.7421 GB, free: 15.31 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.753, allocations: 2.235 MB / 0.7443 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.7542, allocations: 0.6757 MB / 0.745 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004038/0.7582, allocations: 1.826 MB / 0.7467 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.7614, allocations: 1.663 MB / 0.7484 GB, free: 8.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.7617, allocations: 100 kB / 0.7485 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00295/0.7646, allocations: 1.392 MB / 0.7498 GB, free: 7.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007355/0.7653, allocations: 0.6935 MB / 0.7505 GB, free: 6.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009863/0.7663, allocations: 0.7587 MB / 0.7512 GB, free: 5.938 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.7703, allocations: 2.632 MB / 0.7538 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7703, allocations: 0 / 0.7538 GB, free: 3.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7703, allocations: 0 / 0.7538 GB, free: 3.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.295e-05/0.7703, allocations: 0 / 0.7538 GB, free: 3.297 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.004047/0.7744, allocations: 1.744 MB / 0.7555 GB, free: 1.492 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.7744, allocations: 12.03 kB / 0.7555 GB, free: 1.48 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002467/0.7746, allocations: 172.9 kB / 0.7557 GB, free: 1.301 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.7762, allocations: 318.9 kB / 0.756 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.778, allocations: 0.7809 MB / 0.7568 GB, free: 168 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001595/0.7782, allocations: 141.4 kB / 0.7569 GB, free: 16 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002218/0.7784, allocations: 108 kB / 0.757 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002987/0.7814, allocations: 1.841 MB / 0.7588 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.49e-05/0.7814, allocations: 7.938 kB / 0.7588 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/0.7815, allocations: 47.98 kB / 0.7588 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.7816, allocations: 93.89 kB / 0.7589 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.7845, allocations: 1.694 MB / 0.7606 GB, free: 12.16 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.01104/0.7955, allocations: 6.872 MB / 0.7673 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001422/0.7969, allocations: 0.8573 MB / 0.7681 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006735/0.7976, allocations: 434.2 kB / 0.7685 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001438/0.7977, allocations: 109.6 kB / 0.7687 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.7978, allocations: 47.06 kB / 0.7687 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.365e-06/0.7978, allocations: 4 kB / 0.7687 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=72): time 0.01115/0.8089, allocations: 4.121 MB / 0.7727 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.809, allocations: 115.4 kB / 0.7728 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.8108, allocations: 1.116 MB / 0.7739 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.8109, allocations: 41.7 kB / 0.774 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/0.8114, allocations: 0.5313 MB / 0.7745 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002755/0.8117, allocations: 273.6 kB / 0.7747 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003736/0.8121, allocations: 214.5 kB / 0.7749 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.00019/0.8123, allocations: 345.9 kB / 0.7753 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/0.8132, allocations: 0.5875 MB / 0.7759 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.8144, allocations: 0.8682 MB / 0.7767 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.8166, allocations: 1.454 MB / 0.7781 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.8166, allocations: 0 / 0.7781 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003532/0.8201, allocations: 1.974 MB / 0.78 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.8202, allocations: 15.98 kB / 0.7801 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.8202, allocations: 8 kB / 0.7801 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00467/0.8248, allocations: 1.352 MB / 0.7814 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006954/0.8255, allocations: 135.8 kB / 0.7815 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.8286, allocations: 1.932 MB / 0.7834 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/0.8296, allocations: 47.97 kB / 0.7835 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.8297, allocations: 67.98 kB / 0.7835 GB, free: 3.762 MB / 0.5762 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.0007229/0.8304, allocations: 393.4 kB / 0.7839 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.8307, allocations: 123.2 kB / 0.784 GB, free: 3.246 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002703/0.8334, allocations: 1.5 MB / 0.7855 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.8334, allocations: 8 kB / 0.7855 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.8334, allocations: 0 / 0.7855 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8334, allocations: 3.984 kB / 0.7855 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/0.838, allocations: 2.693 MB / 0.7881 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.838, allocations: 4 kB / 0.7881 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/0.8398, allocations: 323.8 kB / 0.7884 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.8401, allocations: 72.77 kB / 0.7885 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.785e-05/0.8402, allocations: 40.41 kB / 0.7885 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002808/0.843, allocations: 3.033 MB / 0.7915 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.843, allocations: 0 / 0.7915 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.8462, allocations: 1.916 MB / 0.7934 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009727/0.8471, allocations: 332.2 kB / 0.7937 GB, free: 8.945 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/0.8473, allocations: 31.98 kB / 0.7937 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.8482, allocations: 47.95 kB / 0.7938 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.8484, allocations: 68.5 kB / 0.7938 GB, free: 8.801 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.8485, allocations: 63.89 kB / 0.7939 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001112/0.8496, allocations: 0.797 MB / 0.7947 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.8496, allocations: 0 / 0.7947 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001417/0.851, allocations: 487.5 kB / 0.7951 GB, free: 7.453 MB / 0.5919 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.005103/0.8561, allocations: 3.103 MB / 0.7982 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002788/0.8589, allocations: 1.426 MB / 0.7996 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.8589, allocations: 0.6562 kB / 0.7996 GB, free: 2.891 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001684/0.8606, allocations: 0.839 MB / 0.8004 GB, free: 2.039 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/0.8639, allocations: 0.7658 MB / 0.8011 GB, free: 1.285 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01961/0.8835, allocations: 12.91 MB / 0.8137 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009195/0.8844, allocations: 1.187 MB / 0.8149 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001529/0.8859, allocations: 481 kB / 0.8154 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006965/0.8866, allocations: 443.3 kB / 0.8158 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of SimCode: time 7.82e-07/0.8866, allocations: 4 kB / 0.8158 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4037/1.29, allocations: 51 MB / 0.8656 GB, free: 249.2 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.47/15.76, allocations: 3.828 kB / 0.8656 GB, free: 249.2 MB / 0.6544 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.917744256090373] 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.884549851994962 15.897663571 15.12469187 Calling exit ...