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.001412/0.001412, allocations: 121.2 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.001429/0.001429, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.506/1.506, allocations: 230.4 MB / 254.7 MB, free: 15.02 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.2382/0.2382, allocations: 46.92 MB / 357.7 MB, free: 10.19 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.00234/0.00234, allocations: 87.84 kB / 0.4917 GB, free: 7.688 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1487, allocations: 66.03 MB / 0.5562 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5675/0.7161, allocations: 180.8 MB / 0.7327 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01044/0.7266, allocations: 6.515 MB / 0.7391 GB, free: 5.848 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.7278, allocations: 27.75 kB / 0.7391 GB, free: 5.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.7294, allocations: 429.6 kB / 0.7395 GB, free: 5.398 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005588/0.735, allocations: 1.781 MB / 0.7412 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.739, allocations: 1.497 MB / 0.7427 GB, free: 2.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00303/0.742, allocations: 2.114 MB / 0.7448 GB, free: 8 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.7431, allocations: 0.4933 MB / 0.7453 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004048/0.7471, allocations: 1.783 MB / 0.747 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003977/0.7511, allocations: 1.538 MB / 0.7485 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005231/0.7516, allocations: 79.94 kB / 0.7486 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.7557, allocations: 1.368 MB / 0.7499 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008791/0.7566, allocations: 454.7 kB / 0.7503 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.7581, allocations: 0.5523 MB / 0.7509 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005041/0.7631, allocations: 2.068 MB / 0.7529 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.7631, allocations: 0 / 0.7529 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.084e-06/0.7631, allocations: 0 / 0.7529 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.288e-05/0.7632, allocations: 0 / 0.7529 GB, free: 7.656 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.004855/0.7681, allocations: 1.482 MB / 0.7543 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.7681, allocations: 12.03 kB / 0.7544 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003331/0.7684, allocations: 126.7 kB / 0.7545 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00179/0.7702, allocations: 291.1 kB / 0.7548 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001634/0.7719, allocations: 0.6484 MB / 0.7554 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001735/0.772, allocations: 112.7 kB / 0.7555 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.7722, allocations: 60 kB / 0.7556 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.7746, allocations: 1.263 MB / 0.7568 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.7746, allocations: 0 / 0.7568 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.7748, allocations: 43.92 kB / 0.7568 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.7749, allocations: 85.19 kB / 0.7569 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001888/0.7768, allocations: 1.047 MB / 0.7579 GB, free: 2.312 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.008053/0.7848, allocations: 4.914 MB / 0.7627 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.7854, allocations: 298.5 kB / 0.763 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.7857, allocations: 137.6 kB / 0.7632 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.7858, allocations: 101.1 kB / 0.7632 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.7859, allocations: 38.64 kB / 0.7633 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.7859, allocations: 0 / 0.7633 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.007343/0.7932, allocations: 1.831 MB / 0.7651 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.286e-05/0.7933, allocations: 136.5 kB / 0.7652 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.7947, allocations: 0.9429 MB / 0.7661 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.294e-05/0.7948, allocations: 33.7 kB / 0.7662 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.7953, allocations: 0.5808 MB / 0.7667 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.7954, allocations: 134.9 kB / 0.7669 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/0.7958, allocations: 222.8 kB / 0.7671 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002372/0.796, allocations: 398.7 kB / 0.7674 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005417/0.7965, allocations: 282.4 kB / 0.7677 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/0.7976, allocations: 0.86 MB / 0.7686 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/0.7992, allocations: 1.175 MB / 0.7697 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.7992, allocations: 11.94 kB / 0.7697 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002379/0.8016, allocations: 1.236 MB / 0.7709 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.8017, allocations: 16 kB / 0.7709 GB, free: 3.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/0.8017, allocations: 23.98 kB / 0.771 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.8032, allocations: 301.5 kB / 0.7712 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/0.8038, allocations: 199.7 kB / 0.7714 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.805, allocations: 0.916 MB / 0.7723 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008377/0.8058, allocations: 41.19 kB / 0.7724 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.806, allocations: 68 kB / 0.7724 GB, free: 2.371 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.0005229/0.8065, allocations: 345.2 kB / 0.7728 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/0.8067, allocations: 99.39 kB / 0.7729 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.8079, allocations: 0.5216 MB / 0.7734 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.8079, allocations: 4 kB / 0.7734 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.8079, allocations: 4 kB / 0.7734 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.8079, allocations: 0 / 0.7734 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002132/0.81, allocations: 1.125 MB / 0.7745 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.81, allocations: 0.875 kB / 0.7745 GB, free: 204 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.8111, allocations: 187.8 kB / 0.7747 GB, free: 16 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001272/0.8112, allocations: 28.72 kB / 0.7747 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.8112, allocations: 11.98 kB / 0.7747 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002512/0.8137, allocations: 2.877 MB / 0.7775 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8137, allocations: 0 / 0.7775 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.815, allocations: 0.7008 MB / 0.7782 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004593/0.8155, allocations: 200.5 kB / 0.7784 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/0.8157, allocations: 11.95 kB / 0.7784 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.8162, allocations: 11.98 kB / 0.7784 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.8163, allocations: 27.91 kB / 0.7784 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.225e-05/0.8163, allocations: 23.98 kB / 0.7785 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009608/0.8173, allocations: 0.6243 MB / 0.7791 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8173, allocations: 4.062 kB / 0.7791 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001521/0.8188, allocations: 383.5 kB / 0.7794 GB, free: 10.79 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.003241/0.822, allocations: 1.779 MB / 0.7812 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001504/0.8235, allocations: 0.6461 MB / 0.7818 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.8235, allocations: 0 / 0.7818 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009862/0.8245, allocations: 359.3 kB / 0.7821 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.8266, allocations: 431.1 kB / 0.7826 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01308/0.8397, allocations: 8.178 MB / 0.7905 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009308/0.8407, allocations: 1.024 MB / 0.7915 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001256/0.8419, allocations: 385.5 kB / 0.7919 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000589/0.8425, allocations: 323.3 kB / 0.7922 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/0.8425, allocations: 0 / 0.7922 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07276/0.9153, allocations: 31.07 MB / 0.8226 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.49/19.4, allocations: 4.062 kB / 0.8226 GB, free: 14.07 MB / 0.6387 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition_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_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.681507462635636] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 19.521191916894168 19.548554413 18.780153198 Calling exit ...