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.001436/0.001436, allocations: 108.7 kB / 19.8 MB, free: 2.516 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.001646/0.001646, allocations: 212.9 kB / 23 MB, free: 5.609 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.373/1.373, allocations: 230.5 MB / 256.5 MB, free: 8.449 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.00189/0.00189, allocations: 71.83 kB / 376.2 MB, free: 4.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2435, allocations: 53.31 MB / 429.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.3965/0.64, allocations: 155.9 MB / 0.5717 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00388/0.6439, allocations: 4.057 MB / 0.5757 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001493/0.644, allocations: 0 / 0.5757 GB, free: 12.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.6445, allocations: 117.7 kB / 0.5758 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.6471, allocations: 1.179 MB / 0.5769 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009745/0.648, allocations: 389.2 kB / 0.5773 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005445/0.6486, allocations: 462.4 kB / 0.5777 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.528e-05/0.6486, allocations: 14 kB / 0.5778 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003965/0.649, allocations: 252.7 kB / 0.578 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.6492, allocations: 153.5 kB / 0.5781 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.378e-05/0.6493, allocations: 17.94 kB / 0.5782 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00361/0.6529, allocations: 2.167 MB / 0.5803 GB, free: 11.97 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001363/0.653, allocations: 139.4 kB / 0.5804 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.6532, allocations: 172.6 kB / 0.5806 GB, free: 11.96 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.6555, allocations: 1.537 MB / 0.5821 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.6555, allocations: 2.5 kB / 0.5821 GB, free: 11.53 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6555, allocations: 0 / 0.5821 GB, free: 11.53 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.6555, allocations: 0 / 0.5821 GB, free: 11.53 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.002098/0.6576, allocations: 0.7926 MB / 0.5828 GB, free: 10.93 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6577, allocations: 10.81 kB / 0.5829 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.833e-05/0.6578, allocations: 73.41 kB / 0.5829 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.6584, allocations: 101.6 kB / 0.583 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000396/0.6588, allocations: 276.1 kB / 0.5833 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.6589, allocations: 20.69 kB / 0.5833 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.884e-05/0.6589, allocations: 32.16 kB / 0.5833 GB, free: 10.59 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.66, allocations: 0.5919 MB / 0.5839 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.66, allocations: 1.906 kB / 0.5839 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.71e-05/0.6601, allocations: 12.66 kB / 0.5839 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.6601, allocations: 21.11 kB / 0.584 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.6613, allocations: 0.6424 MB / 0.5846 GB, free: 10.29 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.002743/0.664, allocations: 1.28 MB / 0.5858 GB, free: 9.625 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009259/0.665, allocations: 350.7 kB / 0.5862 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004308/0.6654, allocations: 171.1 kB / 0.5863 GB, free: 9.461 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00235/0.6677, allocations: 1.373 MB / 0.5877 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.6678, allocations: 40.41 kB / 0.5877 GB, free: 8.156 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.6678, allocations: 0 / 0.5877 GB, free: 8.156 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.01468/0.6825, allocations: 3.492 MB / 0.5911 GB, free: 6.414 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.6825, allocations: 82.27 kB / 0.5912 GB, free: 6.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.6827, allocations: 183.8 kB / 0.5914 GB, free: 6.191 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.695e-05/0.6828, allocations: 39.3 kB / 0.5914 GB, free: 6.156 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.6829, allocations: 183 kB / 0.5916 GB, free: 5.996 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.683, allocations: 184.7 kB / 0.5918 GB, free: 5.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.6832, allocations: 116.3 kB / 0.5919 GB, free: 5.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6834, allocations: 334.7 kB / 0.5922 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/0.6841, allocations: 268.5 kB / 0.5924 GB, free: 5.449 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008405/0.685, allocations: 420.3 kB / 0.5928 GB, free: 5.215 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001567/0.6865, allocations: 0.6994 MB / 0.5935 GB, free: 4.938 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.6865, allocations: 2.719 kB / 0.5935 GB, free: 4.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001918/0.6884, allocations: 0.7835 MB / 0.5943 GB, free: 4.73 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.6885, allocations: 11.75 kB / 0.5943 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.6885, allocations: 4.781 kB / 0.5943 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.6887, allocations: 59.38 kB / 0.5944 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6898, allocations: 177 kB / 0.5945 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007661/0.6906, allocations: 1.079 MB / 0.5956 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007332/0.6913, allocations: 48.8 kB / 0.5956 GB, free: 3.574 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.6914, allocations: 40.28 kB / 0.5957 GB, free: 3.562 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.0002804/0.6917, allocations: 172.3 kB / 0.5958 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.6918, allocations: 31.12 kB / 0.5959 GB, free: 3.391 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.6939, allocations: 0.7843 MB / 0.5966 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6939, allocations: 2.625 kB / 0.5966 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.6939, allocations: 2.25 kB / 0.5966 GB, free: 2.914 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.6939, allocations: 4 kB / 0.5966 GB, free: 2.91 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/0.6971, allocations: 1.558 MB / 0.5982 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6971, allocations: 2.781 kB / 0.5982 GB, free: 1.738 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6981, allocations: 154.7 kB / 0.5983 GB, free: 1.684 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001696/0.6983, allocations: 46.16 kB / 0.5984 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.658e-05/0.6984, allocations: 21.94 kB / 0.5984 GB, free: 1.641 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002004/0.7004, allocations: 2.728 MB / 0.601 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.7004, allocations: 2.75 kB / 0.601 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.703, allocations: 1.072 MB / 0.6021 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.568e-05/0.7031, allocations: 102.7 kB / 0.6022 GB, free: 13.97 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.19e-05/0.7031, allocations: 13.72 kB / 0.6022 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000769/0.7039, allocations: 45.61 kB / 0.6022 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/0.704, allocations: 49.25 kB / 0.6023 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.889e-05/0.7041, allocations: 34.94 kB / 0.6023 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001172/0.7042, allocations: 129.7 kB / 0.6025 GB, free: 13.79 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7042, allocations: 4 kB / 0.6025 GB, free: 13.79 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001406/0.7056, allocations: 391.2 kB / 0.6028 GB, free: 13.71 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.005324/0.7109, allocations: 2.373 MB / 0.6051 GB, free: 12.15 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.7129, allocations: 0.6365 MB / 0.6058 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.7129, allocations: 0 / 0.6058 GB, free: 11.85 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.7141, allocations: 0.5287 MB / 0.6063 GB, free: 11.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.7149, allocations: 100.7 kB / 0.6064 GB, free: 11.21 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008564/0.7235, allocations: 4.251 MB / 0.6105 GB, free: 6.699 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.7239, allocations: 0.7853 MB / 0.6113 GB, free: 5.887 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008391/0.7247, allocations: 183.1 kB / 0.6115 GB, free: 5.707 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003973/0.7251, allocations: 131.3 kB / 0.6116 GB, free: 5.578 MB / 478.1 MB Notification: Performance of SimCode: time 1.263e-06/0.7251, allocations: 0 / 0.6116 GB, free: 5.578 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.055/0.7801, allocations: 20.02 MB / 0.6311 GB, free: 1.676 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.76, allocations: 7.188 kB / 0.6312 GB, free: 1.676 MB / 494.1 MB " [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 --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: 15.968839753011707] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 13.86611169698881 13.882618156 13.223574554 Calling exit ...