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.001813/0.001813, allocations: 122.7 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.00215/0.00215, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.396/1.396, allocations: 230.5 MB / 254.7 MB, free: 15.02 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.001855/0.001855, allocations: 71.83 kB / 373.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09918, allocations: 53.32 MB / 426.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3588/0.458, allocations: 155.9 MB / 0.5691 GB, free: 4.734 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005068/0.463, allocations: 4.051 MB / 0.573 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.4632, allocations: 0 / 0.573 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004362/0.4636, allocations: 115.4 kB / 0.5731 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002812/0.4664, allocations: 1.178 MB / 0.5743 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001015/0.4674, allocations: 391.1 kB / 0.5747 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006418/0.4681, allocations: 458.9 kB / 0.5751 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.822e-05/0.4681, allocations: 14.09 kB / 0.5751 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004295/0.4686, allocations: 250.9 kB / 0.5754 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.4688, allocations: 143.5 kB / 0.5755 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.4688, allocations: 16 kB / 0.5755 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003841/0.4727, allocations: 2.178 MB / 0.5776 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.4728, allocations: 143.6 kB / 0.5778 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002053/0.473, allocations: 163.4 kB / 0.5779 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.4754, allocations: 1.539 MB / 0.5794 GB, free: 10.12 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.4754, allocations: 3.938 kB / 0.5794 GB, free: 10.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.4754, allocations: 0 / 0.5794 GB, free: 10.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4754, allocations: 0 / 0.5794 GB, free: 10.11 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.002118/0.4775, allocations: 0.7944 MB / 0.5802 GB, free: 9.27 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4775, allocations: 8.031 kB / 0.5802 GB, free: 9.262 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.47e-05/0.4776, allocations: 66.72 kB / 0.5803 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006936/0.4783, allocations: 108.7 kB / 0.5804 GB, free: 9.082 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005097/0.4788, allocations: 283.1 kB / 0.5807 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.4789, allocations: 20.55 kB / 0.5807 GB, free: 8.746 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.894e-05/0.4789, allocations: 32 kB / 0.5807 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4801, allocations: 0.5848 MB / 0.5813 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.4801, allocations: 0.5 kB / 0.5813 GB, free: 8.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.4801, allocations: 12 kB / 0.5813 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.4802, allocations: 20.44 kB / 0.5813 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.4815, allocations: 0.6462 MB / 0.5819 GB, free: 7.441 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.003086/0.4846, allocations: 1.281 MB / 0.5832 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009552/0.4855, allocations: 349.4 kB / 0.5835 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.486, allocations: 169.6 kB / 0.5837 GB, free: 5.574 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002584/0.4886, allocations: 1.369 MB / 0.585 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.4886, allocations: 38.5 kB / 0.5851 GB, free: 3.938 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.094e-06/0.4886, allocations: 0 / 0.5851 GB, free: 3.938 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.01505/0.5037, allocations: 3.492 MB / 0.5885 GB, free: 256 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.5037, allocations: 89.05 kB / 0.5886 GB, free: 148 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.504, allocations: 179.2 kB / 0.5887 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.762e-05/0.504, allocations: 37.7 kB / 0.5888 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.5042, allocations: 184.6 kB / 0.5889 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5044, allocations: 178.4 kB / 0.5891 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000218/0.5046, allocations: 118.2 kB / 0.5892 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.5048, allocations: 334.8 kB / 0.5895 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.5055, allocations: 269.1 kB / 0.5898 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008913/0.5064, allocations: 421.5 kB / 0.5902 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.5081, allocations: 0.6934 MB / 0.5909 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.5081, allocations: 3.938 kB / 0.5909 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001967/0.51, allocations: 0.7823 MB / 0.5916 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.51, allocations: 8.031 kB / 0.5916 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.5101, allocations: 8 kB / 0.5917 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002053/0.5103, allocations: 57.62 kB / 0.5917 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5114, allocations: 179.7 kB / 0.5919 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007795/0.5122, allocations: 1.077 MB / 0.5929 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/0.5129, allocations: 48.64 kB / 0.593 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-05/0.513, allocations: 35.98 kB / 0.593 GB, free: 11.34 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.0002451/0.5132, allocations: 177.6 kB / 0.5932 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.5134, allocations: 31.81 kB / 0.5932 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.5155, allocations: 0.773 MB / 0.594 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.5155, allocations: 4 kB / 0.594 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.5155, allocations: 8 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.5155, allocations: 7.484 kB / 0.594 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003303/0.5188, allocations: 1.564 MB / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5188, allocations: 0 / 0.5955 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5199, allocations: 155.9 kB / 0.5957 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001209/0.52, allocations: 41.69 kB / 0.5957 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.906e-05/0.5201, allocations: 19.98 kB / 0.5957 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.5222, allocations: 2.734 MB / 0.5984 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5222, allocations: 0 / 0.5984 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002544/0.5247, allocations: 1.081 MB / 0.5994 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.06e-05/0.5248, allocations: 101 kB / 0.5995 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.768e-05/0.5249, allocations: 12 kB / 0.5996 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007525/0.5257, allocations: 41.14 kB / 0.5996 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.5257, allocations: 51.81 kB / 0.5996 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-05/0.5258, allocations: 35.97 kB / 0.5997 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.996e-05/0.5259, allocations: 128.4 kB / 0.5998 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.5259, allocations: 0 / 0.5998 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001269/0.5272, allocations: 395.2 kB / 0.6002 GB, free: 3.547 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.004977/0.5321, allocations: 2.377 MB / 0.6025 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.5339, allocations: 0.6343 MB / 0.6031 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5339, allocations: 4 kB / 0.6031 GB, free: 492 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.535, allocations: 0.5253 MB / 0.6036 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.5358, allocations: 106.4 kB / 0.6037 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00809/0.5438, allocations: 4.237 MB / 0.6079 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.5443, allocations: 0.7852 MB / 0.6086 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0008486/0.5452, allocations: 179.1 kB / 0.6088 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/0.5456, allocations: 131.4 kB / 0.6089 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.082e-06/0.5456, allocations: 0 / 0.6089 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2313/0.7769, allocations: 19.91 MB / 0.6284 GB, free: 175.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.85, allocations: 11.2 kB / 0.6284 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.MixtureGases_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_MixtureGases_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.144285289105028] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 13.95352516695857 13.965427456 13.487420525 Calling exit ...