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.001402/0.001402, allocations: 106.5 kB / 19.74 MB, free: 2.566 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.00151/0.00151, allocations: 218.3 kB / 22.92 MB, free: 5.535 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.304/1.304, allocations: 230.2 MB / 256.1 MB, free: 8.742 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.202/0.202, allocations: 46.9 MB / 359.3 MB, free: 4.957 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.002113/0.002113, allocations: 83.8 kB / 0.494 GB, free: 9.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2598/0.2619, allocations: 65.98 MB / 0.5584 GB, free: 5.094 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.4361/0.6981, allocations: 181 MB / 0.7351 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007049/0.7051, allocations: 6.553 MB / 0.7415 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003807/0.7055, allocations: 19.19 kB / 0.7416 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008443/0.7064, allocations: 434.8 kB / 0.742 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002884/0.7092, allocations: 1.779 MB / 0.7437 GB, free: 1.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002596/0.7118, allocations: 1.502 MB / 0.7452 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.7134, allocations: 2.129 MB / 0.7473 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004892/0.7139, allocations: 483.1 kB / 0.7477 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.7164, allocations: 1.775 MB / 0.7495 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00172/0.7181, allocations: 1.559 MB / 0.751 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.7182, allocations: 74.94 kB / 0.751 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.7202, allocations: 1.368 MB / 0.7524 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.7204, allocations: 459.3 kB / 0.7528 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000436/0.7209, allocations: 0.5531 MB / 0.7534 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001791/0.7227, allocations: 2.071 MB / 0.7554 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.7227, allocations: 0.9062 kB / 0.7554 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7227, allocations: 0 / 0.7554 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.7227, allocations: 2.172 kB / 0.7554 GB, free: 1.441 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.002467/0.7252, allocations: 1.482 MB / 0.7568 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.7252, allocations: 10.28 kB / 0.7568 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001386/0.7253, allocations: 126.3 kB / 0.757 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001203/0.7265, allocations: 288.5 kB / 0.7572 GB, free: 16.61 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007992/0.7273, allocations: 0.6412 MB / 0.7579 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.643e-05/0.7274, allocations: 116.9 kB / 0.758 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.7275, allocations: 67.3 kB / 0.758 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001386/0.7289, allocations: 1.264 MB / 0.7593 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/0.7289, allocations: 5.969 kB / 0.7593 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.729, allocations: 40.61 kB / 0.7593 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.487e-05/0.7291, allocations: 84.88 kB / 0.7594 GB, free: 16.04 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.7303, allocations: 1.05 MB / 0.7604 GB, free: 16.03 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.005377/0.7357, allocations: 4.918 MB / 0.7652 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.7361, allocations: 297 kB / 0.7655 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.7363, allocations: 137.7 kB / 0.7656 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.214e-05/0.7364, allocations: 98.78 kB / 0.7657 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.7364, allocations: 44.69 kB / 0.7658 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=28): time 1.603e-06/0.7364, allocations: 0 / 0.7658 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.005571/0.742, allocations: 1.84 MB / 0.7676 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.7421, allocations: 138.1 kB / 0.7677 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008319/0.7429, allocations: 0.9387 MB / 0.7686 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.7429, allocations: 35.3 kB / 0.7687 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.7433, allocations: 0.5779 MB / 0.7692 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.01e-05/0.7434, allocations: 136.8 kB / 0.7694 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002158/0.7436, allocations: 224.5 kB / 0.7696 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7437, allocations: 394.7 kB / 0.7699 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.7441, allocations: 282.4 kB / 0.7702 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007669/0.7449, allocations: 0.8601 MB / 0.7711 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.746, allocations: 1.183 MB / 0.7722 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.746, allocations: 12.25 kB / 0.7722 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001473/0.7475, allocations: 1.231 MB / 0.7734 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.7475, allocations: 17.44 kB / 0.7734 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.7475, allocations: 20.88 kB / 0.7735 GB, free: 9.734 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001065/0.7486, allocations: 295 kB / 0.7737 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.749, allocations: 201.2 kB / 0.7739 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008805/0.7499, allocations: 0.9199 MB / 0.7748 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.7505, allocations: 41.7 kB / 0.7749 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.458e-05/0.7506, allocations: 73.47 kB / 0.7749 GB, free: 9.191 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.0003259/0.7509, allocations: 338.8 kB / 0.7753 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.751, allocations: 95.98 kB / 0.7754 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/0.7519, allocations: 0.5155 MB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.7519, allocations: 4.656 kB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7519, allocations: 3.781 kB / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.7519, allocations: 0 / 0.7759 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001553/0.7534, allocations: 1.127 MB / 0.777 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.7534, allocations: 0 / 0.777 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008755/0.7543, allocations: 184.9 kB / 0.7771 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.57e-05/0.7544, allocations: 26.62 kB / 0.7772 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.7544, allocations: 11.19 kB / 0.7772 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001932/0.7563, allocations: 2.881 MB / 0.78 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7563, allocations: 0 / 0.78 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/0.7572, allocations: 0.7032 MB / 0.7807 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.7574, allocations: 204.8 kB / 0.7809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.813e-05/0.7575, allocations: 9.375 kB / 0.7809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003886/0.7579, allocations: 16.09 kB / 0.7809 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.7579, allocations: 30.05 kB / 0.7809 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.758, allocations: 20 kB / 0.7809 GB, free: 5.496 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005766/0.7585, allocations: 0.6227 MB / 0.7816 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.7585, allocations: 1.859 kB / 0.7816 GB, free: 5.387 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001045/0.7596, allocations: 382.7 kB / 0.7819 GB, free: 5.355 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.002428/0.762, allocations: 1.808 MB / 0.7837 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009682/0.763, allocations: 0.6439 MB / 0.7843 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.763, allocations: 0 / 0.7843 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007764/0.7638, allocations: 367.2 kB / 0.7847 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.7654, allocations: 431.9 kB / 0.7851 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008695/0.7741, allocations: 8.175 MB / 0.7931 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.7746, allocations: 1.032 MB / 0.7941 GB, free: 0 / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008257/0.7754, allocations: 390.7 kB / 0.7944 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000326/0.7758, allocations: 321.1 kB / 0.7947 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/0.7758, allocations: 0 / 0.7947 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06184/0.8376, allocations: 31.2 MB / 0.8252 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.66/17.5, allocations: 0 / 0.8252 GB, free: 6.055 MB / 0.6075 GB " [Timeout remaining time 642] (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: 20.067001844989136]