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.001743/0.001743, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002139/0.002139, allocations: 212.4 kB / 24.54 MB, free: 4.016 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.433/1.433, allocations: 230.5 MB / 258.2 MB, free: 8.051 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.2227/0.2227, allocations: 46.93 MB / 361.6 MB, free: 4.219 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.002381/0.002381, allocations: 79.88 kB / 0.497 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3215, allocations: 66.09 MB / 0.5615 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5439/0.8654, allocations: 181 MB / 0.7383 GB, free: 1.777 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008478/0.8739, allocations: 6.555 MB / 0.7447 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00065/0.8745, allocations: 26.47 kB / 0.7447 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.8756, allocations: 434.3 kB / 0.7451 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003757/0.8794, allocations: 1.804 MB / 0.7469 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003459/0.8828, allocations: 1.544 MB / 0.7484 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002207/0.885, allocations: 2.139 MB / 0.7505 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00065/0.8857, allocations: 484.5 kB / 0.7509 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.8892, allocations: 1.792 MB / 0.7527 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.8916, allocations: 1.569 MB / 0.7542 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001689/0.8917, allocations: 75.59 kB / 0.7543 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002615/0.8943, allocations: 1.377 MB / 0.7556 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003737/0.8947, allocations: 457 kB / 0.7561 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000581/0.8953, allocations: 0.5534 MB / 0.7566 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002489/0.8978, allocations: 2.075 MB / 0.7586 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.8978, allocations: 0 / 0.7586 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8978, allocations: 1.094 kB / 0.7586 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.8978, allocations: 1 kB / 0.7586 GB, free: 1.445 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.00294/0.9008, allocations: 1.401 MB / 0.76 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.9008, allocations: 10.12 kB / 0.76 GB, free: 16.8 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.9009, allocations: 136.5 kB / 0.7601 GB, free: 16.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001279/0.9022, allocations: 288.7 kB / 0.7604 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009865/0.9032, allocations: 0.5689 MB / 0.761 GB, free: 16.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001373/0.9033, allocations: 164.7 kB / 0.7611 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.9035, allocations: 70.12 kB / 0.7612 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.905, allocations: 1.261 MB / 0.7624 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.905, allocations: 3.125 kB / 0.7624 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.586e-05/0.9051, allocations: 36.12 kB / 0.7625 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.4e-05/0.9052, allocations: 87.66 kB / 0.7625 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.9065, allocations: 1.05 MB / 0.7636 GB, free: 16.14 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.00592/0.9124, allocations: 4.645 MB / 0.7681 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004405/0.9129, allocations: 294.3 kB / 0.7684 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.9131, allocations: 139.7 kB / 0.7685 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.959e-05/0.9131, allocations: 18.06 kB / 0.7685 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.9132, allocations: 43.56 kB / 0.7686 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.238e-05/0.9132, allocations: 0.875 kB / 0.7686 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005939/0.9191, allocations: 1.775 MB / 0.7703 GB, free: 13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.9192, allocations: 132 kB / 0.7704 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.9202, allocations: 0.9404 MB / 0.7714 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.9202, allocations: 32.67 kB / 0.7714 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003792/0.9206, allocations: 0.5811 MB / 0.772 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.9207, allocations: 139.7 kB / 0.7721 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.921, allocations: 219.6 kB / 0.7723 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.9212, allocations: 399.1 kB / 0.7727 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.9216, allocations: 275.3 kB / 0.7729 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008853/0.9224, allocations: 0.8678 MB / 0.7738 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.9237, allocations: 1.176 MB / 0.7749 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/0.9237, allocations: 8.969 kB / 0.7749 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001723/0.9255, allocations: 1.236 MB / 0.7761 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.447e-05/0.9255, allocations: 13.38 kB / 0.7762 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.9255, allocations: 20.03 kB / 0.7762 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.9267, allocations: 296.1 kB / 0.7765 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.9273, allocations: 204.2 kB / 0.7767 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009986/0.9283, allocations: 0.9183 MB / 0.7776 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.929, allocations: 44.75 kB / 0.7776 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.533e-05/0.9291, allocations: 69.44 kB / 0.7777 GB, free: 9.781 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.0004324/0.9295, allocations: 341.2 kB / 0.778 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.9297, allocations: 92.09 kB / 0.7781 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000915/0.9306, allocations: 0.521 MB / 0.7786 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9306, allocations: 6.219 kB / 0.7786 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9306, allocations: 0 / 0.7786 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.9306, allocations: 2.953 kB / 0.7786 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.9321, allocations: 1.097 MB / 0.7797 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.9321, allocations: 0 / 0.7797 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009225/0.933, allocations: 186 kB / 0.7798 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.467e-05/0.9331, allocations: 23.5 kB / 0.7799 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.9331, allocations: 11.61 kB / 0.7799 GB, free: 9.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.9353, allocations: 2.668 MB / 0.7825 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9353, allocations: 0 / 0.7825 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009514/0.9362, allocations: 0.7059 MB / 0.7832 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002899/0.9365, allocations: 131.1 kB / 0.7833 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.9366, allocations: 7.625 kB / 0.7833 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004129/0.937, allocations: 14.05 kB / 0.7833 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.9371, allocations: 30.67 kB / 0.7833 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.9372, allocations: 27.28 kB / 0.7834 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007061/0.9379, allocations: 0.6267 MB / 0.784 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.9379, allocations: 0 / 0.784 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001248/0.9391, allocations: 389.2 kB / 0.7844 GB, free: 6.332 MB / 0.5762 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.002578/0.9417, allocations: 1.777 MB / 0.7861 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.9429, allocations: 0.6551 MB / 0.7867 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9429, allocations: 0 / 0.7867 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008252/0.9437, allocations: 357.1 kB / 0.7871 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.9454, allocations: 425.4 kB / 0.7875 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/0.9556, allocations: 8.181 MB / 0.7955 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000643/0.9563, allocations: 1.025 MB / 0.7965 GB, free: 0.9844 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009987/0.9573, allocations: 395.6 kB / 0.7968 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/0.9576, allocations: 318.4 kB / 0.7971 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of SimCode: time 1.012e-06/0.9576, allocations: 1.625 kB / 0.7972 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06974/1.027, allocations: 31.82 MB / 0.8282 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.56/19.59, allocations: 8 kB / 0.8282 GB, free: 6.246 MB / 0.6075 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.620106586720794] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T'] 19.70501997321844 19.722563853 18.821469365 Calling exit ...