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.SimpleNaturalGasFixedComposition.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.00127/0.00127, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001313/0.001313, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.463/1.463, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2465/0.2465, allocations: 46.89 MB / 357.4 MB, free: 10.51 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.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.002224/0.002224, allocations: 75.88 kB / 0.4912 GB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1466, allocations: 65.98 MB / 0.5557 GB, free: 6.434 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5628/0.7094, allocations: 180.8 MB / 0.7322 GB, free: 13.35 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.009715/0.7192, allocations: 6.53 MB / 0.7386 GB, free: 6.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009302/0.7201, allocations: 19.88 kB / 0.7386 GB, free: 6.773 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.7214, allocations: 437.6 kB / 0.739 GB, free: 6.344 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.7262, allocations: 1.769 MB / 0.7407 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004071/0.7302, allocations: 1.506 MB / 0.7422 GB, free: 3.074 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003114/0.7333, allocations: 2.118 MB / 0.7443 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000901/0.7342, allocations: 0.4894 MB / 0.7447 GB, free: 468 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/0.7383, allocations: 1.78 MB / 0.7465 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002923/0.7413, allocations: 1.542 MB / 0.748 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.7415, allocations: 79.98 kB / 0.7481 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003062/0.7446, allocations: 1.367 MB / 0.7494 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005439/0.7451, allocations: 458.7 kB / 0.7498 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.7458, allocations: 0.5523 MB / 0.7504 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003418/0.7493, allocations: 2.075 MB / 0.7524 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7493, allocations: 7.938 kB / 0.7524 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7493, allocations: 0 / 0.7524 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.362e-05/0.7493, allocations: 0 / 0.7524 GB, free: 8.586 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003272/0.7526, allocations: 1.467 MB / 0.7538 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7526, allocations: 16.02 kB / 0.7539 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001908/0.7528, allocations: 130.7 kB / 0.754 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.7542, allocations: 287.1 kB / 0.7543 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7555, allocations: 0.6407 MB / 0.7549 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000137/0.7557, allocations: 120.7 kB / 0.755 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.7558, allocations: 63.94 kB / 0.7551 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.7578, allocations: 1.263 MB / 0.7563 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.872e-05/0.7578, allocations: 8.812 kB / 0.7563 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/0.7579, allocations: 31.98 kB / 0.7563 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/0.758, allocations: 85.27 kB / 0.7564 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.7597, allocations: 1.051 MB / 0.7574 GB, free: 3.25 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.007844/0.7676, allocations: 4.926 MB / 0.7623 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005914/0.7682, allocations: 300.1 kB / 0.7625 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.7684, allocations: 140.7 kB / 0.7627 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.7686, allocations: 97.16 kB / 0.7628 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/0.7686, allocations: 38.56 kB / 0.7628 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.034e-06/0.7686, allocations: 3.938 kB / 0.7628 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.006805/0.7754, allocations: 1.832 MB / 0.7646 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.7755, allocations: 140.4 kB / 0.7647 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7769, allocations: 0.939 MB / 0.7656 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.271e-05/0.7769, allocations: 29.7 kB / 0.7657 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.7775, allocations: 0.5886 MB / 0.7662 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.7776, allocations: 131 kB / 0.7664 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003393/0.778, allocations: 222.8 kB / 0.7666 GB, free: 9.402 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002301/0.7782, allocations: 402.7 kB / 0.767 GB, free: 9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004599/0.7787, allocations: 270.5 kB / 0.7672 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009721/0.7796, allocations: 0.8639 MB / 0.7681 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.7811, allocations: 1.175 MB / 0.7692 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/0.7811, allocations: 11.94 kB / 0.7692 GB, free: 6.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002127/0.7832, allocations: 1.239 MB / 0.7704 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.7833, allocations: 12.94 kB / 0.7705 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.7833, allocations: 20 kB / 0.7705 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.7846, allocations: 296.7 kB / 0.7708 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.7851, allocations: 207.6 kB / 0.771 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.7862, allocations: 0.9191 MB / 0.7719 GB, free: 3.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.787, allocations: 40 kB / 0.7719 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.331e-05/0.7871, allocations: 72.48 kB / 0.772 GB, free: 3.297 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (112): * Single equations (assignments): 111 * 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.0004753/0.7876, allocations: 345.2 kB / 0.7723 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.7877, allocations: 99.39 kB / 0.7724 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.7887, allocations: 0.5104 MB / 0.7729 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.7888, allocations: 4 kB / 0.7729 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7888, allocations: 3.938 kB / 0.7729 GB, free: 2.32 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.7888, allocations: 3.984 kB / 0.7729 GB, free: 2.316 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.7906, allocations: 1.133 MB / 0.774 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-06/0.7906, allocations: 0 / 0.774 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/0.7915, allocations: 183.8 kB / 0.7742 GB, free: 0.9414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.267e-05/0.7916, allocations: 24.78 kB / 0.7742 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.7917, allocations: 12.88 kB / 0.7742 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.794, allocations: 2.886 MB / 0.777 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.794, allocations: 0 / 0.777 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.7952, allocations: 0.7006 MB / 0.7777 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.7957, allocations: 200.5 kB / 0.7779 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7958, allocations: 11.95 kB / 0.7779 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.7962, allocations: 15.98 kB / 0.7779 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.049e-05/0.7963, allocations: 28.09 kB / 0.778 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/0.7963, allocations: 19.98 kB / 0.778 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000917/0.7972, allocations: 0.6243 MB / 0.7786 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.7972, allocations: 0 / 0.7786 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001489/0.7987, allocations: 383.5 kB / 0.779 GB, free: 11.71 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * 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.003046/0.8017, allocations: 1.794 MB / 0.7807 GB, free: 9.891 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.8032, allocations: 0.6466 MB / 0.7813 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.8032, allocations: 384 / 0.7813 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009187/0.8041, allocations: 362.4 kB / 0.7817 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.8061, allocations: 433.2 kB / 0.7821 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.8188, allocations: 8.161 MB / 0.7901 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.8197, allocations: 1.028 MB / 0.7911 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001295/0.821, allocations: 384.1 kB / 0.7914 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005614/0.8216, allocations: 331.3 kB / 0.7918 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of SimCode: time 1.373e-06/0.8216, allocations: 0 / 0.7918 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0721/0.8937, allocations: 31.2 MB / 0.8222 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/19.22, allocations: 3.281 kB / 0.8222 GB, free: 14.87 MB / 0.6387 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition_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_SimpleNaturalGasFixedComposition.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.290297746658325] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 19.332296894863248 19.346628859 18.594270449 Calling exit ...