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.001733/0.001733, allocations: 109 kB / 21.23 MB, free: 0.5117 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.002187/0.002187, allocations: 209.9 kB / 24.54 MB, free: 3.906 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.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.001965/0.001965, allocations: 64.77 kB / 378.5 MB, free: 3.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.255, allocations: 53.37 MB / 431.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4038/0.6588, allocations: 155.9 MB / 0.5741 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003677/0.6625, allocations: 4.06 MB / 0.578 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.6626, allocations: 2.812 kB / 0.578 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000446/0.6631, allocations: 113.5 kB / 0.5781 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.6659, allocations: 1.247 MB / 0.5793 GB, free: 12.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6669, allocations: 395.8 kB / 0.5797 GB, free: 12.33 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006722/0.6676, allocations: 466.1 kB / 0.5802 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.005e-05/0.6677, allocations: 9.969 kB / 0.5802 GB, free: 12.25 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004339/0.6681, allocations: 254.6 kB / 0.5804 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002197/0.6683, allocations: 150.1 kB / 0.5806 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.763e-05/0.6684, allocations: 14.97 kB / 0.5806 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003806/0.6722, allocations: 2.278 MB / 0.5828 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001381/0.6723, allocations: 133.2 kB / 0.5829 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000194/0.6725, allocations: 166.9 kB / 0.5831 GB, free: 11.94 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002541/0.675, allocations: 1.548 MB / 0.5846 GB, free: 11.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6751, allocations: 0 / 0.5846 GB, free: 11.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6751, allocations: 7.359 kB / 0.5846 GB, free: 11.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.6751, allocations: 0 / 0.5846 GB, free: 11.41 MB / 462.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.002113/0.6772, allocations: 0.7165 MB / 0.5853 GB, free: 10.91 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.6772, allocations: 10.38 kB / 0.5853 GB, free: 10.91 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.879e-05/0.6773, allocations: 69.89 kB / 0.5854 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006799/0.678, allocations: 106 kB / 0.5855 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.6784, allocations: 221.2 kB / 0.5857 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6784, allocations: 17.69 kB / 0.5857 GB, free: 10.65 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.6785, allocations: 31.48 kB / 0.5857 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009912/0.6795, allocations: 0.5959 MB / 0.5863 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.6795, allocations: 3.984 kB / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.6796, allocations: 9.594 kB / 0.5863 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.284e-05/0.6796, allocations: 21.16 kB / 0.5864 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6807, allocations: 0.65 MB / 0.587 GB, free: 10.33 MB / 462.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.002768/0.6835, allocations: 1.245 MB / 0.5882 GB, free: 9.711 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/0.6844, allocations: 354.7 kB / 0.5885 GB, free: 9.59 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.6848, allocations: 170 kB / 0.5887 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/0.6866, allocations: 476.3 kB / 0.5892 GB, free: 9.426 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.6867, allocations: 40.41 kB / 0.5892 GB, free: 9.383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.6867, allocations: 0 / 0.5892 GB, free: 9.383 MB / 462.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.01419/0.7009, allocations: 3.193 MB / 0.5923 GB, free: 8.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.7009, allocations: 91.09 kB / 0.5924 GB, free: 7.918 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.7011, allocations: 184.1 kB / 0.5926 GB, free: 7.789 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.7012, allocations: 38.38 kB / 0.5926 GB, free: 7.754 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.7013, allocations: 181.6 kB / 0.5928 GB, free: 7.594 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.7015, allocations: 178.2 kB / 0.593 GB, free: 7.465 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/0.7017, allocations: 123.9 kB / 0.5931 GB, free: 7.422 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7018, allocations: 337.3 kB / 0.5934 GB, free: 7.102 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006799/0.7025, allocations: 265.2 kB / 0.5937 GB, free: 7.051 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007877/0.7033, allocations: 424.4 kB / 0.5941 GB, free: 6.809 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.7048, allocations: 0.6973 MB / 0.5947 GB, free: 6.535 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7048, allocations: 2.031 kB / 0.5947 GB, free: 6.535 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001915/0.7067, allocations: 0.783 MB / 0.5955 GB, free: 6.199 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.7067, allocations: 10.92 kB / 0.5955 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.7067, allocations: 5.562 kB / 0.5955 GB, free: 6.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/0.707, allocations: 53.75 kB / 0.5956 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7081, allocations: 184.9 kB / 0.5957 GB, free: 6.109 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008593/0.709, allocations: 1.068 MB / 0.5968 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007908/0.7098, allocations: 54.92 kB / 0.5968 GB, free: 5.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.7098, allocations: 35.92 kB / 0.5969 GB, free: 5 MB / 462.1 MB 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.0003104/0.7101, allocations: 173.4 kB / 0.597 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.7103, allocations: 32.3 kB / 0.5971 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00219/0.7125, allocations: 0.7855 MB / 0.5978 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.7125, allocations: 5.25 kB / 0.5978 GB, free: 4.352 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.7125, allocations: 6.734 kB / 0.5979 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.7125, allocations: 0 / 0.5979 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.7159, allocations: 1.525 MB / 0.5993 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.7159, allocations: 2.75 kB / 0.5993 GB, free: 3.211 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.7169, allocations: 153.8 kB / 0.5995 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001442/0.7171, allocations: 45.59 kB / 0.5995 GB, free: 3.125 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-05/0.7172, allocations: 21.75 kB / 0.5996 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002127/0.7193, allocations: 2.527 MB / 0.602 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.7193, allocations: 2.719 kB / 0.602 GB, free: 0.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002591/0.7219, allocations: 1.082 MB / 0.6031 GB, free: 15.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/0.7219, allocations: 22.08 kB / 0.6031 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.013e-05/0.722, allocations: 12.88 kB / 0.6031 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007774/0.7228, allocations: 40.69 kB / 0.6032 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/0.7229, allocations: 50.59 kB / 0.6032 GB, free: 15.72 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.054e-05/0.723, allocations: 32.88 kB / 0.6032 GB, free: 15.71 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.7231, allocations: 126.8 kB / 0.6034 GB, free: 15.61 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7231, allocations: 0 / 0.6034 GB, free: 15.61 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001338/0.7244, allocations: 395.1 kB / 0.6037 GB, free: 15.53 MB / 478.1 MB 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.005081/0.7295, allocations: 2.382 MB / 0.6061 GB, free: 13.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001934/0.7314, allocations: 0.6383 MB / 0.6067 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7314, allocations: 0 / 0.6067 GB, free: 13.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.7326, allocations: 0.5297 MB / 0.6072 GB, free: 12.97 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008274/0.7334, allocations: 109.3 kB / 0.6073 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008514/0.7419, allocations: 4.243 MB / 0.6114 GB, free: 8.367 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.7424, allocations: 0.7852 MB / 0.6122 GB, free: 7.555 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.000874/0.7433, allocations: 187.1 kB / 0.6124 GB, free: 7.371 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.7437, allocations: 123.4 kB / 0.6125 GB, free: 7.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.002e-06/0.7437, allocations: 4 kB / 0.6125 GB, free: 7.246 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0589/0.8026, allocations: 20.37 MB / 0.6324 GB, free: 2.996 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.68/14.48, allocations: 3.375 kB / 0.6324 GB, free: 2.996 MB / 494.1 MB " [Timeout remaining time 645] (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.83808358106762] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 14.59229154791683 14.612771971 13.934318258 Calling exit ...