Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.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.001614/0.001614, allocations: 122.5 kB / 18.51 MB, free: 4.539 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.001945/0.001945, allocations: 215.2 kB / 21.46 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.443/1.443, allocations: 230.5 MB / 254.8 MB, free: 14.9 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.00218/0.00218, allocations: 71.83 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.1004, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3854/0.4858, allocations: 155.9 MB / 0.5692 GB, free: 4.562 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004986/0.4908, allocations: 4.04 MB / 0.5732 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001701/0.491, allocations: 3.938 kB / 0.5732 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004661/0.4915, allocations: 115.4 kB / 0.5733 GB, free: 412 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002981/0.4944, allocations: 1.182 MB / 0.5744 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.4956, allocations: 385.8 kB / 0.5748 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006746/0.4962, allocations: 458.9 kB / 0.5752 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.402e-05/0.4963, allocations: 10.09 kB / 0.5752 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004512/0.4967, allocations: 254.9 kB / 0.5755 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.497, allocations: 147.5 kB / 0.5756 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.497, allocations: 16 kB / 0.5756 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.501, allocations: 2.178 MB / 0.5778 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001668/0.5012, allocations: 143.6 kB / 0.5779 GB, free: 11.65 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.5014, allocations: 163.4 kB / 0.5781 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002536/0.5039, allocations: 1.547 MB / 0.5796 GB, free: 9.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.5039, allocations: 0 / 0.5796 GB, free: 9.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5039, allocations: 4 kB / 0.5796 GB, free: 9.938 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.383e-06/0.5039, allocations: 0 / 0.5796 GB, free: 9.938 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002336/0.5063, allocations: 0.7865 MB / 0.5803 GB, free: 9.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.5063, allocations: 12.02 kB / 0.5803 GB, free: 9.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.5064, allocations: 67.98 kB / 0.5804 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007407/0.5072, allocations: 104.7 kB / 0.5805 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004414/0.5076, allocations: 287.2 kB / 0.5808 GB, free: 8.594 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.5076, allocations: 24.56 kB / 0.5808 GB, free: 8.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.131e-05/0.5077, allocations: 24 kB / 0.5808 GB, free: 8.547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.5089, allocations: 0.5848 MB / 0.5814 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.5089, allocations: 0 / 0.5814 GB, free: 7.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.323e-05/0.509, allocations: 16 kB / 0.5814 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.509, allocations: 20.44 kB / 0.5814 GB, free: 7.914 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.5104, allocations: 0.6423 MB / 0.5821 GB, free: 7.273 MB / 494.1 MB 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.003104/0.5135, allocations: 1.285 MB / 0.5833 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.5146, allocations: 348.9 kB / 0.5837 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000488/0.515, allocations: 165.6 kB / 0.5838 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002537/0.5176, allocations: 1.369 MB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5176, allocations: 42.5 kB / 0.5852 GB, free: 3.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.415e-06/0.5176, allocations: 0 / 0.5852 GB, free: 3.766 MB / 494.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01626/0.5339, allocations: 3.495 MB / 0.5886 GB, free: 76 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.534, allocations: 81.11 kB / 0.5887 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5342, allocations: 183.2 kB / 0.5889 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.705e-05/0.5342, allocations: 29.7 kB / 0.5889 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.5343, allocations: 184.6 kB / 0.5891 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001742/0.5345, allocations: 178.5 kB / 0.5892 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.5348, allocations: 122.2 kB / 0.5893 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5349, allocations: 338.8 kB / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008131/0.5357, allocations: 265.1 kB / 0.5899 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009732/0.5367, allocations: 425.5 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001813/0.5385, allocations: 0.6958 MB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.5385, allocations: 4 kB / 0.591 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002192/0.5407, allocations: 0.7829 MB / 0.5918 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.5407, allocations: 8 kB / 0.5918 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.5407, allocations: 7.984 kB / 0.5918 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000238/0.541, allocations: 57.62 kB / 0.5918 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.5422, allocations: 179.8 kB / 0.592 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007762/0.543, allocations: 1.07 MB / 0.5931 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008178/0.5438, allocations: 56.08 kB / 0.5931 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.5439, allocations: 35.98 kB / 0.5931 GB, free: 11.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002853/0.5441, allocations: 173.6 kB / 0.5933 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.5443, allocations: 31.81 kB / 0.5933 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.5467, allocations: 0.7809 MB / 0.5941 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.5467, allocations: 12 kB / 0.5941 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5467, allocations: 0 / 0.5941 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.5467, allocations: 3.984 kB / 0.5941 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.5503, allocations: 1.555 MB / 0.5956 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5503, allocations: 4 kB / 0.5956 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.5515, allocations: 151.9 kB / 0.5958 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001478/0.5516, allocations: 41.69 kB / 0.5958 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.5517, allocations: 23.98 kB / 0.5959 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.5538, allocations: 2.732 MB / 0.5985 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5538, allocations: 4.031 kB / 0.5985 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002864/0.5567, allocations: 1.073 MB / 0.5996 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5568, allocations: 105 kB / 0.5997 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.643e-05/0.5569, allocations: 16 kB / 0.5997 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008616/0.5578, allocations: 39.95 kB / 0.5997 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.5578, allocations: 47.81 kB / 0.5998 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.5579, allocations: 36.78 kB / 0.5998 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001097/0.558, allocations: 132.4 kB / 0.5999 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.558, allocations: 0 / 0.5999 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001444/0.5595, allocations: 391.2 kB / 0.6003 GB, free: 3.383 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (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.00567/0.5651, allocations: 2.375 MB / 0.6026 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002113/0.5673, allocations: 0.6362 MB / 0.6032 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5673, allocations: 0 / 0.6032 GB, free: 328 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.5685, allocations: 0.5294 MB / 0.6038 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008273/0.5693, allocations: 96.34 kB / 0.6039 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008879/0.5782, allocations: 4.24 MB / 0.608 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.5786, allocations: 0.7892 MB / 0.6088 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008448/0.5795, allocations: 187.1 kB / 0.6089 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004179/0.5799, allocations: 127.4 kB / 0.6091 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of SimCode: time 7.52e-07/0.5799, allocations: 0 / 0.6091 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2682/0.8481, allocations: 19.92 MB / 0.6285 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/14.3, allocations: 5.406 kB / 0.6285 GB, free: 175.1 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_1_0-beta_om_Modelica_Media_Examples_MixtureGases.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 16.79747181525454] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 14.404346656985581 14.426344406 13.918929071 Calling exit ...