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.001808/0.001808, 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.002095/0.002095, 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.527/1.527, 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.2378/0.2378, allocations: 46.93 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.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.002283/0.002283, allocations: 84.09 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1464, allocations: 66.04 MB / 0.5562 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGas): time 0.5612/0.7076, allocations: 180.6 MB / 0.7326 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01022/0.7178, allocations: 6.513 MB / 0.7389 GB, free: 5.977 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009121/0.7187, allocations: 27.75 kB / 0.739 GB, free: 5.949 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.72, allocations: 453.5 kB / 0.7394 GB, free: 5.504 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.7249, allocations: 1.78 MB / 0.7411 GB, free: 3.719 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004135/0.7291, allocations: 1.523 MB / 0.7426 GB, free: 2.203 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003397/0.7325, allocations: 2.239 MB / 0.7448 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.7337, allocations: 0.668 MB / 0.7455 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004215/0.7379, allocations: 1.823 MB / 0.7472 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003043/0.741, allocations: 1.671 MB / 0.7489 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002659/0.7412, allocations: 96 kB / 0.749 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003086/0.7443, allocations: 1.395 MB / 0.7503 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008401/0.7451, allocations: 0.6936 MB / 0.751 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00109/0.7462, allocations: 0.7548 MB / 0.7517 GB, free: 8.836 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.7507, allocations: 2.629 MB / 0.7543 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7507, allocations: 0 / 0.7543 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7507, allocations: 0 / 0.7543 GB, free: 6.199 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.732e-05/0.7508, allocations: 0 / 0.7543 GB, free: 6.199 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.004352/0.7551, allocations: 1.74 MB / 0.756 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.7552, allocations: 8.031 kB / 0.756 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002662/0.7554, allocations: 180.8 kB / 0.7562 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.757, allocations: 318.9 kB / 0.7565 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001459/0.7584, allocations: 0.7732 MB / 0.7572 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.7586, allocations: 145.4 kB / 0.7574 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.7588, allocations: 99.95 kB / 0.7575 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.7617, allocations: 1.845 MB / 0.7593 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.7617, allocations: 4 kB / 0.7593 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001487/0.7619, allocations: 47.98 kB / 0.7593 GB, free: 0.8633 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.762, allocations: 97.89 kB / 0.7594 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.7648, allocations: 1.694 MB / 0.7611 GB, free: 15.07 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.01041/0.7752, allocations: 6.857 MB / 0.7678 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.7766, allocations: 0.8466 MB / 0.7686 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006649/0.7773, allocations: 438.2 kB / 0.769 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/0.7774, allocations: 113.7 kB / 0.7691 GB, free: 6.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.974e-05/0.7775, allocations: 51.06 kB / 0.7692 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 2.325e-06/0.7775, allocations: 0 / 0.7692 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72): time 0.01168/0.7892, allocations: 4.125 MB / 0.7732 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.7893, allocations: 115.5 kB / 0.7733 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/0.7909, allocations: 1.12 MB / 0.7744 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.7911, allocations: 45.7 kB / 0.7744 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/0.7915, allocations: 0.5313 MB / 0.775 GB, free: 220 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002671/0.7918, allocations: 269.7 kB / 0.7752 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003893/0.7922, allocations: 214.5 kB / 0.7754 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7923, allocations: 345.9 kB / 0.7758 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009697/0.7933, allocations: 0.5836 MB / 0.7763 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001221/0.7945, allocations: 0.8721 MB / 0.7772 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002155/0.7967, allocations: 1.454 MB / 0.7786 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.7967, allocations: 0 / 0.7786 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003363/0.8001, allocations: 1.978 MB / 0.7805 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8001, allocations: 8 kB / 0.7805 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.8001, allocations: 8 kB / 0.7805 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005028/0.8051, allocations: 1.355 MB / 0.7819 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007023/0.8058, allocations: 139.8 kB / 0.782 GB, free: 8.758 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003192/0.809, allocations: 1.928 MB / 0.7839 GB, free: 6.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/0.8102, allocations: 43.97 kB / 0.7839 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.8103, allocations: 67.98 kB / 0.784 GB, free: 6.695 MB / 0.5919 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.0008886/0.8112, allocations: 397.4 kB / 0.7844 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.8115, allocations: 123.2 kB / 0.7845 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/0.8144, allocations: 1.499 MB / 0.786 GB, free: 4.668 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.8144, allocations: 8 kB / 0.786 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8144, allocations: 0 / 0.786 GB, free: 4.66 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.8144, allocations: 3.984 kB / 0.786 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004507/0.8189, allocations: 2.684 MB / 0.7886 GB, free: 1.906 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.8189, allocations: 4 kB / 0.7886 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/0.8208, allocations: 319.6 kB / 0.7889 GB, free: 1.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002101/0.821, allocations: 76.77 kB / 0.789 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.921e-05/0.8211, allocations: 35.97 kB / 0.789 GB, free: 1.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002875/0.824, allocations: 3.029 MB / 0.792 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.824, allocations: 0 / 0.792 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/0.8273, allocations: 1.916 MB / 0.7938 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008577/0.8281, allocations: 332.2 kB / 0.7941 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002016/0.8283, allocations: 31.98 kB / 0.7942 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009197/0.8293, allocations: 43.95 kB / 0.7942 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.8294, allocations: 64.7 kB / 0.7943 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.8296, allocations: 67.94 kB / 0.7943 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00115/0.8307, allocations: 0.7969 MB / 0.7951 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8307, allocations: 3.938 kB / 0.7951 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001496/0.8322, allocations: 483.5 kB / 0.7956 GB, free: 10.4 MB / 0.6075 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.005176/0.8374, allocations: 3.104 MB / 0.7986 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002918/0.8403, allocations: 1.424 MB / 0.8 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8403, allocations: 8.703 kB / 0.8 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.8421, allocations: 0.834 MB / 0.8008 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003518/0.8456, allocations: 0.7697 MB / 0.8016 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.8667, allocations: 12.92 MB / 0.8142 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.8678, allocations: 1.179 MB / 0.8154 GB, free: 5.754 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001633/0.8694, allocations: 477 kB / 0.8158 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007738/0.8702, allocations: 447.3 kB / 0.8162 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of SimCode: time 1.362e-06/0.8702, allocations: 0 / 0.8162 GB, free: 4.852 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3721/1.242, allocations: 50.91 MB / 0.866 GB, free: 227.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.7, allocations: 15.92 kB / 0.866 GB, free: 227.9 MB / 0.6387 GB " [Timeout remaining time 644] (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: 18.92827797541395] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.p', 'volume.medium.T', 'volume.medium.X[1]', 'volume.medium.X[2]', 'volume.medium.X[3]', 'volume.medium.X[4]', 'volume.medium.X[5]', 'volume.medium.X[6]'] 15.822410672903061 15.840450642 15.086103642 Calling exit ...