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.001366/0.001366, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001484/0.001484, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.002808/0.002808, allocations: 64.78 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2699, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.4003/0.6703, allocations: 155.9 MB / 0.5741 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004104/0.6744, allocations: 4.059 MB / 0.578 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.6746, allocations: 3.938 kB / 0.578 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.6751, allocations: 103.4 kB / 0.5781 GB, free: 12.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00358/0.6787, allocations: 1.252 MB / 0.5793 GB, free: 12.36 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.6799, allocations: 392.5 kB / 0.5797 GB, free: 12.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.000656/0.6806, allocations: 467.4 kB / 0.5802 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.609e-05/0.6807, allocations: 13.36 kB / 0.5802 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.6811, allocations: 253.3 kB / 0.5804 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.6813, allocations: 147.2 kB / 0.5806 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.6814, allocations: 15.78 kB / 0.5806 GB, free: 12.18 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00426/0.6856, allocations: 2.273 MB / 0.5828 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001556/0.6858, allocations: 138.5 kB / 0.5829 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.686, allocations: 168.5 kB / 0.5831 GB, free: 11.9 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.6887, allocations: 1.554 MB / 0.5846 GB, free: 11.37 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.6887, allocations: 0 / 0.5846 GB, free: 11.37 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.6887, allocations: 0 / 0.5846 GB, free: 11.37 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.6887, allocations: 0 / 0.5846 GB, free: 11.37 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.002222/0.6909, allocations: 0.715 MB / 0.5853 GB, free: 10.87 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.691, allocations: 10.12 kB / 0.5853 GB, free: 10.87 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.274e-05/0.6911, allocations: 66.19 kB / 0.5854 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007377/0.6918, allocations: 110 kB / 0.5855 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004645/0.6923, allocations: 225.1 kB / 0.5857 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.6923, allocations: 21.73 kB / 0.5857 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.6923, allocations: 22.62 kB / 0.5857 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.6934, allocations: 0.5922 MB / 0.5863 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.6934, allocations: 10.94 kB / 0.5863 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.6935, allocations: 13.16 kB / 0.5863 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/0.6935, allocations: 19.55 kB / 0.5864 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.6947, allocations: 0.6514 MB / 0.587 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.002982/0.6977, allocations: 1.241 MB / 0.5882 GB, free: 9.676 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000938/0.6986, allocations: 350.7 kB / 0.5885 GB, free: 9.559 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.6991, allocations: 174.7 kB / 0.5887 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/0.701, allocations: 481.4 kB / 0.5892 GB, free: 9.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.7011, allocations: 44.41 kB / 0.5892 GB, free: 9.34 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.974e-06/0.7011, allocations: 0 / 0.5892 GB, free: 9.34 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.01492/0.716, allocations: 3.189 MB / 0.5923 GB, free: 7.977 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.7161, allocations: 82.39 kB / 0.5924 GB, free: 7.883 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.7162, allocations: 191.5 kB / 0.5926 GB, free: 7.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.659e-05/0.7163, allocations: 32.52 kB / 0.5926 GB, free: 7.719 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.7164, allocations: 185.7 kB / 0.5928 GB, free: 7.555 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.7166, allocations: 179.4 kB / 0.593 GB, free: 7.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002101/0.7168, allocations: 120.3 kB / 0.5931 GB, free: 7.387 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.717, allocations: 334.7 kB / 0.5934 GB, free: 7.066 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.7177, allocations: 267.5 kB / 0.5937 GB, free: 7.016 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008371/0.7185, allocations: 432.8 kB / 0.5941 GB, free: 6.766 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.7201, allocations: 0.6908 MB / 0.5947 GB, free: 6.496 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7201, allocations: 7.062 kB / 0.5947 GB, free: 6.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001924/0.7221, allocations: 0.7757 MB / 0.5955 GB, free: 6.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.7221, allocations: 8.031 kB / 0.5955 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.7221, allocations: 4.656 kB / 0.5955 GB, free: 6.188 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.7223, allocations: 58.38 kB / 0.5956 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.7235, allocations: 185.2 kB / 0.5957 GB, free: 6.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007734/0.7242, allocations: 1.072 MB / 0.5968 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007827/0.725, allocations: 52.02 kB / 0.5968 GB, free: 4.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.409e-05/0.7251, allocations: 36.23 kB / 0.5969 GB, free: 4.984 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.0002726/0.7254, allocations: 175.5 kB / 0.597 GB, free: 4.828 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.7255, allocations: 28.5 kB / 0.5971 GB, free: 4.812 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.7277, allocations: 0.7998 MB / 0.5979 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7277, allocations: 6.641 kB / 0.5979 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7277, allocations: 0 / 0.5979 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7277, allocations: 6.297 kB / 0.5979 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00338/0.7311, allocations: 1.52 MB / 0.5994 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.7311, allocations: 0 / 0.5994 GB, free: 3.188 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.7322, allocations: 151.5 kB / 0.5995 GB, free: 3.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.7323, allocations: 49.73 kB / 0.5995 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.7324, allocations: 24.89 kB / 0.5996 GB, free: 3.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001949/0.7344, allocations: 2.521 MB / 0.602 GB, free: 492 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7344, allocations: 6.25 kB / 0.602 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/0.737, allocations: 1.081 MB / 0.6031 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.737, allocations: 21.64 kB / 0.6031 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.268e-05/0.7371, allocations: 10.81 kB / 0.6031 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008113/0.7379, allocations: 40.3 kB / 0.6032 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.738, allocations: 58.97 kB / 0.6032 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.391e-05/0.7381, allocations: 34.88 kB / 0.6032 GB, free: 15.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001047/0.7382, allocations: 125.6 kB / 0.6034 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7382, allocations: 0 / 0.6034 GB, free: 15.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001334/0.7395, allocations: 396.8 kB / 0.6037 GB, free: 15.5 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.005404/0.7449, allocations: 2.369 MB / 0.6061 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.747, allocations: 0.6431 MB / 0.6067 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.747, allocations: 0 / 0.6067 GB, free: 13.47 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.7482, allocations: 0.5276 MB / 0.6072 GB, free: 12.92 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008014/0.749, allocations: 112.2 kB / 0.6073 GB, free: 12.81 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008958/0.758, allocations: 4.249 MB / 0.6115 GB, free: 8.316 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.7585, allocations: 0.7813 MB / 0.6122 GB, free: 7.508 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0009449/0.7594, allocations: 188.3 kB / 0.6124 GB, free: 7.324 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004236/0.7598, allocations: 127.4 kB / 0.6125 GB, free: 7.199 MB / 478.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7598, allocations: 4 kB / 0.6125 GB, free: 7.195 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/0.8212, allocations: 20.35 MB / 0.6324 GB, free: 2.965 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.66, allocations: 6.406 kB / 0.6324 GB, free: 2.965 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 & 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: 17.10337410401553] Failed to read output from testmodel.py, exit status != 0: ['time', 'medium1.T', 'medium1.p', 'medium2.T', 'medium2.p'] 14.77099952287972 14.786674980999999 14.09443192 Calling exit ...