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.001424/0.001424, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001578/0.001578, allocations: 214.7 kB / 22.92 MB, free: 5.195 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.32/1.32, allocations: 230.2 MB / 256.2 MB, free: 8.59 MB / 206.1 MB " [Timeout remaining time 179] 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.2009/0.2009, allocations: 46.89 MB / 359.3 MB, free: 5.051 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.002264/0.002264, allocations: 83.86 kB / 0.494 GB, free: 9.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2764, allocations: 65.98 MB / 0.5584 GB, free: 5.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.4426/0.719, allocations: 180.8 MB / 0.735 GB, free: 1.781 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007312/0.7263, allocations: 6.553 MB / 0.7414 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.7268, allocations: 20.66 kB / 0.7414 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009578/0.7277, allocations: 447.8 kB / 0.7418 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003119/0.7309, allocations: 1.787 MB / 0.7436 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.7338, allocations: 1.525 MB / 0.7451 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001978/0.7358, allocations: 2.249 MB / 0.7473 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007739/0.7366, allocations: 0.6 MB / 0.7479 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00282/0.7394, allocations: 1.821 MB / 0.7496 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.7413, allocations: 1.676 MB / 0.7513 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.7415, allocations: 100.8 kB / 0.7514 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002131/0.7436, allocations: 1.4 MB / 0.7527 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004422/0.744, allocations: 0.6909 MB / 0.7534 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006323/0.7447, allocations: 0.7566 MB / 0.7542 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.7472, allocations: 2.631 MB / 0.7567 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.7472, allocations: 2.188 kB / 0.7567 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.7472, allocations: 1.031 kB / 0.7567 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.7472, allocations: 0 / 0.7567 GB, free: 1.422 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003024/0.7502, allocations: 1.749 MB / 0.7584 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.7502, allocations: 11.23 kB / 0.7584 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001918/0.7504, allocations: 176.9 kB / 0.7586 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.7518, allocations: 317 kB / 0.7589 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.7528, allocations: 0.7761 MB / 0.7597 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.7529, allocations: 146.6 kB / 0.7598 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.7531, allocations: 99.56 kB / 0.7599 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.7552, allocations: 1.843 MB / 0.7617 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.922e-05/0.7552, allocations: 7.328 kB / 0.7617 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.7553, allocations: 50.83 kB / 0.7618 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.721e-05/0.7554, allocations: 89.81 kB / 0.7619 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.7574, allocations: 1.698 MB / 0.7635 GB, free: 15.91 MB / 0.5762 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.008482/0.7659, allocations: 6.867 MB / 0.7702 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.767, allocations: 0.8461 MB / 0.771 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000503/0.7675, allocations: 439.5 kB / 0.7715 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.7676, allocations: 107 kB / 0.7716 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.7677, allocations: 51.67 kB / 0.7716 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.975e-06/0.7677, allocations: 0 / 0.7716 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.009861/0.7775, allocations: 4.126 MB / 0.7756 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/0.7776, allocations: 115.2 kB / 0.7758 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001127/0.7787, allocations: 1.104 MB / 0.7768 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.7788, allocations: 42.2 kB / 0.7769 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003193/0.7792, allocations: 0.5337 MB / 0.7774 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.7794, allocations: 276.7 kB / 0.7777 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003038/0.7797, allocations: 213.5 kB / 0.7779 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7798, allocations: 343.4 kB / 0.7782 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000727/0.7805, allocations: 0.5833 MB / 0.7788 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.7815, allocations: 0.8714 MB / 0.7796 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.7831, allocations: 1.448 MB / 0.781 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.7831, allocations: 2.938 kB / 0.781 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002695/0.7858, allocations: 1.985 MB / 0.783 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.7858, allocations: 7.812 kB / 0.783 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.7859, allocations: 8.594 kB / 0.783 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/0.79, allocations: 1.357 MB / 0.7843 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.7906, allocations: 143.5 kB / 0.7844 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/0.7929, allocations: 1.929 MB / 0.7863 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009092/0.7938, allocations: 43.25 kB / 0.7864 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.998e-05/0.7939, allocations: 70.53 kB / 0.7864 GB, free: 9.094 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.0005958/0.7945, allocations: 399.5 kB / 0.7868 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.7948, allocations: 114.2 kB / 0.7869 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002274/0.797, allocations: 1.501 MB / 0.7884 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.087e-05/0.7971, allocations: 12.47 kB / 0.7884 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.7971, allocations: 1.094 kB / 0.7884 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.825e-06/0.7971, allocations: 7.688 kB / 0.7884 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003438/0.8005, allocations: 2.687 MB / 0.791 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.8005, allocations: 0 / 0.791 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.8021, allocations: 329.2 kB / 0.7913 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001608/0.8023, allocations: 68.91 kB / 0.7914 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.8024, allocations: 38.56 kB / 0.7915 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002316/0.8047, allocations: 3.035 MB / 0.7944 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.8047, allocations: 1.688 kB / 0.7944 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002388/0.8071, allocations: 1.913 MB / 0.7963 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.8076, allocations: 339.9 kB / 0.7966 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/0.8078, allocations: 32.27 kB / 0.7966 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.8086, allocations: 49.47 kB / 0.7967 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.8088, allocations: 66.03 kB / 0.7967 GB, free: 5.297 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.8089, allocations: 64.09 kB / 0.7968 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008781/0.8097, allocations: 0.7922 MB / 0.7976 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.8097, allocations: 2.438 kB / 0.7976 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001254/0.811, allocations: 480.2 kB / 0.798 GB, free: 5.016 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.004519/0.8155, allocations: 3.119 MB / 0.8011 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002486/0.818, allocations: 1.426 MB / 0.8025 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.818, allocations: 0.6562 kB / 0.8025 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.8196, allocations: 0.8504 MB / 0.8033 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/0.8228, allocations: 0.7588 MB / 0.8041 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.8425, allocations: 12.94 MB / 0.8167 GB, free: 3.918 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009443/0.8434, allocations: 1.172 MB / 0.8178 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001402/0.8448, allocations: 492.4 kB / 0.8183 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007308/0.8456, allocations: 447.3 kB / 0.8187 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of SimCode: time 1.282e-06/0.8456, allocations: 0 / 0.8187 GB, free: 1.801 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09522/0.9408, allocations: 51.16 MB / 0.8687 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.86, allocations: 7.844 kB / 0.8687 GB, free: 14.94 MB / 0.6544 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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: 16.472233178006718]